/* A Liga dos Corretores — experiência web V2
 * Visual portado da prévia "Liga dos Corretores" (liga-ref.css traz as regras originais, escopo #liga-studio).
 * Esta folha complementa a referência: tokens, primitivos .v2-*, cabeçalho em <a>, páginas e ajustes locais.
 * Tokens homologados (compat): #F8F7F3 #FFFFFF #302B23 #6F675C #EAE4D8 #F6F0E2 #806022 #6F511B #FAF3E2 #A04132
 */

/* Re-tinta o design system legado (style.css) para a paleta branca e dourada da Liga.
   Só vale em páginas que carregam esta folha (as views V2). */
:root {
  --brand-1: #806022;
  --brand-2: #946e27;
  --brand-700: #6f511b;
  --brand-50: rgba(148, 110, 39, 0.08);
  --brand-100: rgba(148, 110, 39, 0.16);
  --grad: #806022;
  --ink: #302b23;
  --text: #302b23;
  --muted: #807668;
  --faint: #aaa08b;
  --bg: #fafafc;
  --surface: #ffffff;
  --surface-2: #f6f0e2;
  --border: #eae4d8;
  --border-strong: #e3d5b3;
  --neon-edge: #a27a2c;
  --neon-glow-1: rgba(162, 122, 44, 0.22);
  --neon-glow-2: rgba(162, 122, 44, 0.1);
  --success: #487052;
  --success-bg: #eef3ea;
  --success-bd: #cfdcc9;
  --warning: #91401b;
  --warning-bg: #fff0e5;
  --warning-bd: #f3d9c4;
  --danger: #a14031;
  --danger-bg: #fbf1ee;
  --danger-bd: #ecd3cc;
  --info: #806022;
  --info-bg: #faf3e2;
  --star: #c5a352;
  --erro-bg: var(--danger-bg);
  --erro-border: var(--danger-bd);
  --erro-ink: #a14031;
  --r-sm: 9px;
  --r-md: 12px;
  --r-lg: 15px;
  --r-xl: 22px;
  --radius: 15px;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 4px 14px #382b0f04;
  --sh-brand: none;
  --shadow: var(--sh-3);
}

body.liga-v2 {
  --v2-bg: #fafafc;
  --v2-surface: #ffffff;
  --v2-text: #302b23;
  --v2-muted: #807668;
  --v2-border: #eae4d8;
  --v2-soft: #f6f0e2;
  --v2-gold: #806022;
  --v2-gold-strong: #6f511b;
  --v2-gold-soft: #faf3e2;
  --v2-danger: #a14031;
  --v2-success: #487052;
  --v2-shadow-sm: none;
  --v2-shadow-md: 0 15px 40px #001a121c;
  --v2-radius-sm: 9px;
  --v2-radius-md: 15px;
  --v2-radius-lg: 22px;
  --v2-content: 1340px;
  --v2-font: var(--liga-font);
  --v2-font-display: var(--liga-font);
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: var(--v2-bg);
  color: var(--v2-text);
  font-family: var(--v2-font);
  font-size: 15px;
  font-weight: 430;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

#liga-studio {
  color-scheme: light;
}

#liga-studio.liga-v2 { background: var(--v2-bg); }

.liga-v2,
.liga-v2 *,
.liga-v2 *::before,
.liga-v2 *::after {
  box-sizing: border-box;
}

.liga-v2 img,
.liga-v2 video {
  display: block;
  max-width: 100%;
}

.liga-v2 .logo-tema-claro {
  display: block !important;
}

.liga-v2 .logo-tema-escuro {
  display: none !important;
}

.liga-v2 button,
.liga-v2 input,
.liga-v2 select,
.liga-v2 textarea {
  font: inherit;
}

#liga-studio h1,
#liga-studio h2,
#liga-studio h3,
#liga-studio h4 {
  color: var(--l-ink);
  font-family: var(--v2-font-display);
}

#liga-studio h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.3px;
  margin: 0;
}

.liga-v2 a {
  color: #946e27;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.liga-v2 p {
  margin-top: 0;
}

.liga-v2 a:focus-visible,
.liga-v2 summary:focus-visible,
.liga-v2 [tabindex]:focus-visible {
  outline: 2px solid var(--l-gold);
  outline-offset: 3px;
}

.liga-v2 [hidden] {
  display: none !important;
}

.liga-v2 ::selection {
  background: #f1e8d1;
  color: #5f4718;
}

.liga-v2 .v2-sr-only,
.liga-v2 .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;
}

.liga-v2 .muted {
  color: var(--v2-muted);
}

/* Marca (símbolo da Liga + wordmark, como na prévia) */
.liga-v2 .v2-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--v2-text);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.liga-v2 .v2-brand-mark {
  display: flex;
  width: 37px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #ad8535;
  font-family: var(--liga-font);
  font-size: 37px;
  font-weight: 400;
}

.liga-v2 .v2-brand-name {
  display: block;
  font-size: 16px;
  letter-spacing: -.3px;
}

.liga-v2 .v2-brand-name small {
  display: none;
}

.liga-v2 .v2-brand--compact .v2-brand-mark {
  width: 32px;
  height: 34px;
  font-size: 31px;
}

/* Primitivos */
.liga-v2 .v2-page-container {
  width: min(100% - 2rem, var(--v2-content));
  margin-inline: auto;
}

.liga-v2 .v2-page-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

#liga-studio .v2-page-eyebrow,
#liga-studio .l-dash-eyebrow {
  margin: 0 0 8px;
  color: #9a7d40;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.65px;
  text-transform: uppercase;
}

#liga-studio .v2-page-title {
  margin: 0 0 8px;
  color: var(--l-ink);
  font-family: var(--v2-font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.1px;
}

#liga-studio .v2-page-title em,
#liga-studio .v2-page-title span.dot {
  font-style: normal;
  color: #b79246;
}

#liga-studio .v2-page-description {
  margin: 0;
  max-width: 640px;
  color: #706a5e;
  font-size: 15px;
  line-height: 1.65;
}

#liga-studio .v2-card {
  border: 1px solid var(--l-line);
  border-radius: var(--l-radius);
  background: var(--l-paper);
  box-shadow: none;
}

.liga-v2 .v2-card--padded {
  padding: 24px;
}

.liga-v2 .v2-divider {
  height: 1px;
  margin-block: 20px;
  border: 0;
  background: var(--v2-border);
}

.liga-v2 .v2-stack {
  display: grid;
  gap: 16px;
}

.liga-v2 .v2-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.liga-v2 .v2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
}

/* Controles (campos no padrão da tela de entrada da Liga) */
.liga-v2 .v2-field {
  display: grid;
  gap: 6px;
}

.liga-v2 .v2-field label,
.liga-v2 .v2-label,
#liga-studio .campo label,
#liga-studio .campo-label-row label {
  color: var(--l-ink);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
}

#liga-studio input:where(:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"])),
#liga-studio select,
#liga-studio textarea {
  width: 100%;
  min-height: 47px;
  border: 1px solid #e3e0d8;
  border-radius: 9px;
  background: #fafaf8;
  color: var(--l-ink);
  padding: 12px 14px;
  font-size: 15px;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

#liga-studio textarea {
  min-height: 116px;
  resize: vertical;
}

#liga-studio input::placeholder,
#liga-studio textarea::placeholder {
  color: #9b9388;
}

#liga-studio input:where(:not([type="checkbox"]):not([type="radio"])):focus,
#liga-studio select:focus,
#liga-studio textarea:focus {
  border-color: #ad8940;
  background: #fff;
  box-shadow: 0 0 0 3px #b3965c18;
  outline: none;
}

#liga-studio input[aria-invalid="true"],
#liga-studio textarea[aria-invalid="true"] {
  border-color: #ac4b39;
}

#liga-studio input[type="checkbox"],
#liga-studio input[type="radio"] {
  width: 19px;
  height: 19px;
  accent-color: #96732f;
  flex-shrink: 0;
}

.liga-v2 .v2-hint,
#liga-studio .hint {
  color: #8b8170;
  font-size: 12px;
  line-height: 1.6;
}

.liga-v2 .v2-error,
#liga-studio .erro-campo {
  color: #a14031;
  font-size: 12px;
}

/* Botões */
#liga-studio .v2-button,
#liga-studio button.v2-button,
#liga-studio a.v2-button,
#liga-studio .btn-primario,
#liga-studio .btn-entrar,
#liga-studio .cd-cta,
#liga-studio .pri {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #927332;
  border-radius: 9px;
  padding: 11px 15px;
  background: linear-gradient(120deg, #a2823e, #8f6d2e);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 13px #94743719;
  transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}

#liga-studio .v2-button:hover,
#liga-studio .btn-primario:hover,
#liga-studio .btn-entrar:hover,
#liga-studio .cd-cta:hover,
#liga-studio .pri:hover {
  background: #86642b;
  box-shadow: 0 6px 16px #9474372e;
}

#liga-studio .v2-button:active,
#liga-studio .btn-primario:active {
  transform: translateY(1px);
}

#liga-studio .v2-button:disabled,
#liga-studio .btn-primario:disabled {
  opacity: .55;
  cursor: default;
  box-shadow: none;
}

#liga-studio .v2-button--secondary,
#liga-studio .btn-acao,
#liga-studio .btn-voltar,
#liga-studio .btn-mini,
#liga-studio .cat-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dfd2b6;
  border-radius: 9px;
  padding: 10px 15px;
  background: #fff;
  color: #826b3a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
}

#liga-studio .v2-button--secondary:hover,
#liga-studio .btn-acao:hover,
#liga-studio .btn-voltar:hover,
#liga-studio .btn-mini:hover,
#liga-studio .cat-btn:hover {
  background: #faf5e9;
  box-shadow: none;
}

#liga-studio .v2-button--danger {
  border-color: #e9d5cf;
  background: #fff;
  color: #a14031;
  box-shadow: none;
}

#liga-studio .v2-button--danger:hover {
  background: #fbf1ee;
  box-shadow: none;
}

#liga-studio .v2-button--quiet,
#liga-studio .btn-link {
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  color: #946e27;
  font-size: 13px;
  font-weight: 650;
  box-shadow: none;
}

#liga-studio .v2-button--quiet:hover,
#liga-studio .btn-link:hover {
  background: none;
  color: #6f511b;
  box-shadow: none;
}

#liga-studio .btn-link-perigo {
  color: #a14031;
}

#liga-studio .v2-icon-button {
  display: inline-flex;
  width: 34px;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--l-muted);
  cursor: pointer;
  padding: 0;
}

#liga-studio .v2-icon-button:hover {
  background: var(--l-soft);
  color: var(--l-green);
}

#liga-studio .v2-badge,
#liga-studio .tag,
#liga-studio .curso-status,
#liga-studio .status-badge {
  display: inline-flex;
  min-height: 0;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 3px 7px;
  background: var(--l-gold-soft);
  color: var(--l-gold);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
}

#liga-studio .v2-badge--soft {
  background: var(--l-soft);
  color: var(--l-green);
}

#liga-studio .v2-pill,
#liga-studio .cx-pill {
  display: inline-flex;
  align-self: start;
  border-radius: 99px;
  padding: 7px 12px;
  background: #f4ecdc;
  color: #725422;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

/* Estados */
#liga-studio .v2-state,
#liga-studio .estado-vazio,
#liga-studio .vazio {
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px dashed #ddcfaf;
  border-radius: 20px;
  padding: 34px 22px;
  background: #fffcf6;
  color: var(--l-muted);
  text-align: center;
}

#liga-studio .v2-state > svg,
#liga-studio .estado-vazio > svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 14px;
  background: #f5ecd4;
  color: #8b6c2d;
}

#liga-studio .v2-state h2,
#liga-studio .v2-state h3,
#liga-studio .estado-vazio h3 {
  margin: 0;
  color: var(--l-ink);
  font-family: var(--v2-font-display);
  font-size: 17px;
  font-weight: 750;
}

#liga-studio .v2-state p,
#liga-studio .estado-vazio p {
  max-width: 52ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

#liga-studio .v2-state--danger {
  border-color: #ecd3cc;
  background: #fbf1ee;
}

#liga-studio .v2-alert,
#liga-studio .aviso-box,
#liga-studio .alerta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  background: #faf6ed;
  color: #746347;
  font-size: 13px;
  line-height: 1.7;
}

#liga-studio .v2-alert svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

#liga-studio .v2-alert--danger {
  background: #fbf1ee;
  color: #a14031;
}

.liga-v2 .v2-skeleton {
  min-height: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--v2-soft) 25%, #fff 50%, var(--v2-soft) 75%);
  background-size: 200% 100%;
  animation: v2-shimmer 1.6s ease-in-out infinite;
}

@keyframes v2-shimmer {
  to { background-position-x: -200%; }
}

/* Estruturas de página */
.liga-v2 .v2-entry-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(320px, 0.95fr) minmax(440px, 1.05fr);
}

.liga-v2 .v2-shell-layout {
  display: grid;
  width: 100%;
  max-width: 1440px;
  margin: auto;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 38px;
  padding: 44px 28px;
}

.liga-v2 .v2-shell-main,
.liga-v2 .v2-shell-rail {
  min-width: 0;
}

@media (max-width: 1024px) {
  .liga-v2 .v2-shell-layout {
    grid-template-columns: minmax(0, 1fr);
    padding: 34px 22px;
  }

  .liga-v2 .v2-shell-rail {
    order: 2;
  }
}

@media (max-width: 620px) {
  body.liga-v2 {
    font-size: 15px;
  }

  .liga-v2 .v2-page-container {
    width: min(100% - 1.5rem, var(--v2-content));
  }

  .liga-v2 .v2-shell-layout {
    padding: 20px 12px;
  }

  .liga-v2 .v2-entry-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  #liga-studio .v2-page-title {
    font-size: 27px;
    letter-spacing: -.8px;
  }

  .liga-v2 .v2-button--mobile-full {
    width: 100%;
  }

  #liga-studio input:where(:not([type="checkbox"]):not([type="radio"])),
  #liga-studio select,
  #liga-studio textarea {
    font-size: 16px;
  }
}


/* Comunidade — feed, publicação, comentários, enquete e barra lateral no visual da Liga.
   As regras .l-* vêm de liga-ref.css; aqui ficam os equivalentes para <a>/<label> e os ganchos .com-* do JS. */
#liga-studio .l-layout.v2-community-layout {
  display: grid;
}

#liga-studio .l-sidenav a,
#liga-studio .l-sidenav .com-espaco-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  padding: 10px 12px;
  text-align: left;
  border-radius: 9px;
  color: var(--l-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  min-height: 43px;
  text-decoration: none;
}

#liga-studio .l-sidenav a:hover {
  background: var(--l-soft);
}

#liga-studio .l-sidenav a.selected,
#liga-studio .l-sidenav a[aria-current="page"] {
  background: #f4efdf;
  color: #856626;
  font-weight: 700;
}

#liga-studio .l-sidenav a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

#liga-studio .l-sidenav-hash {
  display: inline-flex;
  width: 16px;
  justify-content: center;
  color: #aaa08b;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

#liga-studio .l-sidenav a .l-count {
  margin-left: auto;
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--l-gold);
  border-radius: 99px;
  color: #fff;
  font-weight: 700;
}

#liga-studio .l-feed-head .l-button {
  flex-shrink: 0;
  margin-top: 4px;
}

#liga-studio .com-seguir-btn.seguindo {
  background: #f6eedc;
  border-color: #a98338;
  color: #805d18;
}

#liga-studio .com-seguir-btn svg {
  color: var(--l-gold);
}

/* Composer */
#liga-studio .l-composer-card {
  padding: 22px;
  margin-bottom: 25px;
  border: 1px solid #e8e7e3;
  overflow: visible;
}

#liga-studio a.l-composer-trigger {
  display: block;
  text-decoration: none;
}

#liga-studio .l-compose-actions a,
#liga-studio .l-compose-actions label {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid #e6e6e9;
  border-radius: 22px;
  font-size: 13px;
  padding: 6px 11px;
  min-height: 33px;
  color: var(--l-muted);
  cursor: pointer;
  text-decoration: none;
  font-weight: 430;
}

#liga-studio .l-compose-actions button:hover,
#liga-studio .l-compose-actions a:hover,
#liga-studio .l-compose-actions label:hover {
  border-color: #ceba8c;
  background: #fbf7ed;
}

#liga-studio .l-compose-actions > :nth-child(2) .l-type-dot { background: #c5a352; }
#liga-studio .l-compose-actions > :nth-child(3) .l-type-dot { background: #82795f; }
#liga-studio .l-compose-actions > :nth-child(4) .l-type-dot { background: #a87139; }
#liga-studio .l-compose-actions > :nth-child(5) .l-type-dot { background: #9f8b6b; }

#liga-studio .l-composer-card:not(.is-open) .l-compose-panel {
  display: none;
}

#liga-studio .l-compose-panel .l-field {
  margin: 0;
}

#liga-studio .l-compose-panel .l-field-label:first-of-type {
  margin-top: 4px;
}

#liga-studio .com-enquete-editor,
#liga-studio .com-link-editor {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed #e3d5b3;
  border-radius: 12px;
  background: #fffcf6;
}

#liga-studio .com-enquete-editor .l-field-label,
#liga-studio .com-link-editor .l-field-label {
  margin: 0;
}

#liga-studio .com-enquete-add {
  justify-self: start;
  font-size: 13px;
}

#liga-studio .l-compose-footer .l-note {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#liga-studio .com-composer-dica .l-note {
  margin-top: 14px;
}

/* Post */
#liga-studio .com-post .l-avatar,
#liga-studio .com-comentario .l-avatar {
  overflow: hidden;
}

#liga-studio .com-post .l-post-meta .com-post-tempo::before {
  content: '·';
  margin-right: 6px;
  color: #b7ad9c;
}

#liga-studio .cx-person-link {
  color: inherit;
  text-decoration: none;
}

#liga-studio .cx-person-link:hover {
  color: #946e27;
}

#liga-studio .l-post-head .com-post-fixado {
  align-self: flex-start;
}

#liga-studio .com-post-corpo {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#liga-studio .com-post-corpo.expandido,
#liga-studio .com-post.expandido .com-post-corpo {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

#liga-studio .l-post-body .l-read-more {
  display: block;
}

#liga-studio .com-post-img {
  width: 100%;
  object-fit: contain;
}

#liga-studio .com-post-video {
  position: relative;
  display: block;
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--l-ink);
  min-height: 180px;
  cursor: pointer;
}

#liga-studio .com-post-video img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  opacity: .9;
}

#liga-studio .com-post-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffffd9;
  color: #806022;
  display: flex;
  align-items: center;
  justify-content: center;
}

#liga-studio .com-post-video-play svg {
  width: 22px;
  height: 22px;
}

#liga-studio .com-post-video-titulo {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 2px #0008;
}

#liga-studio .com-post-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

#liga-studio .com-post-anexo,
#liga-studio .com-post-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 14px;
  border: 1px solid var(--l-line);
  border-radius: 9px;
  padding: 10px 12px;
  color: #946e27;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

#liga-studio .com-post-anexo:hover,
#liga-studio .com-post-link:hover {
  background: #fbf7ed;
  border-color: #ceba8c;
}

#liga-studio .com-post-anexo svg,
#liga-studio .com-post-link svg {
  flex-shrink: 0;
  color: #9a7d40;
}

/* Enquete (l-poll) */
#liga-studio .l-poll .com-enquete-opcao {
  cursor: pointer;
}

#liga-studio .l-poll .com-enquete-opcao svg {
  position: relative;
  color: #b7ad9c;
}

#liga-studio .l-poll .com-enquete-opcao.minha,
#liga-studio .l-poll .com-enquete-opcao[aria-pressed="true"] {
  border-color: var(--l-green);
  color: var(--l-green);
}

#liga-studio .l-poll .com-enquete-pct {
  position: relative;
  font-weight: 650;
  white-space: nowrap;
}

#liga-studio .l-poll .com-enquete-total {
  display: block;
  margin-top: 2px;
}

/* Reações e ações */
#liga-studio .l-reaction.com-curtir.curtido {
  background: #f6eedc;
  border-color: #a98338;
  color: #805d18;
}

#liga-studio .l-reaction.com-curtir.curtido svg,
#liga-studio .l-reaction.com-curtir.curtido strong {
  color: #805d18;
}

#liga-studio .l-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 20px;
}

#liga-studio .l-post-actions button {
  flex: 1 1 auto;
  min-height: 40px;
  cursor: pointer;
}

#liga-studio .l-post-actions .com-mod {
  flex: 0 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}

#liga-studio .l-post-actions .com-fixar.ativo {
  background: var(--l-soft);
  color: var(--l-green);
}

/* Comentários (l-answer) */
#liga-studio .com-comentarios-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

#liga-studio .com-comentarios-lista:empty {
  display: none;
}

#liga-studio .com-comentario-autor {
  font-size: 12px;
  font-weight: 700;
  color: var(--l-ink);
}

#liga-studio .com-comentario-texto {
  display: block;
  font-size: 13px;
  color: #716b60;
  line-height: 1.75;
  margin: 6px 0 4px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#liga-studio .com-comentario-tempo {
  font-size: 11px;
  color: var(--l-muted);
}

#liga-studio .com-comentario-acoes {
  display: flex;
  gap: 2px;
  margin-top: 6px;
  margin-left: -6px;
}

#liga-studio .com-comentario-acoes .com-acao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #a39b8c;
  cursor: pointer;
  padding: 0;
}

#liga-studio .com-comentario-acoes .com-acao:hover {
  background: var(--l-soft);
  color: var(--l-green);
}

#liga-studio .com-comentario-acoes .com-acao svg {
  width: 13px;
  height: 13px;
}

#liga-studio .l-comment-input .l-button {
  padding: 9px;
  min-height: 0;
}

#liga-studio .l-comment-input input:not(.l-field) {
  min-height: 0;
  background: var(--l-paper);
  font-size: 12px;
  padding: 10px 11px;
  border: 1px solid var(--l-line);
  border-radius: 8px;
}

/* Formulários inline do JS (denúncia / edição) */
#liga-studio .den-form,
#liga-studio .com-editar-form {
  display: grid;
  gap: 8px;
  margin: 12px 24px 0;
  padding: 14px;
  border: 1px solid var(--l-line);
  border-radius: 12px;
  background: #fdfcfa;
}

#liga-studio .den-label {
  font-size: 12px;
  color: var(--l-muted);
}

/* Barra lateral direita */
#liga-studio .com-ranking-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

#liga-studio .l-rank-row {
  gap: 10px;
}

#liga-studio .com-eventos {
  margin-top: 22px;
}

#liga-studio .com-eventos-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

#liga-studio .com-evento-item {
  display: grid;
  gap: 2px;
  border-left: 2px solid var(--l-gold);
  padding-left: 10px;
  color: var(--l-ink);
  font-size: 12px;
  text-decoration: none;
}

#liga-studio .com-evento-item:hover .com-evento-titulo {
  color: #946e27;
}

#liga-studio .com-evento-quando {
  font-size: 11px;
  font-weight: 650;
  color: #9a7d40;
  letter-spacing: .3px;
}

#liga-studio .com-evento-titulo {
  font-weight: 650;
}

#liga-studio .com-evento-sub {
  color: var(--l-muted);
  font-size: 11px;
}

#liga-studio .com-eventos .l-textbtn {
  display: inline-block;
  margin-top: 12px;
}

#liga-studio .com-desafio .l-progress {
  margin: 12px 0 6px;
}

#liga-studio .com-desafio-head {
  margin-top: 10px;
  font-size: 13px;
}

/* Perfil público */
#liga-studio .v2-community-profile,
#liga-studio .perfil-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 620px) {
  #liga-studio .l-sidenav a,
  #liga-studio .l-sidenav .com-espaco-item {
    width: auto;
    font-size: 12px;
    padding: 9px;
    min-height: 0;
  }

  #liga-studio .l-post-actions .com-mod span {
    display: none;
  }
}

/* Conversas */
.liga-v2 .v2-chat-layout {
  display: grid;
  height: min(760px, calc(100vh - 130px));
  min-height: 560px;
  overflow: hidden;
  grid-template-columns: 270px minmax(0, 1fr);
}

.liga-v2 .chat-lista {
  display: grid;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid var(--v2-border);
  grid-template-rows: auto auto minmax(0, 1fr);
  background: #fbfaf7;
}

.liga-v2 .chat-lista-head {
  display: grid;
  gap: 0.75rem;
  border-bottom: 1px solid var(--v2-border);
  padding: 1rem;
}

.liga-v2 .chat-lista-titulo h1 {
  margin: 0;
  font-family: var(--liga-font);
  font-size: 1.55rem;
  font-weight: 500;
}

.liga-v2 .chat-acoes {
  display: flex;
  gap: 0.4rem;
}

.liga-v2 .chat-nova-btn {
  display: inline-flex;
  min-height: 44px;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid var(--v2-border);
  border-radius: 9px;
  background: #fff;
  color: var(--v2-text);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 750;
}

.liga-v2 .chat-nova-btn svg {
  width: 16px;
  height: 16px;
}

.liga-v2 .chat-contatos {
  border-bottom: 1px solid var(--v2-border);
  padding: 0.75rem;
  background: #fff;
}

.liga-v2 .chat-contatos-lista,
.liga-v2 .chat-conversas {
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.liga-v2 .chat-conversa,
.liga-v2 .chat-contato-btn,
.liga-v2 .chat-contato-lbl {
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  border-bottom: 1px solid var(--v2-border);
  padding: 0.7rem 0.85rem;
  background: transparent;
  color: var(--v2-text);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.liga-v2 .chat-conversa:hover,
.liga-v2 .chat-conversa.ativa {
  background: var(--v2-gold-soft);
}

.liga-v2 .chat-conversa-corpo {
  display: grid;
  min-width: 0;
  flex: 1;
}

.liga-v2 .chat-conversa-topo {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.liga-v2 .chat-conversa-nome {
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.liga-v2 .chat-conversa-tempo,
.liga-v2 .chat-conversa-previa,
.liga-v2 .chat-thread-sub {
  overflow: hidden;
  color: var(--v2-muted);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.liga-v2 .chat-badge {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 99px;
  background: var(--v2-gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.liga-v2 .chat-thread {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--v2-surface);
}

.liga-v2 .chat-thread-head {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--v2-border);
  padding: 0.8rem 1rem;
}

.liga-v2 .chat-thread-meta {
  display: grid;
  min-width: 0;
}

.liga-v2 .chat-voltar-mob {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--v2-text);
}

.liga-v2 .chat-voltar-mob svg {
  width: 20px;
}

.liga-v2 .chat-msgs,
.liga-v2 .chat-mensagens {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 0.55rem;
  overflow-y: auto;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(148, 110, 39, 0.04), transparent 26%),
    var(--v2-bg);
}

.liga-v2 .v2-chat-message {
  display: flex;
  max-width: min(78%, 620px);
  align-items: flex-end;
  gap: 0.45rem;
  align-self: flex-start;
}

.liga-v2 .v2-chat-message.meu {
  align-self: flex-end;
}

.liga-v2 .chat-msg-av {
  width: 30px;
  height: 30px;
}

.liga-v2 .chat-bolha {
  display: grid;
  gap: 0.2rem;
  border: 1px solid var(--v2-border);
  border-radius: 15px 15px 15px 4px;
  padding: 0.62rem 0.75rem;
  background: #fff;
  box-shadow: 0 3px 12px rgba(48, 43, 35, 0.04);
}

.liga-v2 .v2-chat-message.meu .chat-bolha {
  border-color: #dbc998;
  border-radius: 15px 15px 4px;
  background: var(--v2-gold-soft);
}

.liga-v2 .chat-msg-autor {
  color: var(--v2-gold-strong);
  font-size: 0.7rem;
  font-weight: 800;
}

.liga-v2 .chat-msg-texto {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.liga-v2 .chat-msg-tempo {
  justify-self: end;
  color: var(--v2-muted);
  font-size: 0.64rem;
}

.liga-v2 .chat-form {
  display: flex;
  gap: 0.6rem;
  border-top: 1px solid var(--v2-border);
  padding: 0.8rem;
  background: #fff;
}

.liga-v2 .chat-form .chat-input {
  border-radius: 999px;
  background: var(--v2-bg);
}

.liga-v2 .chat-enviar {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: var(--v2-gold);
  color: #fff;
  cursor: pointer;
  font-weight: 750;
}

.liga-v2 .chat-modal-card {
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  background: #fff;
  box-shadow: var(--v2-shadow-md);
}

/* Agenda */
.liga-v2.v2-agenda-page .painel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.liga-v2.v2-agenda-page .painel-head h1 {
  margin: 0;
  font-family: var(--liga-font);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.liga-v2 .v2-agenda-menu .agenda-opcao {
  display: grid;
  min-height: 210px;
  align-content: space-between;
  gap: 1.5rem;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--v2-surface);
  color: var(--v2-text);
  box-shadow: var(--v2-shadow-sm);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.liga-v2 .v2-agenda-menu .agenda-opcao:hover {
  border-color: rgba(148, 110, 39, 0.35);
  box-shadow: var(--v2-shadow-md);
  transform: translateY(-2px);
}

.liga-v2 .agenda-opcao-bloqueada {
  cursor: not-allowed;
  opacity: 0.52;
}

.liga-v2 .agenda-opcao-ic {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: var(--v2-gold-soft);
  color: var(--v2-gold);
}

.liga-v2 .agenda-opcao-ic svg {
  width: 26px;
  height: 26px;
}

.liga-v2 .agenda-opcao-texto {
  display: grid;
  gap: 0.35rem;
}

.liga-v2 .agenda-opcao-texto strong {
  font-family: var(--liga-font);
  font-size: 1.4rem;
  font-weight: 500;
}

.liga-v2 .agenda-opcao-texto small {
  color: var(--v2-muted);
}

.liga-v2 .v2-agenda-calendar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
}

.liga-v2 .v2-agenda-calendar p {
  margin: 0;
}

.liga-v2 .agenda-lista {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.liga-v2 .agenda-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
}

.liga-v2 .agenda-card.l-live-card {
  padding: 0;
}

.liga-v2 .agenda-card:not(:has(.agenda-imagem)) {
  grid-template-columns: minmax(0, 1fr);
}

.liga-v2 .agenda-imagem {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.liga-v2 .agenda-card-corpo {
  display: grid;
  gap: 0.65rem;
  padding: 1.2rem;
}

.liga-v2 .agenda-quando {
  color: var(--v2-gold-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.liga-v2 .agenda-titulo {
  margin: 0;
  font-family: var(--liga-font);
  font-size: 1.35rem;
}

.liga-v2 .agenda-instrutor,
.liga-v2 .agenda-desc {
  margin: 0;
  color: var(--v2-muted);
}

.liga-v2 .agenda-rsvp-botoes,
.liga-v2 .agenda-reuniao-acoes,
.liga-v2 .painel-head-acoes,
.liga-v2 .rotina-card-acoes,
.liga-v2 .dialog-acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.liga-v2 .agenda-rsvp-btn {
  min-height: 44px;
  border: 1px solid var(--v2-border);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: #fff;
  color: var(--v2-text);
  cursor: pointer;
}

.liga-v2 .agenda-rsvp-btn.ativa {
  border-color: var(--v2-gold);
  background: var(--v2-gold-soft);
  color: var(--v2-gold-strong);
}

.liga-v2.v2-agenda-page .bloco-config {
  margin-bottom: 1rem;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  padding: 1rem;
  background: #fff;
  box-shadow: var(--v2-shadow-sm);
}

.liga-v2 .rotina-mes-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.liga-v2 .rotina-grade-cabecalho,
.liga-v2 .rotina-grade-dias {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.liga-v2 .rotina-grade-cabecalho span {
  padding: 0.5rem;
  color: var(--v2-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.liga-v2 .rotina-dia {
  position: relative;
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid var(--v2-border);
  color: var(--v2-text);
  text-decoration: none;
}

.liga-v2 .rotina-dia-link:hover,
.liga-v2 .rotina-dia-selecionado {
  background: var(--v2-gold-soft);
  color: var(--v2-gold-strong);
}

.liga-v2 .rotina-dia-hoje .rotina-dia-numero {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--v2-gold);
  color: #fff;
}

.liga-v2 .rotina-dia-ponto {
  position: absolute;
  bottom: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--v2-gold);
}

.liga-v2 .rotina-card {
  display: grid;
  align-items: start;
  gap: 1rem;
  border-top: 1px solid var(--v2-border);
  padding: 1rem 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.liga-v2 .rotina-card-hora {
  color: var(--v2-gold-strong);
  font-weight: 800;
}

.liga-v2 #dialog-rotina {
  width: min(100% - 2rem, 620px);
  max-height: min(90vh, 760px);
  overflow-y: auto;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  padding: 1.5rem;
  background: #fff;
  color: var(--v2-text);
  box-shadow: var(--v2-shadow-md);
}

.liga-v2 #dialog-rotina::backdrop {
  background: rgba(48, 43, 35, 0.45);
}

.liga-v2 #form-rotina {
  display: grid;
  gap: 0.85rem;
}

.liga-v2 #form-rotina .campo {
  display: grid;
  gap: 0.35rem;
}

/* Sala de encontro */
.liga-v2.v2-meeting-page {
  --reuniao-canvas: #f8f7f3;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: var(--reuniao-canvas);
  color: var(--v2-text);
}

.liga-v2.v2-meeting-page .reuniao-topo,
.liga-v2.v2-meeting-page .reuniao-controles {
  border-color: var(--v2-border);
  background: var(--v2-surface);
}

#liga-studio.liga-v2.v2-meeting-page,
#liga-studio.liga-v2.v2-meeting-page .reuniao-titulo {
  color: var(--v2-text);
}

#liga-studio.liga-v2.v2-meeting-page {
  background: var(--reuniao-canvas);
}

.liga-v2.v2-meeting-page .reuniao-titulo {
  font-family: var(--liga-font);
}

.liga-v2.v2-meeting-page .reuniao-main {
  min-height: 0;
}

.liga-v2.v2-meeting-page .reuniao-sair-link,
.liga-v2.v2-meeting-page .reuniao-painel-fechar,
.liga-v2.v2-meeting-page .reuniao-aba {
  color: var(--v2-text);
}

.liga-v2.v2-meeting-page .reuniao-painel,
.liga-v2.v2-meeting-page .reuniao-painel-abas,
.liga-v2.v2-meeting-page .reuniao-chat-form,
.liga-v2.v2-meeting-page .reuniao-participante-item {
  border-color: var(--v2-border);
}

.liga-v2.v2-meeting-page .reuniao-painel {
  background: var(--v2-surface);
}

.liga-v2.v2-meeting-page .reuniao-painel[hidden],
.liga-v2.v2-meeting-page .reuniao-painel-conteudo[hidden] {
  display: none;
}

.liga-v2.v2-meeting-page .reuniao-aba.ativa,
.liga-v2.v2-meeting-page .reuniao-chat-msg strong {
  color: var(--v2-gold-strong);
}

.liga-v2.v2-meeting-page .reuniao-aba.ativa {
  box-shadow: inset 0 -2px 0 var(--v2-gold);
}

.liga-v2.v2-meeting-page .reuniao-chat-input {
  background: var(--v2-surface);
  border-color: var(--v2-border);
  color: var(--v2-text);
}

.liga-v2.v2-meeting-page .reuniao-chat-input::placeholder {
  color: var(--v2-muted);
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-controle {
  background: var(--v2-soft);
  color: var(--v2-text);
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-controle:hover,
#liga-studio.liga-v2.v2-meeting-page .reuniao-controle.ativo {
  background: var(--v2-gold-soft);
  color: var(--v2-gold-strong);
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-sair,
#liga-studio.liga-v2.v2-meeting-page .reuniao-sair:hover {
  background: var(--v2-danger);
  color: #fff;
}

.liga-v2.v2-meeting-page .reuniao-aviso {
  background: var(--danger-bg);
  border-color: var(--danger-bd);
  color: var(--v2-text);
}

.liga-v2.v2-meeting-page .reuniao-aviso-voltar {
  color: var(--v2-gold-strong);
}

.liga-v2.v2-meeting-page .reuniao-chat-erro {
  color: var(--v2-danger);
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-topo + .aviso-box {
  flex: none;
  background: var(--v2-gold-soft);
  color: var(--v2-text);
  border-color: var(--v2-border);
}

.liga-v2.v2-meeting-page .reuniao-aba:focus-visible,
.liga-v2.v2-meeting-page .reuniao-controle:focus-visible {
  outline-color: var(--v2-gold);
}

/* A imagem é o foco: o quadro usa a proporção real da câmera, sem barras laterais. */
#liga-studio.liga-v2.v2-meeting-page .reuniao-topo {
  min-height: 70px;
  padding: 10px 24px;
  gap: 14px;
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-marca { width: 36px; }

#liga-studio.liga-v2.v2-meeting-page .reuniao-titulo {
  margin: 0;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 700;
  line-height: 1.25;
}

.liga-v2.v2-meeting-page .reuniao-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-gravacao,
#liga-studio.liga-v2.v2-meeting-page .evento-selo-ao-vivo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-gravacao {
  color: var(--v2-danger);
  background: var(--danger-bg);
  border: 1px solid var(--danger-bd);
  font-weight: 650;
}

#liga-studio.liga-v2.v2-meeting-page .evento-selo-ao-vivo {
  color: #fff;
  background: var(--v2-danger);
}

.liga-v2.v2-meeting-page .reuniao-status-ponto {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}

.liga-v2.v2-meeting-page .evento-selo-ao-vivo .reuniao-status-ponto { background: #fff; }
.liga-v2.v2-meeting-page .reuniao-gravacao-curto { display: none; }

#liga-studio.liga-v2.v2-meeting-page .reuniao-main {
  flex: 1;
  min-height: 0;
  background: var(--reuniao-canvas);
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-video-grid {
  padding: 22px 28px 16px;
  gap: 12px;
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-video-grid.reuniao-grade-solo {
  display: flex;
  align-items: center;
  justify-content: center;
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-aguardando {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px;
  color: var(--v2-muted);
  text-align: center;
  pointer-events: none;
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-aguardando[hidden],
#liga-studio.liga-v2.v2-meeting-page .reuniao-controle[hidden] { display: none; }

#liga-studio.liga-v2.v2-meeting-page .reuniao-controle-midia .reuniao-media-corte {
  stroke: var(--v2-danger);
  stroke-width: 2.7;
  stroke-linecap: round;
  filter: drop-shadow(0 0 1px #fff);
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-controle-midia.ativo .reuniao-media-corte { display: none; }

#liga-studio.liga-v2.v2-meeting-page .reuniao-participante-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-mao-sinal {
  color: var(--v2-gold-strong);
  font-weight: 650;
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-palco-acao {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid var(--v2-border);
  border-radius: 8px;
  background: var(--v2-gold-soft);
  color: var(--v2-gold-strong);
  font: inherit;
  cursor: pointer;
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-palco-acao:disabled { opacity: .5; cursor: wait; }

#liga-studio.liga-v2.v2-meeting-page #reuniao-btn-participantes { position: relative; }

#liga-studio.liga-v2.v2-meeting-page .reuniao-maos-contador {
  position: absolute;
  top: 2px;
  right: 7px;
  min-width: 18px;
  height: 18px;
  padding: 2px 4px;
  border-radius: 999px;
  background: var(--v2-danger);
  color: #fff;
  font-size: 10px;
  line-height: 14px;
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-maos-contador[hidden] { display: none; }

#liga-studio.liga-v2.v2-meeting-page .reuniao-tile {
  background: #171717;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(48, 43, 35, .14);
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-tile-nome {
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(16, 16, 17, .78);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-controles {
  align-self: center;
  width: auto;
  margin: 0 12px 16px;
  padding: 7px;
  gap: 4px;
  border: 1px solid var(--v2-border);
  border-radius: 18px;
  background: var(--v2-surface);
  box-shadow: 0 10px 32px rgba(48, 43, 35, .1);
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-controle {
  width: 78px;
  height: 60px;
  flex: 0 0 78px;
  flex-direction: column;
  gap: 4px;
  border-radius: 12px;
  background: transparent;
  color: var(--v2-text);
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-controle.ativo,
#liga-studio.liga-v2.v2-meeting-page .reuniao-controle:hover {
  background: var(--v2-gold-soft);
  color: var(--v2-gold-strong);
}

#liga-studio.liga-v2.v2-meeting-page .reuniao-sair,
#liga-studio.liga-v2.v2-meeting-page .reuniao-sair:hover {
  width: auto;
  min-width: 96px;
  height: 48px;
  flex: 0 0 auto;
  flex-direction: row;
  padding: 0 14px;
  margin: 0 5px;
  border-radius: 12px;
  background: var(--v2-danger);
  color: #fff;
  font-size: 12px;
}

@media (max-width: 700px) {
  #liga-studio.liga-v2.v2-meeting-page,
  #liga-studio.liga-v2.v2-meeting-page .reuniao-main { background: #171717; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-topo { min-height: 58px; padding: 8px 12px; gap: 9px; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-marca { width: 30px; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-video-grid { padding: 8px; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-video-grid.reuniao-grade-solo { padding: 0; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-grade-solo .reuniao-tile { border-radius: 0; box-shadow: none; }
  .liga-v2.v2-meeting-page .reuniao-gravacao-texto { display: none; }
  .liga-v2.v2-meeting-page .reuniao-gravacao-curto { display: inline; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-controles { margin-bottom: 10px; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-controle { width: 54px; height: 50px; flex-basis: 54px; font-size: 10px; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-sair { min-width: 70px; height: 42px; padding: 0 9px; }
}

@media (max-width: 480px) {
  #liga-studio.liga-v2.v2-meeting-page .reuniao-status { gap: 4px; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-gravacao,
  #liga-studio.liga-v2.v2-meeting-page .evento-selo-ao-vivo { padding: 7px; font-size: 11px; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-gravacao-curto { display: inline; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-controles { padding: 5px; gap: 2px; max-width: calc(100% - 12px); }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-controle { width: 42px; height: 42px; flex-basis: 42px; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-controle > span { display: none; }
  #liga-studio.liga-v2.v2-meeting-page .reuniao-sair { width: 42px; min-width: 42px; height: 42px; padding: 0; margin: 0; }
}

@media (max-width: 760px) {
  .liga-v2 .v2-chat-layout {
    display: block;
    height: calc(100vh - 100px);
    min-height: 520px;
  }

  .liga-v2 .v2-chat-layout .chat-lista,
  .liga-v2 .v2-chat-layout .chat-thread {
    height: 100%;
  }

  .liga-v2 .v2-chat-layout.tem-conversa .chat-lista {
    display: none;
  }

  .liga-v2 .v2-chat-layout:not(.tem-conversa) .chat-thread {
    display: none;
  }

  .liga-v2 .chat-voltar-mob {
    display: grid;
  }

  .liga-v2 .agenda-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .liga-v2 .agenda-imagem {
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .liga-v2 .rotina-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .liga-v2 .v2-chat-message {
    max-width: 90%;
  }

  .liga-v2 .chat-form {
    gap: 0.35rem;
  }

  .liga-v2 .chat-enviar {
    padding-inline: 0.8rem;
  }

  .liga-v2 .rotina-dia {
    min-height: 44px;
    font-size: 0.78rem;
  }

  .liga-v2 .v2-agenda-calendar {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Shell autenticado — cabeçalho, busca, popover e página no padrão da Liga.
   As regras base de .l-header/.l-topnav/.l-iconbtn/.l-avatar/.l-popover vêm de liga-ref.css;
   aqui ficam os equivalentes para <a> e o contêiner de página. */
.liga-v2.v2-shell {
  background: var(--v2-bg);
}

#liga-studio .l-brand {
  color: var(--l-ink);
  text-decoration: none;
}

#liga-studio .l-topnav > a,
#liga-studio .l-topnav .l-courses-trigger {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  padding: 26px 0 23px;
  font-size: 14px;
  position: relative;
  color: var(--l-muted);
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

#liga-studio .l-topnav > a:hover,
#liga-studio .l-topnav .l-courses-trigger:hover {
  color: var(--l-ink);
}

#liga-studio .l-topnav > a[aria-current="page"],
#liga-studio .l-topnav .l-courses-trigger[aria-current="page"] {
  color: var(--l-green);
  font-weight: 700;
}

#liga-studio .l-topnav > a[aria-current="page"]:after,
#liga-studio .l-topnav .l-courses-trigger[aria-current="page"]:after {
  content: '';
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--l-green);
  border-radius: 4px 4px 0 0;
}

#liga-studio .l-topnav .l-courses-menu a {
  display: flex;
  width: 100%;
  text-align: left;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 7px;
  font-size: 13px;
  color: #736b5b;
  text-decoration: none;
  font-weight: 550;
}

#liga-studio .l-topnav .l-courses-menu a:hover,
#liga-studio .l-topnav .l-courses-menu a[aria-current="page"] {
  background: #f5eedc;
  color: #8b6c2e;
}

#liga-studio .l-topnav .l-courses-menu a svg {
  width: 16px;
  height: 16px;
  color: #9a7d40;
}

#liga-studio a.l-iconbtn {
  text-decoration: none;
}

#liga-studio .l-bell .notif-badge {
  position: absolute;
  top: 5px;
  right: 7px;
  width: 6px;
  height: 6px;
  min-width: 0;
  border-radius: 50%;
  background: var(--l-gold);
  border: 1px solid var(--l-paper);
  font-size: 0;
  padding: 0;
}

#liga-studio .l-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

#liga-studio button.l-avatar {
  cursor: pointer;
  padding: 0;
}

#liga-studio .l-search-field {
  margin: 0;
}

#liga-studio .l-search-field input,
#liga-studio .l-search-field input:focus {
  min-height: 0;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  font-size: 15px;
}

#liga-studio .l-popover {
  top: 74px;
  right: 24px;
}

#liga-studio .l-popover h3 {
  font-size: 15px;
}

#liga-studio .l-popover-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 16px 0 12px;
  border-top: 1px solid var(--l-line);
  padding-top: 12px;
}

#liga-studio .l-popover-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 8px;
  color: #736b5b;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
}

#liga-studio .l-popover-nav a:hover,
#liga-studio .l-popover-nav a[aria-current="page"] {
  background: #f5eedc;
  color: #8b6c2e;
}

#liga-studio .l-popover-nav a svg {
  width: 16px;
  height: 16px;
  color: #9a7d40;
}

#liga-studio .l-popover form .l-button {
  margin-top: 4px;
}

#liga-studio .l-app-footer {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 38px 20px;
}

/* Página (equivale às vistas de largura total da prévia) */
.liga-v2 .v2-page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 38px 38px 40px;
}

.liga-v2 .v2-page--narrow {
  max-width: 1160px;
}

#liga-studio .l-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}

#liga-studio .l-page-head h1 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -1.1px;
  line-height: 1.15;
  margin: 8px 0 8px;
}

#liga-studio .l-page-head h1 span.dot {
  color: #b79246;
}

#liga-studio .l-page-head p {
  max-width: 640px;
  color: #706a5e;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

#liga-studio .l-page-head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

#liga-studio .l-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin: 34px 0 18px;
}

#liga-studio .l-section-head h2 {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.6px;
  margin: 4px 0 0;
}

#liga-studio .l-section-head p {
  color: #706a5e;
  font-size: 14px;
  margin: 6px 0 0;
}

#liga-studio .l-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 0;
  color: #946e27;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

#liga-studio .l-text-link:hover {
  color: #6f511b;
}

#liga-studio .l-text-link svg {
  width: 14px;
  height: 14px;
}

#liga-studio .l-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #8d743f;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

#liga-studio .l-back:hover {
  color: #6f511b;
}

/* SweetAlert2 no visual da Liga */
.liga-swal {
  border-radius: 20px !important;
  font-family: var(--liga-font) !important;
  color: #302b23 !important;
  border: 1px solid #eae4d8;
}

.liga-swal .swal2-title,
.liga-swal-title {
  font-family: var(--liga-font) !important;
  font-size: 22px !important;
  font-weight: 750 !important;
  letter-spacing: -.5px;
  color: #302b23 !important;
}

.liga-swal .swal2-html-container {
  color: #706a5e !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.liga-swal .swal2-confirm.liga-swal-confirm {
  border-radius: 9px !important;
  font-weight: 650 !important;
  font-size: 13px !important;
  padding: 11px 18px !important;
  box-shadow: 0 5px 13px #94743719 !important;
}

.liga-swal .swal2-cancel.liga-swal-cancel {
  border: 1px solid #dfd2b6 !important;
  border-radius: 9px !important;
  color: #826b3a !important;
  font-weight: 650 !important;
  font-size: 13px !important;
  padding: 10px 16px !important;
}

@media (max-width: 1180px) {
  #liga-studio .l-topnav > a,
  #liga-studio .l-topnav .l-courses-trigger {
    font-size: 13px;
  }

  .liga-v2 .v2-page,
  #liga-studio .l-app-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .liga-v2 .v2-page {
    padding-top: 28px;
  }
}

@media (max-width: 920px) {
  #liga-studio .l-topnav > a,
  #liga-studio .l-topnav .l-courses-trigger {
    padding: 0 0 16px;
  }
}

@media (max-width: 620px) {
  #liga-studio .l-topnav > a,
  #liga-studio .l-topnav .l-courses-trigger {
    font-size: 11px;
  }

  .liga-v2 .v2-page,
  #liga-studio .l-app-footer {
    padding-left: 13px;
    padding-right: 13px;
  }

  .liga-v2 .v2-page {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  #liga-studio .l-popover {
    top: 64px;
    right: 12px;
  }
}

@media (max-width: 600px) {
  #liga-studio .l-header .l-topnav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 0;
    width: 100%;
  }

  #liga-studio .l-header .l-topnav > a,
  #liga-studio .l-header .l-topnav .l-courses-trigger {
    font-size: 14px;
    min-height: 44px;
    padding: 10px 4px;
    width: 100%;
    justify-content: center;
  }

  #liga-studio .l-header .l-topnav .l-courses-menu a {
    font-size: 14px;
    min-height: 44px;
  }
}


.liga-v2 .v2-page {
  width: min(100% - 2rem, var(--v2-content));
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.liga-v2 .v2-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.liga-v2 .v2-welcome {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: linear-gradient(135deg, #f7ecd2, #efe0bb);
}

.liga-v2 .v2-welcome::after {
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(148, 110, 39, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(148, 110, 39, 0.05);
  content: "";
}

.liga-v2 .v2-welcome h1 {
  max-width: 12ch;
  margin-bottom: 0.75rem;
  font-family: var(--liga-font);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.liga-v2 .v2-welcome p:not(.v2-page-eyebrow) {
  max-width: 50ch;
  color: #665d50;
}

.liga-v2 .v2-dashboard-summary {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1.25rem;
}

.liga-v2 .v2-summary-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--v2-border);
  padding-bottom: 0.7rem;
}

.liga-v2 .v2-summary-row:last-child {
  border-bottom: 0;
}

.liga-v2 .v2-summary-row strong {
  font-family: var(--liga-font);
  font-size: 1.8rem;
  font-weight: 500;
}

.liga-v2 .v2-summary-row span {
  color: var(--v2-muted);
  font-size: 0.8rem;
}

.liga-v2 .v2-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.liga-v2 .v2-section-head h2 {
  margin-bottom: 0;
  font-family: var(--liga-font);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 500;
}

.liga-v2 .v2-course-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: var(--v2-text);
  text-decoration: none;
}

.liga-v2 .v2-course-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--v2-soft), var(--v2-gold-soft));
  background-position: center;
  background-size: cover;
}

.liga-v2 .v2-course-body {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.liga-v2 .v2-course-body h3 {
  margin: 0;
  font-size: 1rem;
}

.liga-v2 .v2-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--v2-soft);
}

.liga-v2 .v2-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--v2-gold);
}

.liga-v2 .v2-course-meta {
  display: flex;
  justify-content: space-between;
  color: var(--v2-muted);
  font-size: 0.78rem;
}

.liga-v2 .v2-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 1rem;
  align-items: start;
}

.liga-v2 .v2-settings-main,
.liga-v2 .v2-settings-aside {
  display: grid;
  gap: 1rem;
}

.liga-v2 .v2-settings-card {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.liga-v2 .v2-settings-card h2,
.liga-v2 .v2-settings-card h3 {
  margin-bottom: 1rem;
  font-family: var(--liga-font);
  font-weight: 500;
}

.liga-v2 .v2-profile-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.liga-v2 .v2-profile-summary > * {
  min-width: 0;
}

.liga-v2 .v2-profile-summary .v2-page-description,
.liga-v2 .v2-settings-card .v2-page-description {
  overflow-wrap: anywhere;
}

.liga-v2 .v2-profile-avatar {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--v2-gold-soft);
  box-shadow: 0 0 0 1px var(--v2-border);
  color: var(--v2-gold-strong);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 850;
}

.liga-v2 .v2-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.liga-v2 .v2-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.liga-v2 .v2-form-grid .v2-field--wide {
  grid-column: 1 / -1;
}

.liga-v2 .v2-field,
.liga-v2 .v2-field input,
.liga-v2 .v2-field select,
.liga-v2 .v2-field textarea {
  min-width: 0;
  width: 100%;
}

.liga-v2 .v2-notification-list,
.liga-v2 .v2-saved-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.liga-v2 .v2-notification-item,
.liga-v2 .v2-saved-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  padding: 1rem;
  background: var(--v2-surface);
}

.liga-v2 .v2-notification-item.is-unread {
  border-left: 4px solid var(--v2-gold);
  background: #fffdf8;
}

.liga-v2 .v2-notification-content,
.liga-v2 .v2-saved-content {
  min-width: 0;
  flex: 1;
}

.liga-v2 .v2-notification-title,
.liga-v2 .v2-saved-title {
  color: var(--v2-text);
  font-weight: 750;
  text-decoration: none;
}

.liga-v2 .v2-notification-content p,
.liga-v2 .v2-saved-content p {
  margin: 0.2rem 0 0;
  color: var(--v2-muted);
  font-size: 0.88rem;
}

.liga-v2 .v2-notification-time {
  color: var(--v2-muted);
  font-size: 0.75rem;
}

@media (max-width: 1120px) {
  .liga-v2 .v2-header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .liga-v2 .v2-nav-toggle {
    display: grid;
    justify-self: start;
  }

  .liga-v2 .v2-topnav {
    position: fixed;
    top: 77px;
    right: 1rem;
    left: 1rem;
    display: none;
    max-height: calc(100vh - 96px);
    align-items: stretch;
    overflow-y: auto;
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-radius-md);
    padding: 0.75rem;
    background: var(--v2-surface);
    box-shadow: var(--v2-shadow-md);
    flex-direction: column;
  }

  .liga-v2 .v2-topnav.is-open {
    display: flex;
  }

  .liga-v2 .v2-nav-dropdown > summary,
  .liga-v2 .v2-topnav > a {
    width: 100%;
  }

  .liga-v2 .v2-nav-dropdown .v2-nav-menu {
    position: static;
    margin: 0.25rem 0 0.5rem;
    box-shadow: none;
  }

  .liga-v2 .v2-nav-mobile-link {
    display: block;
  }

  .liga-v2 .v2-header-actions {
    justify-self: end;
  }
}

@media (max-width: 820px) {
  .liga-v2 .v2-dashboard-hero,
  .liga-v2 .v2-settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .liga-v2 .v2-header-search,
  .liga-v2 .v2-account-label {
    display: none;
  }
}

@media (max-width: 620px) {
  .liga-v2 .v2-header-inner,
  .liga-v2 .v2-page {
    width: min(100% - 1.25rem, var(--v2-content));
  }

  .liga-v2 .v2-header-inner {
    min-height: 66px;
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
  }

  .liga-v2 .v2-header .v2-brand-name {
    display: none;
  }

  .liga-v2 .v2-topnav {
    top: 67px;
    right: 0.625rem;
    left: 0.625rem;
  }

  .liga-v2 .v2-page {
    padding-block: 1.5rem 3rem;
  }

  .liga-v2 .v2-dashboard-hero {
    margin-bottom: 1rem;
  }

  .liga-v2 .v2-welcome {
    min-height: 240px;
  }

  .liga-v2 .v2-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .liga-v2 .v2-form-grid .v2-field--wide {
    grid-column: auto;
  }

  .liga-v2 .v2-notification-item,
  .liga-v2 .v2-saved-item {
    align-items: flex-start;
  }
}

@media (max-width: 360px) {
  .liga-v2 .v2-page-container,
  .liga-v2 .v2-shell-layout {
    width: min(100% - 1rem, var(--v2-content));
  }

  .liga-v2 .v2-card--padded,
  .liga-v2 .v2-state {
    padding: 1rem;
  }

  .liga-v2 .v2-cluster > .v2-button {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .liga-v2 *,
  .liga-v2 *::before,
  .liga-v2 *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Catálogo e jornada de aprendizado */
.liga-v2.v2-catalog,
.liga-v2.v2-learning,
.liga-v2.v2-player,
.liga-v2.v2-performance {
  background:
    radial-gradient(circle at 8% 2%, rgba(148, 110, 39, 0.08), transparent 26rem),
    var(--v2-bg);
}

.liga-v2.v2-catalog .painel,
.liga-v2.v2-learning .painel,
.liga-v2.v2-learning .dashboard-content,
.liga-v2.v2-performance .painel {
  max-width: none;
  margin-inline: auto !important;
  padding-inline: 0;
}

.liga-v2 .painel-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.6rem;
  border: 0;
  padding: 0;
}

.liga-v2 .painel-head h1,
.liga-v2 .page-head h1,
.liga-v2 .aula-titulo,
.liga-v2 .painel-sub {
  margin: 0;
  color: var(--v2-text);
  font-family: var(--liga-font);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.liga-v2 .painel-head h1,
.liga-v2 .page-head h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.liga-v2 .painel-head .muted,
.liga-v2 .cat-sub,
.liga-v2 .muted {
  color: var(--v2-muted);
}

.liga-v2 .cat-topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(234, 228, 216, 0.9);
  padding: 0 max(1rem, calc((100% - var(--v2-content)) / 2));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.liga-v2 .cat-brand img {
  width: auto;
  height: 42px;
}

.liga-v2 .cat-topbar nav,
.liga-v2 .hub-stats,
.liga-v2 .filtro-cats,
.liga-v2 .aula-acoes,
.liga-v2 .cc-acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.liga-v2 .cat-btn,
.liga-v2 .chip-filtro,
.liga-v2 .hub-stat,
.liga-v2 .btn-acao,
.liga-v2 .btn-voltar,
.liga-v2 .btn-mini {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--v2-border);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: var(--v2-surface);
  color: var(--v2-text);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.liga-v2 .cat-btn:hover,
.liga-v2 .chip-filtro:hover,
.liga-v2 .btn-acao:hover,
.liga-v2 .btn-voltar:hover {
  border-color: rgba(148, 110, 39, 0.45);
  background: var(--v2-gold-soft);
  transform: translateY(-1px);
}

.liga-v2 .cat-btn.pri,
.liga-v2 .chip-filtro.ativo,
.liga-v2 .btn-primario,
.liga-v2 .cd-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--v2-gold);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  background: var(--v2-gold);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(128, 96, 34, 0.15);
  cursor: pointer;
}

.liga-v2 .btn-primario:hover,
.liga-v2 .cd-cta:hover,
.liga-v2 .cat-btn.pri:hover {
  border-color: var(--v2-gold-strong);
  background: var(--v2-gold-strong);
}

.liga-v2 .hub-stats {
  margin-top: 0.5rem;
}

.liga-v2 .hub-stat {
  min-height: 44px;
  color: var(--v2-muted);
}

.liga-v2 .hub-stat strong {
  margin-right: 0.25rem;
  color: var(--v2-text);
}

.liga-v2 .filtro-cats {
  margin-bottom: 1.5rem;
}

.liga-v2 .chip-filtro {
  min-height: 44px;
  padding-inline: 0.9rem;
}

.liga-v2 .cursos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.liga-v2 .curso-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  background: var(--v2-surface);
  color: var(--v2-text);
  box-shadow: var(--v2-shadow-sm);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.liga-v2 a.curso-card:hover,
.liga-v2 .curso-card-link:hover .curso-card {
  border-color: rgba(148, 110, 39, 0.42);
  box-shadow: var(--v2-shadow-md);
  transform: translateY(-3px);
}

.liga-v2 .curso-capa {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(140deg, #eee2c6, #faf6ec);
  background-position: center;
  background-size: cover;
}

.liga-v2 .curso-capa.trilha-capa {
  background: linear-gradient(135deg, #efe3c7, #d9c18d);
}

.liga-v2 .curso-capa .ph {
  width: 42px;
  color: rgba(128, 96, 34, 0.62);
}

.liga-v2 .curso-status {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--v2-text);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.liga-v2 .curso-corpo {
  display: grid;
  min-width: 0;
  gap: 0.75rem;
  padding: 1.1rem;
}

.liga-v2 .curso-corpo h3,
.liga-v2 .cc-titulo {
  margin: 0;
  color: var(--v2-text);
  font-family: var(--liga-font);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.liga-v2 .cat-desc,
.liga-v2 .card-meta,
.liga-v2 .curso-aulas {
  margin: 0;
  color: var(--v2-muted);
  font-size: 0.84rem;
}

.liga-v2 .cat-meta,
.liga-v2 .curso-rodape,
.liga-v2 .curso-prog,
.liga-v2 .cc-head,
.liga-v2 .cc-prog {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.liga-v2 .cat-meta {
  flex-wrap: wrap;
  justify-content: flex-start;
  color: var(--v2-muted);
  font-size: 0.74rem;
}

.liga-v2 .cat-rating,
.liga-v2 .cat-preco,
.liga-v2 .curso-pct {
  color: var(--v2-gold-strong);
  font-weight: 850;
}

.liga-v2 .cat-vagas {
  color: var(--v2-danger);
}

.liga-v2 .curso-rodape {
  margin-top: auto;
  border-top: 1px solid var(--v2-border);
  padding-top: 0.8rem;
}

.liga-v2 .curso-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--v2-gold-strong);
  font-size: 0.78rem;
  font-weight: 850;
}

.liga-v2 .curso-cta svg {
  width: 16px;
}

.liga-v2 .barra-progresso {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--v2-soft);
}

.liga-v2 .barra-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b8954e, var(--v2-gold));
}

.liga-v2 .estado-vazio,
.liga-v2 .welcome-card,
.liga-v2 .page-box,
.liga-v2 .atividade-card,
.liga-v2 .anotacoes,
.liga-v2 .feedback-box {
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  padding: clamp(1.1rem, 3vw, 2rem);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
}

.liga-v2 .estado-vazio {
  display: grid;
  min-height: 230px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.liga-v2 .estado-vazio svg {
  width: 44px;
  margin-bottom: 0.75rem;
  color: var(--v2-gold);
}

.liga-v2 .estado-vazio h3,
.liga-v2 .estado-vazio p {
  margin-bottom: 0.35rem;
}

/* Detalhe do catálogo */
.liga-v2 .cd-wrap {
  display: grid;
  gap: 1.25rem;
}

.liga-v2 .cd-voltar {
  width: fit-content;
  color: var(--v2-muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.liga-v2 .cd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 1rem;
  align-items: start;
}

.liga-v2 .cd-main,
.liga-v2 .cd-card {
  overflow: hidden;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
}

.liga-v2 .cd-main {
  padding-bottom: clamp(1.25rem, 4vw, 2.5rem);
}

.liga-v2 .cd-capa {
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #eadbb8, #faf4e6);
  background-position: center;
  background-size: cover;
}

.liga-v2 .cd-main > :not(.cd-capa) {
  margin-right: clamp(1.25rem, 4vw, 2.5rem);
  margin-left: clamp(1.25rem, 4vw, 2.5rem);
}

.liga-v2 .cd-titulo {
  margin-top: 1.5rem;
  font-family: var(--liga-font);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.liga-v2 .cd-desc {
  color: #625a4e;
  font-size: 1rem;
  line-height: 1.75;
}

.liga-v2 .cd-metabar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  color: var(--v2-muted);
  font-size: 0.8rem;
}

.liga-v2 .cd-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.9rem;
  padding: 1.3rem;
}

.liga-v2 .cd-preco {
  font-family: var(--liga-font);
  font-size: 2rem;
  color: var(--v2-text);
}

.liga-v2 .cd-preco-obs,
.liga-v2 .cd-vagas {
  color: var(--v2-muted);
  font-size: 0.78rem;
}

.liga-v2 .cd-alert,
.liga-v2 .aviso-box {
  border: 1px solid #dfcea9;
  border-radius: var(--v2-radius-md);
  padding: 0.9rem 1rem;
  background: var(--v2-gold-soft);
  color: #675329;
}

/* Trilhas e avaliações */
.liga-v2 .trilha-box,
.liga-v2 .questao-aluno,
.liga-v2 .revisao-item,
.liga-v2 .comparativo,
.liga-v2 .correcao-box {
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
}

.liga-v2 .trilha-box {
  overflow: hidden;
}

.liga-v2 .trilha-box-capa {
  background: linear-gradient(135deg, #eadbb8, #faf4e6);
}

.liga-v2 .trilha-box-txt {
  padding: 1rem;
}

.liga-v2 .trilha-passo.feito .trilha-no,
.liga-v2 .trilha-fill,
.liga-v2 .trilha-svg-fill {
  background: var(--v2-gold);
  color: #fff;
}

.liga-v2 .page-box-form {
  width: min(100%, 900px);
  margin-inline: auto;
}

.liga-v2 .page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.liga-v2 .questao-aluno {
  margin-bottom: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.liga-v2 .q-enunciado {
  color: var(--v2-text);
  font-size: 1rem;
}

.liga-v2 .campo-destaque,
.liga-v2 .alt-opcao,
.liga-v2 .dissertativa,
.liga-v2 .likert-ponto {
  border-color: var(--v2-border);
  border-radius: var(--v2-radius-sm);
  background: #fffdf8;
}

.liga-v2 input,
.liga-v2 select,
.liga-v2 textarea {
  border-color: var(--v2-border);
  border-radius: var(--v2-radius-sm);
  background: #fff;
  color: var(--v2-text);
}

.liga-v2 .welcome-card {
  width: min(100%, 760px);
  margin-inline: auto;
  text-align: center;
}

.liga-v2 .resultado-ico {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--v2-gold-soft);
  color: var(--v2-gold-strong);
}

.liga-v2 .resultado-ico svg {
  width: 34px;
}

/* Player */
.liga-v2 .player-wrap {
  display: grid;
  width: min(100% - 2rem, 1480px);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem) 0 4rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 1rem;
  align-items: start;
}

.liga-v2 .player-main,
.liga-v2 .player-side {
  min-width: 0;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
}

.liga-v2 .player-main {
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2rem);
}

.liga-v2 .player-topo {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.liga-v2 .player-topo h1 {
  margin: 0;
  font-family: var(--liga-font);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 500;
}

.liga-v2 .aula-titulo {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.liga-v2 .player-video,
.liga-v2 .video-frame {
  overflow: hidden;
  border-radius: var(--v2-radius-md);
  background: #171510;
}

.liga-v2 .video-frame {
  aspect-ratio: 16 / 9;
}

.liga-v2 .video-frame iframe,
.liga-v2 .video-frame video {
  width: 100%;
  height: 100%;
}

.liga-v2 .aula-conteudo {
  color: #514a40;
  line-height: 1.75;
}

.liga-v2 .aula-barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--v2-border);
  padding-top: 1.25rem;
}

.liga-v2 .player-side {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding: 1rem;
}

.liga-v2 .player-side > h3 {
  margin: 0 0 0.85rem;
  font-family: var(--liga-font);
  font-size: 1.25rem;
}

.liga-v2 .mod-bloco {
  overflow: hidden;
  margin-bottom: 0.65rem;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
}

.liga-v2 .mod-bloco.mod-atual {
  border-color: rgba(148, 110, 39, 0.45);
}

.liga-v2 .mod-head {
  display: grid;
  width: 100%;
  align-items: center;
  border: 0;
  padding: 0.8rem;
  background: #fffdf8;
  color: var(--v2-text);
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 0.55rem;
  text-align: left;
  cursor: pointer;
}

.liga-v2 .mod-anel {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid #ddcda8;
  border-radius: 50%;
  color: var(--v2-gold-strong);
  font-size: 0.62rem;
  font-weight: 850;
}

.liga-v2 .mod-anel svg,
.liga-v2 .mod-chev {
  width: 16px;
}

.liga-v2 .mod-titulo {
  min-width: 0;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.liga-v2 .mod-qtd,
.liga-v2 .trilha-tempo {
  color: var(--v2-muted);
  font-size: 0.68rem;
}

.liga-v2 .mod-trilha {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.liga-v2 .trilha-item {
  display: grid;
  min-width: 0;
  align-items: center;
  border-top: 1px solid var(--v2-border);
  padding: 0.72rem 0.8rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
}

.liga-v2 .trilha-item.ativo {
  background: var(--v2-gold-soft);
}

.liga-v2 .trilha-ponto {
  width: 9px;
  height: 9px;
  border: 2px solid #b7aa98;
  border-radius: 50%;
}

.liga-v2 .trilha-item.feito .trilha-ponto {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-color: var(--v2-success);
  background: var(--v2-success);
  color: #fff;
}

.liga-v2 .ponto-check {
  width: 11px;
}

.liga-v2 .trilha-nome {
  min-width: 0;
  color: var(--v2-text);
  font-size: 0.76rem;
  font-weight: 650;
  text-decoration: none;
}

.liga-v2 .trilha-item.travado {
  opacity: 0.58;
}

.liga-v2 .quiz-pill {
  border: 1px solid #ddcda8;
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  background: var(--v2-gold-soft);
  color: var(--v2-gold-strong);
  font-size: 0.68rem;
  font-weight: 800;
}

.liga-v2 .anotacoes,
.liga-v2 .feedback-box {
  margin-top: 1rem;
}

.liga-v2 .anot-texto,
.liga-v2 .fb-comentario {
  width: 100%;
  min-height: 130px;
  padding: 0.85rem;
}

.liga-v2 .aval-inline,
.liga-v2 .aval-inline-notas,
.liga-v2 .fb-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.liga-v2 .estrelas {
  display: flex;
  gap: 0.15rem;
}

.liga-v2 .estrela {
  border: 0;
  padding: 0.12rem;
  background: transparent;
  color: #cfc6b5;
  cursor: pointer;
  font-size: 1.25rem;
}

.liga-v2 .estrela.ativa {
  color: var(--v2-gold);
}

.liga-v2 .aval-salvar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--v2-border);
  border-radius: 50%;
  background: #fff;
  color: var(--v2-muted);
}

.liga-v2 .aval-salvar svg {
  width: 18px;
}

/* Busca e desempenho */
.liga-v2 .busca-form {
  display: grid;
  margin-bottom: 2rem;
  grid-template-columns: minmax(240px, 1fr) repeat(2, minmax(150px, 0.3fr)) auto;
  gap: 0.65rem;
}

.liga-v2 .busca-form input,
.liga-v2 .busca-form select {
  min-height: 46px;
  padding: 0.7rem 0.85rem;
}

.liga-v2 .busca-bloco {
  margin-top: 2rem;
}

.liga-v2 .busca-lista {
  display: grid;
  gap: 0.65rem;
}

.liga-v2 .busca-item {
  display: grid;
  gap: 0.25rem;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  padding: 1rem;
  background: var(--v2-surface);
  color: var(--v2-text);
  text-decoration: none;
}

.liga-v2 .busca-item:hover {
  border-color: rgba(148, 110, 39, 0.42);
}

.liga-v2 .kpis {
  display: grid;
  margin-bottom: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.liga-v2 .kpi {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  padding: 1rem;
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
}

.liga-v2 .kpi-ico {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--v2-gold-soft);
  color: var(--v2-gold-strong);
}

.liga-v2 .kpi-ico svg {
  width: 19px;
}

.liga-v2 .kpi-info {
  display: grid;
}

.liga-v2 .kpi-num {
  font-family: var(--liga-font);
  font-size: 1.65rem;
  line-height: 1;
}

.liga-v2 .kpi-lbl {
  color: var(--v2-muted);
  font-size: 0.72rem;
}

.liga-v2 .painel-sub {
  margin: 2rem 0 0.9rem;
  font-size: 1.4rem;
}

.liga-v2 .conquistas-grid,
.liga-v2 .curso-cards {
  display: grid;
  gap: 0.8rem;
}

.liga-v2 .conquistas-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.liga-v2 .conquista {
  display: grid;
  gap: 0.35rem;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-md);
  padding: 1rem;
  background: var(--v2-surface);
}

.liga-v2 .conquista.bloqueada {
  opacity: 0.5;
  filter: grayscale(0.75);
}

.liga-v2 .conquista-emoji {
  font-size: 1.8rem;
}

.liga-v2 .conquista-nome {
  font-weight: 800;
}

.liga-v2 .conquista-desc {
  color: var(--v2-muted);
  font-size: 0.78rem;
}

.liga-v2.v2-performance .curso-card {
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.liga-v2 .cc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.liga-v2 .cc-stat {
  display: grid;
  gap: 0.2rem;
  border-radius: var(--v2-radius-sm);
  padding: 0.8rem;
  background: var(--v2-bg);
}

.liga-v2 .cc-stat-lbl,
.liga-v2 .cc-stat-sub {
  color: var(--v2-muted);
  font-size: 0.7rem;
}

.liga-v2 .cc-stat-val {
  font-family: var(--liga-font);
  font-size: 1.4rem;
}

@media (max-width: 960px) {
  .liga-v2 .cursos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .liga-v2 .player-wrap,
  .liga-v2 .cd-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .liga-v2 .player-side,
  .liga-v2 .cd-card {
    position: static;
    max-height: none;
  }

  .liga-v2 .busca-form {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.4fr);
  }
}

@media (max-width: 620px) {
  .liga-v2 .cat-topbar {
    min-height: 66px;
    padding-inline: 0.75rem;
  }

  .liga-v2 .cat-brand img {
    height: 34px;
  }

  .liga-v2 .cat-topbar .cat-btn:first-child {
    display: none;
  }

  .liga-v2 .cursos-grid,
  .liga-v2 .cc-stats,
  .liga-v2 .busca-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .liga-v2 .player-wrap {
    width: min(100% - 1.25rem, 1480px);
    padding-top: 0.75rem;
  }

  .liga-v2 .player-main,
  .liga-v2 .player-side {
    border-radius: var(--v2-radius-md);
  }

  .liga-v2 .aula-barra,
  .liga-v2 .aval-inline,
  .liga-v2 .fb-box-head,
  .liga-v2 .page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .liga-v2 .aula-acoes > *,
  .liga-v2 .aula-acoes form,
  .liga-v2 .aula-acoes .btn-primario,
  .liga-v2 .aula-acoes .btn-acao {
    width: 100%;
  }

  .liga-v2 .cd-main > :not(.cd-capa) {
    margin-right: 1rem;
    margin-left: 1rem;
  }
}

/* Entrada e páginas públicas */
.liga-v2.v2-entry-page {
  background: var(--v2-surface);
}

.liga-v2 .v2-entry-layout {
  isolation: isolate;
}

.liga-v2 .v2-entry-story {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 18% 78%, rgba(148, 110, 39, 0.16), transparent 28%),
    linear-gradient(145deg, #f8f1df 0%, #eee0bd 100%);
}

.liga-v2 .v2-entry-story::after {
  position: absolute;
  right: -15%;
  bottom: -18%;
  z-index: -1;
  width: min(34vw, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(148, 110, 39, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(148, 110, 39, 0.05), 0 0 0 70px rgba(148, 110, 39, 0.035);
  content: "";
}

.liga-v2 .v2-entry-story-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.liga-v2 .v2-entry-edition {
  max-width: 16rem;
  color: var(--v2-gold-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.liga-v2 .v2-entry-story-copy {
  max-width: 640px;
  margin-block: clamp(3rem, 8vw, 7rem);
}

.liga-v2 .v2-entry-story-copy h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  color: var(--v2-text);
  font-family: var(--liga-font);
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.liga-v2 .v2-entry-story-copy > p:not(.v2-page-eyebrow) {
  max-width: 54ch;
  color: #665d50;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.liga-v2 .v2-entry-benefits {
  display: grid;
  max-width: 520px;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.liga-v2 .v2-entry-benefits li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.8rem;
  border-top: 1px solid rgba(128, 96, 34, 0.18);
  padding: 0.78rem 0;
  color: #4d463c;
  font-weight: 650;
}

.liga-v2 .v2-entry-benefits span {
  color: var(--v2-gold);
  font-family: var(--liga-font);
  font-size: 0.85rem;
}

.liga-v2 .v2-entry-quote {
  max-width: 36ch;
  margin-bottom: 0;
  color: var(--v2-gold-strong);
  font-family: var(--liga-font);
  font-size: 0.92rem;
  font-style: italic;
}

.liga-v2 .v2-entry-form-panel {
  display: grid;
  min-width: 0;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 5rem);
  background: var(--v2-surface);
}

.liga-v2 .v2-entry-card {
  width: min(100%, 470px);
}

.liga-v2 .v2-entry-mobile-brand {
  display: none;
  margin-bottom: 2rem;
}

.liga-v2 .v2-entry-header {
  margin-bottom: 2rem;
}

.liga-v2 .v2-entry-header h2 {
  margin-bottom: 0.45rem;
  font-family: var(--liga-font);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.liga-v2 .v2-entry-header p,
.liga-v2 .v2-entry-foot,
.liga-v2 .v2-entry-help {
  color: var(--v2-muted);
}

.liga-v2 .v2-entry-form {
  display: grid;
  gap: 1rem;
}

.liga-v2 .v2-entry-form .campo {
  display: grid;
  gap: 0.42rem;
  margin: 0;
}

.liga-v2 .v2-entry-form .campo-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.liga-v2 .v2-entry-form label {
  color: var(--v2-text);
  font-size: 0.86rem;
  font-weight: 750;
}

.liga-v2 .v2-entry-form .opcional {
  color: var(--v2-muted);
  font-weight: 500;
}

.liga-v2 .v2-entry-form .campo-senha {
  position: relative;
}

.liga-v2 .v2-entry-form .campo-senha input {
  padding-right: 3rem;
}

.liga-v2 .v2-entry-form .btn-olho {
  position: absolute;
  top: 50%;
  right: 0.3rem;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--v2-muted);
  cursor: pointer;
  transform: translateY(-50%);
}

.liga-v2 .v2-entry-form .btn-olho svg {
  width: 19px;
  height: 19px;
}

.liga-v2 .v2-entry-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--v2-gold);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.liga-v2 .v2-entry-submit:hover {
  background: var(--v2-gold-strong);
  box-shadow: 0 10px 24px rgba(128, 96, 34, 0.2);
  transform: translateY(-1px);
}

.liga-v2 .v2-entry-foot {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.6rem;
  font-size: 0.88rem;
  text-align: center;
}

.liga-v2 .v2-entry-foot p {
  margin-bottom: 0;
}

.liga-v2 .v2-social-login {
  margin-top: 1.35rem;
}

.liga-v2 .v2-social-login .social-sep {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.9rem;
  color: var(--v2-muted);
  font-size: 0.78rem;
}

.liga-v2 .v2-social-login .social-sep::before,
.liga-v2 .v2-social-login .social-sep::after {
  height: 1px;
  flex: 1;
  background: var(--v2-border);
  content: "";
}

.liga-v2 .v2-social-login .btn-social {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  border: 1px solid var(--v2-border);
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text);
  font-weight: 700;
  text-decoration: none;
}

.liga-v2 .v2-social-login .btn-social:hover {
  background: var(--v2-soft);
}

.liga-v2 .v2-social-login svg {
  width: 18px;
  height: 18px;
}

.liga-v2 .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.liga-v2 .senha-regras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 0.75rem;
  margin: 0.35rem 0 0;
  padding: 0;
  color: var(--v2-muted);
  font-size: 0.75rem;
  list-style-position: inside;
}

.liga-v2 .v2-public-header {
  display: flex;
  width: min(100% - 2rem, 940px);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding-block: 1.25rem;
}

.liga-v2 .v2-public-main {
  display: grid;
  width: min(100% - 2rem, 940px);
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  place-items: center;
  padding: 2rem 0 4rem;
}

.liga-v2 .v2-public-state {
  width: min(100%, 620px);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
}

.liga-v2 .v2-public-code {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--v2-gold);
  font-family: var(--liga-font);
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 0.9;
}

.liga-v2 .v2-public-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--v2-gold-soft);
  color: var(--v2-gold);
  font-size: 1.8rem;
}

.liga-v2 .v2-public-state h1,
.liga-v2 .v2-public-state h2 {
  margin-bottom: 0.65rem;
  font-family: var(--liga-font);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 500;
}

.liga-v2 .v2-public-state > p {
  color: var(--v2-muted);
}

.liga-v2 .v2-public-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.liga-v2 .v2-legal {
  width: min(100% - 2rem, 800px);
  margin: 0 auto;
  padding: 2rem 0 5rem;
}

.liga-v2 .v2-legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}

.liga-v2 .v2-legal article {
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius-lg);
  padding: clamp(1.25rem, 5vw, 3.5rem);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
}

.liga-v2 .v2-legal h1 {
  margin-bottom: 0.35rem;
  font-family: var(--liga-font);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.liga-v2 .v2-legal h2 {
  margin: 2rem 0 0.5rem;
  font-family: var(--liga-font);
  font-size: 1.22rem;
}

.liga-v2 .v2-legal p,
.liga-v2 .v2-legal li {
  color: #625a4e;
}

.liga-v2 .v2-credential {
  width: min(100%, 700px);
  overflow: hidden;
  text-align: center;
}

.liga-v2 .v2-credential-band {
  height: 10px;
  background: linear-gradient(90deg, #d9bd7b, var(--v2-gold), #d9bd7b);
}

.liga-v2 .v2-credential-content {
  padding: clamp(1.5rem, 6vw, 4rem);
}

.liga-v2 .v2-credential-kicker {
  color: var(--v2-gold);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.liga-v2 .v2-credential h1 {
  margin-bottom: 1.5rem;
  font-family: var(--liga-font);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 500;
}

.liga-v2 .v2-credential-name {
  margin-bottom: 0.4rem;
  color: var(--v2-text);
  font-family: var(--liga-font);
  font-size: clamp(1.45rem, 4vw, 2rem);
}

@media (max-width: 1024px) {
  .liga-v2 .v2-entry-layout {
    grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1.22fr);
  }

  .liga-v2 .v2-entry-story-copy h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
  }

  .liga-v2 .v2-entry-benefits {
    display: none;
  }
}

@media (max-width: 760px) {
  .liga-v2 .v2-entry-layout {
    display: block;
    margin: 1rem;
    overflow: hidden;
    border: 1px solid var(--v2-border);
    border-radius: 18px;
  }

  .liga-v2 .v2-entry-story:not(.v2-entry-story--compact) {
    display: flex;
    min-height: 285px;
    justify-content: flex-start;
    padding: 1.6rem;
  }

  .liga-v2 .v2-entry-story::after,
  .liga-v2 .v2-entry-story .v2-entry-edition,
  .liga-v2 .v2-entry-story .v2-entry-benefits,
  .liga-v2 .v2-entry-story .v2-entry-quote,
  .liga-v2 .v2-entry-story .v2-page-eyebrow {
    display: none;
  }

  .liga-v2 .v2-entry-story-copy {
    margin: 2.3rem 0 0;
  }

  .liga-v2 .v2-entry-story-copy h1 {
    max-width: 11ch;
    margin-bottom: 0.8rem;
    font-size: clamp(2rem, 11vw, 2.65rem);
    line-height: 1;
  }

  .liga-v2 .v2-entry-story-copy > p:not(.v2-page-eyebrow) {
    margin-bottom: 0;
    font-size: 0.94rem;
  }

  .liga-v2 .v2-entry-form-panel {
    min-height: 0;
    align-content: start;
    padding: 1.6rem max(1.25rem, env(safe-area-inset-right)) 2rem max(1.25rem, env(safe-area-inset-left));
  }

  .liga-v2 .v2-entry-card {
    margin-top: 0;
  }

  .liga-v2 .v2-entry-mobile-brand {
    display: none;
  }

  .liga-v2 .grid-2,
  .liga-v2 .senha-regras {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .liga-v2 .v2-public-header,
  .liga-v2 .v2-public-main,
  .liga-v2 .v2-legal {
    width: min(100% - 1.25rem, 940px);
  }

  .liga-v2 .v2-public-header .v2-brand-name small {
    display: none;
  }

  .liga-v2 .v2-public-actions > * {
    width: 100%;
  }
}

/* Ajustes: barra lateral direita e cabeçalho do post (neutraliza regras legadas de style.css) */
#liga-studio .l-quiet-ranking,
#liga-studio .com-ranking-head {
  display: block;
  justify-content: initial;
}

#liga-studio .com-ranking-item {
  display: flex;
  grid-template-columns: none;
}

#liga-studio .com-ranking-pos,
#liga-studio .com-pontos,
#liga-studio .com-ranking-nome {
  background: none;
  border: 0;
  padding: 0;
  width: auto;
  min-width: 0;
  height: auto;
  line-height: inherit;
}

#liga-studio .com-ranking-nome {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#liga-studio .com-post-sub .com-post-espaco::before,
#liga-studio .com-post-sub .com-post-ponto:first-child,
#liga-studio .com-post-autor::after {
  content: none;
}

#liga-studio .l-sidenav a > span:not(.l-count):not(.l-sidenav-hash) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Painel — equivalentes para <a> das regras de botão da prévia e blocos extras */
.liga-v2 .v2-page.home-view {
  max-width: 1340px;
  padding: 34px 38px 15px;
}

#liga-studio a.l-dash-access {
  text-decoration: none;
  color: inherit;
}

#liga-studio .l-dash-welcome h1 {
  margin: 0;
}

#liga-studio .l-dash-stats {
  --pf-line: #eae4d8;
  margin-bottom: 24px;
}

#liga-studio .l-dash-stats article h2 {
  font-size: 14px;
  margin: 8px 0 2px;
}

#liga-studio .l-dash-stats article p {
  font-size: 12px;
  color: #8b8170;
  margin: 0;
}

#liga-studio .cx-next .l-learn-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.45px;
  color: #987b3e;
}

#liga-studio a.l-dash-write {
  text-decoration: none;
}

#liga-studio .l-dash-shortcuts > a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid #e9e5db;
  border-radius: 13px;
  background: white;
  text-align: left;
  color: inherit;
  text-decoration: none;
}

#liga-studio .l-dash-shortcuts > a:hover {
  background: #fcfaf4;
  border-color: #d6c396;
  box-shadow: 0 4px 12px #99793709;
}

#liga-studio .l-dash-shortcuts > a > svg {
  margin-left: auto;
  width: 15px;
  height: 15px;
  color: #b3a587;
}

#liga-studio a.l-dash-text-link {
  text-decoration: none;
}

#liga-studio a.l-dash-discussion {
  color: inherit;
  text-decoration: none;
}

#liga-studio .l-dash-course-art.has-cover {
  background-size: cover;
  background-position: center;
}

#liga-studio .l-dash-course-art.has-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #eee2bdee, #dfc784d9);
}

#liga-studio .l-dash-course-art.has-cover > * {
  position: relative;
}

#liga-studio .l-dash-section .pf-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
}

#liga-studio .l-dash-section .pf-empty strong {
  font-family: var(--liga-font);
  font-size: 16px;
  font-weight: 750;
}

#liga-studio .l-dash-section .pf-empty p {
  font-size: 13px;
  color: #706a5e;
  line-height: 1.7;
  max-width: 40ch;
  margin: 0;
}

#liga-studio .pf-empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f5ecd4;
  color: #8b6c2d;
}

#liga-studio .l-dash-host > div {
  min-width: 0;
}

@media (max-width: 1120px) {
  .liga-v2 .v2-page.home-view { padding: 29px 24px 12px; }
}

@media (max-width: 1000px) {
  #liga-studio .l-dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  #liga-studio .l-dash-shortcuts > a { padding: 15px 13px; gap: 10px; }
}

@media (max-width: 620px) {
  .liga-v2 .v2-page.home-view { padding: 24px 13px 7px; }
  #liga-studio .l-dash-shortcuts > a { padding: 15px 12px; flex-wrap: wrap; gap: 10px; }
  #liga-studio .l-dash-shortcuts > a > svg { display: none; }
}

/* Chat — ganchos .chat-* (gerados pelo chat.js) com o visual l-dm-* da Liga */
#liga-studio .com-avatar,
#liga-studio .menu-avatar {
  --avbg: #f0e4c7;
  --avfg: #806125;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--avbg);
  color: var(--avfg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  overflow: hidden;
}

#liga-studio .com-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#liga-studio .l-dm-page .l-back {
  margin-bottom: 16px;
}

#liga-studio .l-dm-workspace.chat-layout {
  display: grid;
}

#liga-studio .l-dm-inbox-head .chat-acoes {
  display: flex;
  gap: 2px;
}

#liga-studio .chat-conversas {
  list-style: none;
  margin: 0;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#liga-studio .chat-conversas > li {
  margin: 0;
}

#liga-studio .chat-conversa,
#liga-studio .chat-contato-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 10px;
  border: 1px solid transparent;
  background: none;
  border-radius: 10px;
  position: relative;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

#liga-studio .chat-conversa:hover,
#liga-studio .chat-contato-btn:hover {
  background: #f7f6f1;
}

#liga-studio .chat-conversa.ativa,
#liga-studio .chat-conversa.selected {
  background: #f5f0df;
  border-color: #e9dec1;
}

#liga-studio .chat-conversa .com-avatar,
#liga-studio .chat-contato-btn .com-avatar {
  width: 37px;
  height: 37px;
  font-size: 12px;
}

#liga-studio .chat-conversa-av.grupo,
#liga-studio .chat-conversa-av.grupo.l-avatar {
  --avbg: #876624;
  --avfg: #fffaf0;
}

#liga-studio .chat-conversa-av.grupo svg {
  width: 16px;
  height: 16px;
}

#liga-studio .chat-conversa-corpo,
#liga-studio .chat-contato-btn .l-dm-contact-copy {
  min-width: 0;
  flex: 1;
  display: block;
}

#liga-studio .chat-conversa-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

#liga-studio .chat-conversa-nome {
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--l-ink);
}

#liga-studio .chat-conversa.nao-lida .chat-conversa-nome {
  color: #6b5324;
}

#liga-studio .chat-conversa-tempo {
  font-size: 9px;
  color: #8a8270;
  flex-shrink: 0;
}

#liga-studio .chat-conversa-previa {
  font-size: 11px;
  color: var(--l-muted);
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 5px;
  max-width: 100%;
}

#liga-studio .chat-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  background: var(--l-gold);
  color: white;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  position: absolute;
  right: 10px;
  bottom: 15px;
}

#liga-studio .chat-conversa:has(.chat-badge) .chat-conversa-previa {
  padding-right: 20px;
}

#liga-studio .chat-contatos {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--l-line);
  margin-bottom: 8px;
}

#liga-studio .chat-contatos-lista {
  list-style: none;
  margin: 0;
  padding: 0 8px;
  max-height: 320px;
  overflow: auto;
}

#liga-studio .chat-contatos-lista > li {
  margin: 0;
}

#liga-studio .chat-contatos-lista form {
  margin: 0;
}

#liga-studio .l-dm-search input,
#liga-studio .l-dm-search input:focus {
  min-height: 0;
  border: 0;
  background: none;
  padding: 0;
  box-shadow: none;
  font-size: 11px;
}

#liga-studio .chat-thread {
  min-height: 560px;
}

#liga-studio .chat-thread .l-dm-start {
  margin: auto;
}

#liga-studio .chat-thread .l-dm-start .l-avatar svg {
  width: 20px;
  height: 20px;
}

#liga-studio .chat-thread-head h2 {
  margin: 0;
}

#liga-studio .chat-thread-head p {
  margin: 0;
}

#liga-studio .l-dm-messages {
  height: auto;
  flex: 1;
  min-height: 385px;
  max-height: 60vh;
}

#liga-studio .chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  flex-shrink: 0;
}

#liga-studio .chat-msg > .com-avatar {
  width: 27px;
  height: 27px;
  font-size: 9px;
}

#liga-studio .chat-msg.meu {
  justify-content: flex-end;
  padding-left: 35px;
}

#liga-studio .chat-msg:not(.meu) {
  padding-right: 30px;
}

#liga-studio .chat-bolha {
  max-width: 90%;
  padding: 12px 14px 7px;
  border-radius: 13px 13px 13px 3px;
  background: white;
  border: 1px solid #eae6dd;
  box-shadow: 0 2px 3px #3a2e1603;
  min-width: 80px;
  overflow-wrap: anywhere;
  display: block;
}

#liga-studio .chat-msg.meu .chat-bolha {
  background: #f2e8cb;
  border-color: #e6d7ac;
  border-radius: 13px 13px 3px 13px;
}

#liga-studio .chat-msg-autor {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #8b7037;
  margin-bottom: 3px;
}

#liga-studio .chat-msg-texto {
  display: block;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  color: #413e36;
}

#liga-studio .chat-msg-tempo {
  display: flex;
  justify-content: flex-end;
  font-size: 9px;
  color: #998d71;
  margin-top: 5px;
}

#liga-studio .chat-msgs-vazio {
  margin: auto 0 0;
}

#liga-studio .l-dm-compose-box input.chat-input,
#liga-studio .l-dm-compose-box input.chat-input:focus {
  flex: 1;
  min-width: 0;
  min-height: 37px;
  border: 0;
  outline: 0;
  background: none;
  padding: 2px 3px;
  font-size: 12px;
  box-shadow: none;
}

/* Modal: novo grupo */
#liga-studio .chat-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
}

#liga-studio .chat-modal-scrim {
  position: absolute;
  inset: 0;
  background: #302b2366;
}

#liga-studio .chat-modal-card {
  position: relative;
  width: min(440px, 100%);
  max-height: 90vh;
  overflow: auto;
  margin: 0;
  box-shadow: 0 15px 40px #001a121c;
  border-radius: 16px;
}

#liga-studio .chat-modal-card h2 {
  font-size: 18px;
  margin: 0;
}

#liga-studio .chat-modal-lista {
  padding: 0;
  margin: 8px 0 16px;
  max-height: 260px;
  border: 1px solid var(--l-line);
  border-radius: 10px;
}

#liga-studio .chat-contato-lbl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  cursor: pointer;
  font-size: 13px;
}

#liga-studio .chat-contato-lbl:hover {
  background: #f7f6f1;
}

#liga-studio .chat-modal .l-dm-search {
  margin: 0 0 8px;
}

#liga-studio .chat-modal .l-field {
  margin-bottom: 4px;
}

@media (max-width: 1180px) {
  #liga-studio .chat-conversa-tempo { display: none; }
}

@media (max-width: 700px) {
  #liga-studio .l-dm-workspace.chat-layout { display: block; min-height: 0; }
  #liga-studio .chat-layout .chat-lista { display: none; min-height: 530px; border-right: 0; }
  #liga-studio .chat-layout.show-list .chat-lista { display: flex; }
  #liga-studio .chat-layout.show-list .chat-thread { display: none; }
  #liga-studio .chat-thread { min-height: 0; }
  #liga-studio .chat-conversa-tempo { display: block; }
  #liga-studio .chat-msg:not(.meu) { padding-right: 8px; }
  #liga-studio .chat-msg.meu { padding-left: 22px; }
}

/* Aprendizado — equivalentes para <a> e ganchos legados (.curso-card, .chip-filtro, .hub-stat) */
.liga-v2 .v2-page.courses-view {
  max-width: 1340px;
  padding: 35px 38px 24px;
}

#liga-studio .l-learn-tabs > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 15px;
  background: none;
  border: 0;
  font-size: 14px;
  font-weight: 550;
  color: #847c6c;
  position: relative;
  text-decoration: none;
}

#liga-studio .l-learn-tabs > a[aria-current="page"] {
  color: #937331;
  font-weight: 750;
}

#liga-studio .l-learn-tabs > a[aria-current="page"]:after {
  content: '';
  height: 3px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background: #b39148;
  border-radius: 3px;
}

#liga-studio .l-learn-filters a,
#liga-studio .l-learn-filters span,
#liga-studio .chip-filtro,
#liga-studio .hub-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid #e6dfd0;
  border-radius: 25px;
  color: #968362;
  font-size: 12px;
  padding: 7px 13px;
  text-decoration: none;
  font-weight: 430;
  line-height: 1.3;
}

#liga-studio .l-learn-filters a:hover {
  border-color: #d4bd89;
}

#liga-studio .l-learn-filters a[aria-pressed="true"],
#liga-studio .l-learn-filters span[aria-pressed="true"],
#liga-studio .chip-filtro.ativo {
  background: #f1e8d1;
  border-color: #d4bd89;
  color: #8a6c33;
  font-weight: 650;
}

#liga-studio .l-learn-filters a.l-learn-text-link {
  border: 0;
  background: none;
  padding: 7px 0;
  color: #957738;
  font-weight: 650;
}

#liga-studio .l-learn-card.curso-card {
  display: flex;
  flex-direction: column;
  transform: none;
}

#liga-studio .l-learn-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

#liga-studio .l-learn-card-body h2 a {
  color: inherit;
  text-decoration: none;
}

#liga-studio .l-learn-card-body h2 a:hover {
  color: #8b6c2e;
}

#liga-studio .l-learn-card-foot > a {
  display: flex;
  gap: 5px;
  align-items: center;
  background: none;
  border: 0;
  padding: 3px 0;
  font-size: 11px;
  font-weight: 700;
  color: #947234;
  text-decoration: none;
}

#liga-studio .l-learn-card-foot > span .cat-preco {
  color: #806126;
  font-weight: 700;
  font-size: 12px;
}

#liga-studio .l-learn-card-foot > span .cat-rating {
  color: #b39148;
  font-weight: 600;
}

#liga-studio .l-learn-card-foot > span .cnt {
  color: #8d826c;
  font-weight: 400;
}

#liga-studio .l-learn-card-foot > span .cat-vagas {
  color: #91401b;
}

#liga-studio a.l-learn-text-link {
  text-decoration: none;
}

#liga-studio .l-learn-cover.has-cover {
  background-color: #04261a;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 1152 / 1080;
  min-height: 0;
  padding: 0;
}

#liga-studio .l-learn-cover.has-cover::before,
#liga-studio .l-learn-cover.has-cover::after {
  display: none;
}

#liga-studio .l-learn-cover.has-cover > :not(.l-learn-lock-status) {
  display: none;
}

#liga-studio .l-learn-cover .l-learn-lock-status {
  z-index: 1;
}

#liga-studio a.l-learn-step-card {
  color: inherit;
  text-decoration: none;
}

#liga-studio .l-learn-trail-list .l-learn-step + .l-learn-step {
  margin-top: 28px;
}

#liga-studio .l-learn-step-art.has-cover {
  background-size: cover;
  background-position: center;
}

#liga-studio .l-learn-step-art.has-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #d4b360b3;
}

#liga-studio .l-learn-step-art.has-cover > * {
  position: relative;
}

#liga-studio .l-learn-step-copy h3 {
  margin: 4px 0 6px;
}

#liga-studio .cat-topbar .l-header-tools {
  margin-left: auto;
  gap: 10px;
}

#liga-studio .cat-topbar .l-button.cat-btn {
  min-height: 40px;
}

@media (max-width: 1180px) {
  .liga-v2 .v2-page.courses-view { padding: 28px 22px 20px; }
}

@media (max-width: 620px) {
  .liga-v2 .v2-page.courses-view { padding: 25px 13px 15px; }
  #liga-studio .l-learn-tabs { flex-wrap: wrap; gap: 8px 18px; justify-content: flex-start; }
  #liga-studio .l-learn-tabs > a { font-size: 12px; gap: 5px; padding-bottom: 13px; }
  #liga-studio .l-learn-filters a, #liga-studio .l-learn-filters span, #liga-studio .chip-filtro, #liga-studio .hub-stat { font-size: 10px; padding: 7px 10px; }
}

/* Ajustes pós-revisão: chat (cabeçalho da caixa de entrada) e trilhas (arte do passo) */
#liga-studio .l-dm-inbox-head > div { min-width: 0; }
#liga-studio .l-dm-inbox-head p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#liga-studio .l-learn-step-art { position: relative; overflow: hidden; }

/* Eventos, agenda e desempenho — contêineres e equivalentes para <a> */
.liga-v2 .v2-page.events-view,
.liga-v2 .v2-page.performance-view {
  max-width: 1340px;
  padding: 38px 38px 56px;
}

#liga-studio a.l-event-access-pill {
  text-decoration: none;
}

#liga-studio .agenda-calendario {
  margin: 0 0 26px;
  align-items: center;
  flex-wrap: wrap;
}

#liga-studio .agenda-calendario > svg {
  margin-top: 0;
  color: #9a7d40;
}

#liga-studio .agenda-calendario .l-button {
  flex-shrink: 0;
}

#liga-studio .l-live-cover.has-cover {
  min-height: 0;
  padding: 0;
  background: #f4f1e9;
}

#liga-studio .l-live-cover-img {
  display: block;
  width: 100%;
  height: auto;
}

#liga-studio .l-live-card-past .l-live-cover.has-cover {
  min-height: 0;
}

#liga-studio .l-live-cover.has-cover::before,
#liga-studio .l-live-cover.has-cover::after {
  content: none;
}

#liga-studio .l-live-cover.has-cover > :not(.l-live-badge) {
  position: relative;
  z-index: 1;
}

#liga-studio .l-live-badge.live {
  color: #a14031;
}

#liga-studio .l-live-access.agenda-rsvp {
  display: grid;
  gap: 10px;
}

#liga-studio .l-live-rsvp {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

#liga-studio .l-live-rsvp .l-button {
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 22px;
}

#liga-studio .l-live-rsvp .l-button.ativa,
#liga-studio .l-live-rsvp .l-button[aria-pressed="true"] {
  background: #f6eedc;
  border-color: #a98338;
  color: #805d18;
}

#liga-studio .agenda-reuniao-acoes {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

#liga-studio .agenda-reuniao-acoes form {
  text-align: center;
}

#liga-studio .l-live-card-past .l-live-cover {
  min-height: 150px;
  filter: saturate(.7);
}

#liga-studio .l-live-grid-past {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#liga-studio .l-live-body .l-button.full {
  margin-top: 14px;
}

#liga-studio .l-live-body .l-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}

#liga-studio .agenda-menu.l-dash-shortcuts {
  margin: 0 0 26px;
}

#liga-studio .agenda-opcao-bloqueada {
  opacity: .6;
  cursor: not-allowed;
}

#liga-studio .pf-dashboard {
  --pf-line: #e9e2d2;
  --pf-muted: #706b60;
}

#liga-studio .pf-stats article.kpi {
  display: block;
  gap: 0;
}

#liga-studio .pf-course h3 a {
  color: inherit;
  text-decoration: none;
}

#liga-studio .pf-course-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#liga-studio .pf-course-stats .cc-stat {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #f8f7f4;
  text-align: left;
}

#liga-studio .cc-stat-lbl {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #9a7d40;
}

#liga-studio .cc-stat-val {
  font-family: var(--liga-font);
  font-size: 20px;
  font-weight: 750;
  color: #806126;
  letter-spacing: -.5px;
}

#liga-studio .cc-stat-val.vazio {
  color: #b7ad9c;
}

#liga-studio .cc-stat-sub {
  font-size: 11px;
  color: var(--pf-muted);
}

#liga-studio .cc-evo-delta.ok {
  color: #487052;
}

#liga-studio .pf-course-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

#liga-studio .pf-course-actions form {
  margin: 0;
}

#liga-studio .pf-more {
  cursor: pointer;
}

#liga-studio .l-rules-grid.conquistas-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#liga-studio .l-rule.conquista {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

#liga-studio .l-rule.conquista > strong {
  margin-left: 0;
  white-space: normal;
  color: var(--l-ink);
  font-size: 14px;
}

#liga-studio .l-rule.conquista p {
  margin: 0;
}

#liga-studio .l-rule.conquista .conquista-emoji {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #faf5e8;
  font-size: 20px;
}

#liga-studio .l-rule.conquista.bloqueada {
  opacity: .55;
}

#liga-studio .l-rule.conquista .l-note {
  display: flex;
  align-items: center;
  gap: 5px;
}

#liga-studio .inline-form {
  display: inline;
  margin: 0;
}

#liga-studio .l-performance-hero {
  margin-bottom: 22px;
}

@media (max-width: 1180px) {
  .liga-v2 .v2-page.events-view, .liga-v2 .v2-page.performance-view { padding: 27px 18px 35px; }
  #liga-studio .l-live-grid-past { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  #liga-studio .l-rules-grid.conquistas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .liga-v2 .v2-page.events-view, .liga-v2 .v2-page.performance-view { padding: 24px 12px; }
  #liga-studio .l-live-grid-past, #liga-studio .l-rules-grid.conquistas-grid, #liga-studio .pf-course-stats { grid-template-columns: 1fr; }
}

/* Telas "cx" (perfil, notificações, salvos, busca, pessoa) — complementos às regras cx-* da prévia */
.liga-v2 .v2-page.cx-view {
  max-width: 1160px;
}

#liga-studio .cx-view .l-card {
  padding: 28px;
  margin-bottom: 20px;
}

#liga-studio .cx-view .l-card > h2 {
  margin: 8px 0 14px;
  font-size: 20px;
}

#liga-studio .cx-view .l-card > .l-learn-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.45px;
  font-weight: 750;
  color: #987b3e;
}

#liga-studio .cx-view .l-card > .l-note + form,
#liga-studio .cx-view .l-card > .l-note + a {
  margin-top: 14px;
}

#liga-studio .cx-column {
  min-width: 0;
}

#liga-studio .cx-profile-summary {
  gap: 16px;
}

#liga-studio .cx-profile-summary h2 {
  margin: 0;
  font-size: 19px;
}

#liga-studio .cx-avatar-form {
  margin: 0;
}

#liga-studio .cx-avatar-edit {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

#liga-studio .cx-avatar-edit:hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #00000022;
}

#liga-studio .cx-form {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

#liga-studio .cx-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
}

#liga-studio .cx-form .campo {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

#liga-studio .cx-field-wide {
  grid-column: 1 / -1;
}

#liga-studio .cx-form .l-field-label {
  margin: 10px 0 6px;
}

#liga-studio .cx-form .l-field:disabled {
  background: #f5f3ed;
  color: #857c6d;
}

#liga-studio .cx-form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

#liga-studio .senha-regras {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: #8b8170;
}

#liga-studio .senha-regras li::before {
  content: '○ ';
  color: #b7ad9c;
}

#liga-studio .senha-regras li.ok {
  color: #487052;
}

#liga-studio .senha-regras li.ok::before {
  content: '✓ ';
  color: #487052;
}

#liga-studio .cx-links {
  display: grid;
  gap: 4px;
}

#liga-studio .cx-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 9px;
  color: #736b5b;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}

#liga-studio .cx-links a:hover {
  background: #f5eedc;
  color: #8b6c2e;
}

#liga-studio .cx-links a svg:last-child {
  margin-left: auto;
  width: 14px;
  height: 14px;
  color: #b3a587;
}

#liga-studio .cx-links a svg:first-child {
  color: #9a7d40;
}

#liga-studio .cx-pref-list {
  display: grid;
  gap: 0;
  margin-top: 6px;
}

#liga-studio .cx-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--l-line);
  font-size: 14px;
}

#liga-studio .cx-pref-options {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

#liga-studio .cx-pref-options .cx-check {
  padding: 0;
  gap: 8px;
  font-size: 13px;
}

#liga-studio .cx-help-card .l-textbtn {
  display: inline-block;
  margin-top: 12px;
}

/* Listas (notificações, salvos, busca) */
#liga-studio .cx-list-cards,
#liga-studio .cx-list-plain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

#liga-studio .cx-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin: 0;
}

#liga-studio .cx-list-item.is-unread,
#liga-studio .cx-list-item.nao-lida {
  border-color: #e3d5b3;
  background: #fffdf8;
}

#liga-studio .cx-list-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f6f0e1;
  color: #9a7d40;
  font-size: 18px;
  flex-shrink: 0;
}

#liga-studio .cx-list-title {
  display: block;
  color: var(--l-ink);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -.2px;
}

#liga-studio a.cx-list-title:hover {
  color: #8b6c2e;
}

#liga-studio .cx-list-item p {
  margin: 4px 0 6px;
  color: #706a5e;
  font-size: 13px;
  line-height: 1.6;
}

#liga-studio .cx-list-item > a.l-grow {
  display: grid;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

#liga-studio .cx-list-item > a.l-grow .l-post-category {
  margin-bottom: 0;
}

#liga-studio .cx-list-item > svg:last-child {
  color: #b3a587;
}

#liga-studio .cx-list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--l-line);
}

#liga-studio .cx-list-row .l-button {
  flex-shrink: 0;
}

#liga-studio .cx-saved-head {
  margin-bottom: 8px;
}

#liga-studio .cx-saved-head h2 {
  margin: 4px 0 0;
  font-size: 19px;
}

#liga-studio .cx-search-card {
  padding: 18px;
  display: grid;
  gap: 12px;
}

#liga-studio .cx-search-filters {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

#liga-studio .cx-search-filters .l-select {
  min-height: 0;
  width: auto;
  margin-left: 6px;
  font-size: 12px;
  padding: 7px 9px;
  background: #fff;
}

#liga-studio .cx-search-filters .l-button {
  margin-left: auto;
}

#liga-studio .busca-bloco {
  margin-bottom: 26px;
}

#liga-studio .busca-bloco .l-section-head {
  margin: 8px 0 14px;
}

/* Pessoa */
#liga-studio .cx-person-card {
  align-items: flex-start;
  gap: 20px;
}

#liga-studio .cx-person-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

#liga-studio .cx-person-quote {
  font-family: var(--liga-font);
  font-size: 17px;
  line-height: 1.6;
  color: #5f4718;
  margin: 10px 0;
}

#liga-studio .perfil-medalhas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}

#liga-studio .cx-person-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

#liga-studio .cx-person-actions form {
  margin: 0;
}

#liga-studio .cx-person-item {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-top: 1px solid var(--l-line);
  color: var(--l-ink);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
}

#liga-studio .cx-person-item:hover strong,
#liga-studio .cx-person-item:hover > span {
  color: #8b6c2e;
}

#liga-studio .cx-person-item strong {
  font-size: 15px;
  font-weight: 650;
}

#liga-studio .cx-person-item > span {
  color: #6d675c;
}

@media (max-width: 760px) {
  #liga-studio .cx-form-grid { grid-template-columns: 1fr; }
  #liga-studio .cx-view .l-card { padding: 20px; }
  #liga-studio .cx-list-item { flex-wrap: wrap; }
  #liga-studio .cx-pref-row { flex-direction: column; align-items: flex-start; }
}

/* Ajustes pós-revisão 2 */
#liga-studio .l-live-cover.has-cover .l-live-badge,
#liga-studio .l-learn-cover.has-cover .l-learn-lock-status { position: absolute; z-index: 2; }
#liga-studio .pf-post.conquista { text-align: left; display: block; border-radius: 0; background: none; box-shadow: none; }
#liga-studio .pf-post.conquista h3 { text-align: left; }
#liga-studio a.l-textbtn { text-decoration: none; }
#liga-studio a.l-textbtn:hover { color: #6f511b; }

/* Busca: neutraliza regras legadas de .busca-* */
#liga-studio .busca-form .l-search-field input,
#liga-studio .busca-form .l-search-field input:focus { min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 15px; width: auto; flex: 1; }
#liga-studio .busca-form .l-search-field { padding: 10px 14px; }
#liga-studio .busca-item > a { border: 0; padding: 0; background: none; box-shadow: none; display: grid; }
#liga-studio .busca-item-tipo { background: none; padding: 0; border-radius: 0; width: auto; }
#liga-studio .busca-item-titulo { border: 0; background: none; }

/* Entrada (login/cadastro/recuperação) — equivalentes para <a>/<textarea> e página */
body.liga-v2.v2-entry-page { padding: 16px; background: #fafafc; }
#liga-studio #liga-entry { max-width: 1600px; margin: 0 auto; }
#liga-studio .en-shell.v2-entry-layout { display: grid; background: #fff; margin: 0; min-height: 850px; }
#liga-studio .en-story.v2-entry-story { display: flex; }
#liga-studio .en-tabs a { flex: 1; border: 0; font: inherit; font-size: 14px; font-weight: 600; background: none; color: #726b5d; border-radius: 8px; padding: 11px; cursor: pointer; min-height: 44px; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; }
#liga-studio .en-tabs a[aria-current="page"] { background: #fff; box-shadow: 0 2px 8px #5544220d; color: #775821; }
#liga-studio .en-field textarea { box-sizing: border-box; background: #fafaf8; border: 1px solid #e3e0d8; border-radius: 9px; padding: 12px 14px; font: inherit; font-size: 15px; color: #36342d; min-height: 96px; width: 100%; outline: none; }
#liga-studio .en-field textarea:focus { border-color: #ad8940; box-shadow: 0 0 0 3px #b3965c18; background: #fff; }
#liga-studio .en-field .campo-senha input { padding-right: 46px; }
#liga-studio .en-field .opcional { color: #8b8170; font-weight: 400; font-size: 12px; }
#liga-studio .en-field .senha-regras { margin: 8px 0 0; }
#liga-studio a.en-forgot, #liga-studio a.en-explore, #liga-studio a.en-back, #liga-studio a.en-google, #liga-studio a.en-submit { text-decoration: none; }
#liga-studio a.en-forgot { display: flex; justify-content: flex-end; align-items: center; width: max-content; margin-left: auto; }
#liga-studio .en-google svg { width: 18px; height: 18px; }
#liga-studio .en-google:hover { background: #faf7ef; }
#liga-studio .en-bottom a { color: #8c6b2d; }
#liga-studio .v2-entry-header { margin-bottom: 4px; }
#liga-studio .v2-entry-foot { margin-top: 14px; }
#liga-studio .en-roles[aria-invalid="true"] legend { color: #a14031; }
#liga-studio .en-roles:focus { outline: 3px solid #c7a86b; outline-offset: 4px; }
#liga-studio #liga-entry .en-google:disabled { cursor: not-allowed; }
#liga-studio #liga-entry .en-submit:disabled { cursor: wait; opacity: .75; }
#liga-studio #liga-entry .en-field input:focus-visible { outline: none; }
#liga-studio #liga-entry input[type="checkbox"]:focus-visible { outline: 3px solid #c7a86b; outline-offset: 3px; }
#liga-studio .en-alert[role="status"] { background: #f7f0e0; border-left: 3px solid #b1924e; padding: 12px 14px; font-size: 14px; line-height: 1.6; color: #79612f; margin: 15px 0; }
#liga-studio .en-story li svg { width: 21px; height: 21px; flex-shrink: 0; }
@media (max-width: 760px) {
  #liga-studio .en-shell.v2-entry-layout { display: block; min-height: 0; }
  #liga-studio .en-story.v2-entry-story { min-height: 0; }
}

/* Páginas públicas (404/403/erro/expirado/legais) */
#liga-studio .v2-public-header { display: flex; align-items: center; min-height: 82px; padding: 0 30px; background: #fff; border-bottom: 1px solid var(--l-line); }
#liga-studio .v2-public-main { display: grid; place-items: center; min-height: calc(100vh - 82px); padding: 32px 16px; }
#liga-studio .v2-public-state { max-width: 520px; width: 100%; text-align: center; padding: 40px 32px; display: grid; justify-items: center; gap: 10px; }
#liga-studio .v2-public-code { font-family: var(--liga-font); font-size: 64px; font-weight: 800; letter-spacing: -3px; color: #a27a2c; line-height: 1; }
#liga-studio .v2-public-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #f5ecd4; color: #8b6c2d; font-size: 24px; }
#liga-studio .v2-public-state h1, #liga-studio .v2-public-state h2 { font-size: 24px; margin: 4px 0 0; }
#liga-studio .v2-public-state p { color: #706a5e; font-size: 14px; line-height: 1.7; margin: 0; max-width: 44ch; }
#liga-studio .v2-public-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
#liga-studio .v2-legal { max-width: 820px; margin: 0 auto; padding: 24px 24px 60px; }
#liga-studio .v2-legal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0 28px; border-bottom: 1px solid var(--l-line); margin-bottom: 32px; }
#liga-studio .v2-legal article h1 { font-size: 34px; letter-spacing: -1.2px; margin: 8px 0 12px; }
#liga-studio .v2-legal article h2 { font-size: 19px; margin: 28px 0 8px; }
#liga-studio .v2-legal article p { color: #4f493f; line-height: 1.75; font-size: 15px; }

/* Detalhe do curso */
#liga-studio .l-learn-meta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0; font-size: 12px; color: #8b7957; }
#liga-studio .l-learn-meta-row span { display: inline-flex; align-items: center; gap: 6px; }
#liga-studio .l-learn-meta-row strong { color: var(--l-ink); font-weight: 700; }
#liga-studio .l-learn-meta-row svg { color: #a67c32; }
#liga-studio .l-learn-purchase .cx-total { margin: 8px 0; }
#liga-studio .l-learn-purchase form { margin: 0; }
#liga-studio .l-learn-purchase .l-button { margin-top: 8px; }
#liga-studio .l-learn-purchase small { display: block; margin-top: 10px; font-size: 11px; color: #9a8d70; }
#liga-studio .l-learn-outline .l-comments { border-top: 0; margin-top: 18px; padding: 0; background: none; border-radius: 0; }
#liga-studio .l-learn-outline .l-answer .estrelas { letter-spacing: 1px; }
#liga-studio .l-learn-outline .l-answer .estrelas .vazio { color: #cfc6b3; }
#liga-studio .l-learn-detail-cover .l-learn-cover { min-height: 310px; }
#liga-studio .l-learn-detail-cover .l-learn-cover > strong { font-size: 44px; }
#liga-studio a.l-learn-back { text-decoration: none; }

/* Ajustes pós-revisão 3 */
#liga-studio .en-eye.btn-olho { position: absolute; right: 1px; top: 1px; bottom: 1px; left: auto; transform: none; width: 43px; height: auto; margin: 0; padding: 0; border: 0; background: transparent; border-radius: 7px; color: #8d8065; display: grid; place-items: center; }
#liga-studio .en-eye.btn-olho svg { width: 18px; height: 18px; }
#liga-studio .en-input-wrap.campo-senha { display: block; }
#liga-studio .v2-entry-header { margin-bottom: 18px; }
#liga-studio .cx-total strong.cd-preco { font-family: var(--liga-font); font-weight: 750; }
#liga-studio .l-learn-back.btn-voltar { border: 0; background: none; padding: 0; min-height: 0; box-shadow: none; color: #947a43; font-size: 12px; font-weight: 430; }

/* Ajustes pós-revisão 4: mobile e player */
@media (max-width: 620px) {
  #liga-studio .l-layout.v2-community-layout { display: flex; flex-direction: column; }
  #liga-studio .l-layout.v2-community-layout > * { width: 100%; min-width: 0; }
}
@media (max-width: 760px) {
  #liga-studio .en-shell.v2-entry-layout { display: block; grid-template-columns: 1fr; }
  #liga-studio .en-shell.v2-entry-layout > * { min-width: 0; max-width: 100%; }
}
#liga-studio .player-topo .btn-voltar,
#liga-studio .player-main .btn-voltar { display: inline-flex; width: auto; border: 0; background: none; padding: 0; min-height: 0; color: #947a43; font-size: 12px; font-weight: 600; margin-bottom: 14px; }
#liga-studio .mod-bloco.mod-atual { border-color: #e3d5b3; background: #fffcf6; }
#liga-studio .mod-anel, #liga-studio .mod-bloco .mod-anel { background: #f5ecd4; border-color: #d4bd89; color: #8b6c2d; }
#liga-studio .mod-bloco.mod-atual .mod-anel, #liga-studio .mod-bloco.concluido .mod-anel { background: #a27a2c; border-color: #a27a2c; color: #fff; }
#liga-studio .ponto-check, #liga-studio .trilha-item .ponto-check { background: #a27a2c; border-color: #a27a2c; color: #fff; }
#liga-studio .trilha-item.atual, #liga-studio .trilha-item.ativa { background: #f5eedc; color: #8b6c2e; }
#liga-studio .btn-verde { background: linear-gradient(120deg, #a2823e, #8f6d2e); border-color: #927332; }
@media (max-width: 620px) {
  #liga-studio .com-centro, #liga-studio .com-espacos, #liga-studio .com-ranking { flex: none; width: 100%; min-width: 0; max-width: 100%; }
}
#liga-studio .l-feed.com-centro { display: block; grid-template-columns: none; }
#liga-studio .com-composer-dica { display: block; }
