/* Portal de Treinamento Claude — Natural One
 *
 * Built on the LP Digital Hive design system imported from Claude Design. Every value
 * here comes from that project: the token block below is copied from the design
 * system's own bundle, and the component rules transcribe its screens.
 *
 * The design expresses everything as inline styles. This portal serves a strict
 * Content-Security-Policy with `style-src 'self'`, which blocks style attributes, so
 * each inline rule became a class. Where a value has to vary at runtime (progress),
 * the template sets a data-attribute and the variation lives here — never a style
 * attribute.
 */

@import url("fonts.css");

/* ------------------------------------------------------------------ tokens */

:root {
  --lpdh-color-brand-500: #fa4616;
  --lpdh-color-brand-interactive: #d33005;
  --lpdh-color-brand-interactive-hover: #b52904;
  --lpdh-color-brand-interactive-active: #972204;
  --lpdh-color-semantic-success: #207929;
  --lpdh-color-semantic-danger: #dd000c;
  --lpdh-color-semantic-danger-interactive: #c9000b;
  --lpdh-color-semantic-info: #0087ce;
  --lpdh-color-semantic-info-interactive: #006ca5;

  --lpdh-font-family-body: "Poppins", system-ui, sans-serif;
  --lpdh-font-family-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --lpdh-font-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --lpdh-space-1: 4px;
  --lpdh-space-2: 8px;
  --lpdh-space-3: 12px;
  --lpdh-space-4: 16px;
  --lpdh-space-6: 24px;
  --lpdh-space-8: 32px;
  --lpdh-space-12: 48px;
  --lpdh-space-16: 64px;
  --lpdh-space-24: 96px;

  --lpdh-radius-sm: 6px;
  --lpdh-radius-md: 8px;
  --lpdh-radius-lg: 12px;
  --lpdh-radius-xl: 16px;

  --lpdh-motion-duration-fast: 0.15s;
  --lpdh-motion-duration-base: 0.25s;
  --lpdh-motion-easing-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

:root,
[data-theme="light"] {
  --lpdh-color-bg: #ede9de;
  --lpdh-color-surface: #e4ddcd;
  --lpdh-color-surface-2: #dbd2bd;
  --lpdh-color-border: #cdc0a2;
  --lpdh-color-border-strong: #927e4f;
  --lpdh-color-text-secondary: #605234;
  --lpdh-color-ink: #322b1b;
  --lpdh-color-overlay: #322b1b8c;
  --lpdh-color-inverse-surface: #3b3126;
  --lpdh-color-inverse-text: #f1ede9;
  --lpdh-color-brand-soft-bg: #e9c3b9;
  --lpdh-color-brand-soft-text: #a52504;
  --lpdh-color-semantic-success-text: #1c6924;
  --lpdh-color-semantic-success-soft-bg: #c2e0c5;
  --lpdh-color-semantic-success-soft-text: #1d6d25;
  --lpdh-color-semantic-danger-text: #ba000a;
  --lpdh-color-semantic-danger-soft-bg: #eab8bb;
  --lpdh-color-semantic-danger-soft-text: #a80009;
  --lpdh-color-semantic-info-text: #006093;
  --lpdh-color-semantic-info-soft-bg: #b8d9ea;
  --lpdh-color-semantic-info-soft-text: #006194;
  --lpdh-shadow-sm: 0 1px 2px #322b1b14, 0 1px 1px #322b1b0f;
  --lpdh-shadow-md: 0 4px 8px #322b1b1f, 0 2px 4px #322b1b14;
  --lpdh-shadow-lg: 0 12px 24px #322b1b2e, 0 4px 8px #322b1b1a;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--lpdh-color-bg);
  color: var(--lpdh-color-ink);
  font-family: var(--lpdh-font-family-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--lpdh-color-brand-soft-text);
  text-decoration: none;
}

a:hover {
  color: var(--lpdh-color-brand-interactive);
}

::selection {
  background: var(--lpdh-color-brand-soft-bg);
  color: var(--lpdh-color-ink);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--lpdh-font-family-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.np::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.np::-webkit-scrollbar-thumb {
  background: var(--lpdh-color-border);
  border-radius: 8px;
}

/* ----------------------------------------------------------- accessibility */

.pular {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 16px;
  background: var(--lpdh-color-ink);
  color: var(--lpdh-color-inverse-text);
}

.pular:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--lpdh-color-brand-interactive);
  outline-offset: 2px;
  border-radius: 3px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ------------------------------------------------------- shared type roles */

.eyebrow {
  margin: 0 0 8px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.eyebrow--quieto {
  color: var(--lpdh-color-text-secondary);
}

.titulo-tela {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--lpdh-color-text-secondary);
  max-width: 44rem;
  text-wrap: pretty;
}

.dados {
  font-variant-numeric: tabular-nums;
}

.prosa {
  max-width: 46rem;
  font-size: 14.5px;
  line-height: 1.7;
}

.prosa h2 {
  margin: 30px 0 10px;
  font-size: 19px;
}

.prosa h3 {
  margin: 24px 0 8px;
  font-size: 16px;
}

.prosa p,
.prosa ul,
.prosa ol {
  margin: 0 0 14px;
}

.prosa ul,
.prosa ol {
  padding-left: 20px;
}

.prosa li {
  margin-bottom: 6px;
}

.prosa blockquote {
  margin: 20px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--lpdh-color-brand-interactive);
  color: var(--lpdh-color-text-secondary);
}

.prosa code {
  font-family: var(--lpdh-font-family-mono);
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--lpdh-color-surface);
}

.prosa strong {
  font-weight: 600;
}

/* ------------------------------------------------------------ logged out */

.entrada {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100vh;
}

.entrada__marca {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px 60px;
  background: var(--lpdh-color-surface);
  border-right: 1px solid var(--lpdh-color-border);
}

.entrada__brilho {
  position: absolute;
  right: -180px;
  top: -180px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(211, 48, 5, 0.16), rgba(211, 48, 5, 0) 66%);
}

.entrada__topo,
.entrada__meio,
.entrada__base {
  position: relative;
}

.entrada__logo {
  height: 44px;
  width: auto;
}

.entrada__meio {
  max-width: 30rem;
}

.entrada__eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.entrada__titulo {
  margin: 0 0 20px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.entrada__lead {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--lpdh-color-text-secondary);
  max-width: 28rem;
  text-wrap: pretty;
}

.entrada__base {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--lpdh-color-border);
}

.numero__valor {
  margin: 0;
  font-family: var(--lpdh-font-family-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lpdh-color-brand-soft-text);
}

.numero__rotulo {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--lpdh-color-text-secondary);
}

.entrada__painel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
}

.forma {
  width: 100%;
  max-width: 24rem;
}

.forma--larga {
  max-width: 30rem;
}

.forma__titulo {
  margin: 0 0 6px;
  font-size: 27px;
  letter-spacing: -0.02em;
}

.forma__lead {
  margin: 0 0 30px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.forma__nota {
  margin: 22px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

/* -------------------------------------------------------------- enrolment */

.passos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lpdh-color-border-strong);
}

.passos__feito,
.passos__atual {
  color: var(--lpdh-color-brand-soft-text);
  font-weight: 600;
}

.qr-cartao {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
}

.qr-cartao__codigo {
  width: 124px;
  height: 124px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: var(--lpdh-radius-lg);
  background: #fff;
  border: 1px solid var(--lpdh-color-border);
}

.qr-cartao__codigo svg {
  width: 100%;
  height: auto;
}

.qr-cartao__lado {
  min-width: 0;
}

.qr-cartao__ajuda {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.chave {
  margin: 0;
  padding: 9px 11px;
  border-radius: var(--lpdh-radius-md);
  background: var(--lpdh-color-bg);
  border: 1px solid var(--lpdh-color-border);
  font: 400 12.5px/1.5 var(--lpdh-font-family-mono);
  word-break: break-all;
  color: var(--lpdh-color-ink);
}

.codigos-backup {
  list-style: none;
  margin: 16px 0 20px;
  padding: 20px;
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
  border: 1px solid var(--lpdh-color-border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 8px 20px;
  font: 500 14px/1.6 var(--lpdh-font-family-mono);
  letter-spacing: 0.06em;
}

/* ------------------------------------------------------------------ forms */

.campo {
  margin-bottom: 18px;
}

.campo__rotulo {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin: 0 0 7px;
}

.campo__ajuda {
  margin: 7px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.input,
.area {
  width: 100%;
  font: 400 14px/1.4 var(--lpdh-font-family-body);
  color: var(--lpdh-color-ink);
  background: var(--lpdh-color-bg);
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-md);
  padding: 10px 12px;
}

.input {
  height: 40px;
}

.area {
  min-height: 86px;
  resize: vertical;
}

.input::placeholder,
.area::placeholder {
  color: var(--lpdh-color-border-strong);
}

.input:focus,
.area:focus {
  outline: none;
  border-color: var(--lpdh-color-brand-interactive);
  box-shadow: 0 0 0 3px rgba(211, 48, 5, 0.16);
}

.input--codigo {
  height: 56px;
  text-align: center;
  letter-spacing: 0.3em;
  font: 600 20px/1 var(--lpdh-font-family-mono);
  padding-left: 0.3em;
}

.input--busca {
  height: 36px;
  font-size: 13px;
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--lpdh-radius-md);
  border: 1px solid transparent;
  background: var(--lpdh-color-brand-interactive);
  color: #fff;
  font: 600 13.5px/1 var(--lpdh-font-family-body);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--lpdh-motion-duration-fast) var(--lpdh-motion-easing-standard);
}

.botao:hover {
  background: var(--lpdh-color-brand-interactive-hover);
  color: #fff;
}

.botao:active {
  background: var(--lpdh-color-brand-interactive-active);
}

.botao--secundario {
  background: var(--lpdh-color-bg);
  border-color: var(--lpdh-color-border);
  color: var(--lpdh-color-ink);
}

.botao--secundario:hover {
  background: var(--lpdh-color-surface-2);
  border-color: var(--lpdh-color-border-strong);
  color: var(--lpdh-color-ink);
}

.botao--claro {
  background: #fff;
  color: var(--lpdh-color-brand-soft-text);
}

.botao--claro:hover {
  background: #fff;
  color: var(--lpdh-color-brand-interactive-active);
}

.botao--fantasma {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  font-weight: 500;
}

.botao--fantasma:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.botao--larga {
  width: 100%;
}

/* The live-session call to action. A soft ring rather than a colour change, so it reads as
   "this is happening now" without shouting over the brand red it sits on. */
.botao--pulsando {
  animation: anelVivo 2s ease-in-out infinite;
}

@keyframes anelVivo {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }
}

.proxima__aviso {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
}

.botao--pequeno {
  height: 32px;
  padding: 0 14px;
  font-size: 12.5px;
}

.botao[disabled],
.botao[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.ligacao {
  padding: 0;
  border: none;
  background: none;
  color: var(--lpdh-color-brand-soft-text);
  font: 600 13px/1.4 var(--lpdh-font-family-body);
  cursor: pointer;
  text-decoration: none;
}

.ligacao:hover {
  color: var(--lpdh-color-brand-interactive);
}

.ligacao--quieta {
  color: var(--lpdh-color-text-secondary);
  font-weight: 400;
}

.ligacao--quieta:hover {
  color: var(--lpdh-color-ink);
}

/* ---------------------------------------------------------------- notices */

.aviso {
  padding: 12px 14px;
  border-radius: var(--lpdh-radius-md);
  border: 1px solid transparent;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.aviso--erro {
  background: var(--lpdh-color-semantic-danger-soft-bg);
  border-color: var(--lpdh-color-semantic-danger-text);
  color: var(--lpdh-color-semantic-danger-soft-text);
}

.aviso--atencao {
  background: var(--lpdh-color-brand-soft-bg);
  border-color: var(--lpdh-color-brand-interactive);
  color: var(--lpdh-color-brand-soft-text);
}

.aviso--ok {
  background: var(--lpdh-color-semantic-success-soft-bg);
  border-color: var(--lpdh-color-semantic-success-text);
  color: var(--lpdh-color-semantic-success-soft-text);
}

.aviso ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* --------------------------------------------------------------- app shell */

.app {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

.lateral {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 26px 0 20px;
  background: var(--lpdh-color-surface);
  border-right: 1px solid var(--lpdh-color-border);
}

.lateral__marca {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 0 22px 22px;
  color: inherit;
}

.lateral__simbolo {
  width: 34px;
  height: 34px;
  flex: none;
  object-fit: contain;
}

.lateral__marca-texto {
  min-width: 0;
}

.lateral__kicker {
  display: block;
  margin: 0 0 2px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lpdh-color-border-strong);
}

.lateral__curso {
  display: block;
  margin: 0;
  /* The name is two words and must stay on one line under the label, as the design
     shows it — never wrapped mid-phrase. */
  white-space: nowrap;
  font-family: var(--lpdh-font-family-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lateral__turma {
  margin: 0 14px 22px;
  padding: 12px 14px;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-bg);
}

.lateral__turma-rotulo {
  margin: 0 0 8px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-border-strong);
}

.lateral__turma-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lateral__turma-nome {
  font-size: 13.5px;
  font-weight: 600;
}

.pulso {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: var(--lpdh-color-brand-soft-text);
}

.pulso::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lpdh-color-brand-interactive);
  animation: pulseDot 1.6s infinite;
}

/* ------------------------------------------------------- instructor turma panel */

/* A native <select> was wrong here: the browser draws its open menu with the operating
 * system's own chrome — grey panel, blue highlight — which no stylesheet can reach. Every
 * turma is a submit button instead, so the open state is as designed as the closed one.
 *
 * The panel is deliberately distinct from the participant's "Sua turma" block: this view
 * belongs to the instructor, and it should not read as something a participant also has. */
.painel-instrutor {
  margin: 0 14px 22px;
  padding: 12px 12px 10px;
  border: 1px solid var(--lpdh-color-brand-soft-bg);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-bg);
}

.painel-instrutor__rotulo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding-left: 2px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.painel-instrutor__marca {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--lpdh-color-brand-interactive);
}

.turmas {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.turma-opcao {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 8px;
  border: none;
  border-radius: var(--lpdh-radius-md);
  background: transparent;
  color: var(--lpdh-color-text-secondary);
  font-family: var(--lpdh-font-family-body);
  text-align: left;
  cursor: pointer;
  transition: background var(--lpdh-motion-duration-fast) var(--lpdh-motion-easing-standard);
}

.turma-opcao:hover {
  background: var(--lpdh-color-surface);
  color: var(--lpdh-color-ink);
}

.turma-opcao[aria-current="true"] {
  background: var(--lpdh-color-surface);
  color: var(--lpdh-color-ink);
  box-shadow: var(--lpdh-shadow-sm);
}

.turma-opcao__numero {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: var(--lpdh-radius-sm);
  background: var(--lpdh-color-surface-2);
  color: var(--lpdh-color-text-secondary);
  font: 600 11px/1 var(--lpdh-font-family-display);
}

.turma-opcao[aria-current="true"] .turma-opcao__numero {
  background: var(--lpdh-color-brand-interactive);
  color: #fff;
}

.turma-opcao__texto {
  min-width: 0;
}

.turma-opcao__nome {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.turma-opcao__periodo {
  display: block;
  font-size: 10.5px;
  color: var(--lpdh-color-border-strong);
}

.painel-instrutor__nota {
  margin: 10px 2px 0;
  padding-top: 9px;
  border-top: 1px solid var(--lpdh-color-border);
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--lpdh-color-border-strong);
}

.lateral__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
}

.nav__item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: var(--lpdh-radius-md);
  text-align: left;
  cursor: pointer;
  background: transparent;
  color: var(--lpdh-color-text-secondary);
  font: 400 13.5px/1.2 var(--lpdh-font-family-body);
  text-decoration: none;
}

.nav__item:hover {
  color: var(--lpdh-color-ink);
}

.nav__item[aria-current="page"] {
  background: var(--lpdh-color-bg);
  color: var(--lpdh-color-ink);
  font-weight: 600;
  box-shadow: var(--lpdh-shadow-sm);
}

.nav__marca {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--lpdh-color-border);
}

.nav__item[aria-current="page"] .nav__marca {
  background: var(--lpdh-color-brand-interactive);
}

.nav__contador {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(211, 48, 5, 0.9);
  color: #fff;
}

.lateral__pe {
  margin-top: auto;
  padding: 20px 22px 0;
  border-top: 1px solid var(--lpdh-color-border);
}

.usuario {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--lpdh-color-brand-soft-bg);
  color: var(--lpdh-color-brand-soft-text);
  font: 600 12.5px/1 var(--lpdh-font-family-display);
}

.avatar--grande {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

.usuario__texto {
  min-width: 0;
}

.usuario__nome {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.usuario__area {
  display: block;
  font-size: 11px;
  color: var(--lpdh-color-text-secondary);
}

.lateral__acoes {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.lateral__acoes a {
  font: 400 12px/1 var(--lpdh-font-family-body);
  color: var(--lpdh-color-text-secondary);
}

.lateral__acoes a:last-child {
  color: var(--lpdh-color-border-strong);
}

.lateral__creditos {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--lpdh-color-border);
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--lpdh-color-border-strong);
}

.lateral__creditos img {
  width: 18px;
  height: 18px;
  flex: none;
  object-fit: contain;
  opacity: 0.9;
}

.lateral__creditos strong {
  font-weight: 600;
  color: var(--lpdh-color-text-secondary);
}

/* ------------------------------------------------------------------ topbar */

.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 40px;
  background: rgba(237, 233, 222, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lpdh-color-border);
}

.topo__busca {
  position: relative;
  flex: 1;
  max-width: 24rem;
  margin: 0;
}

.topo__instrutor {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  color: var(--lpdh-color-text-secondary);
}

.topo__instrutor strong {
  font-weight: 600;
  color: var(--lpdh-color-ink);
}

.conteudo {
  padding: 36px 40px 64px;
  max-width: 1120px;
}

/* ------------------------------------------------------------------ início */

.cabeca-dia {
  margin: 0 0 8px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.saudacao {
  margin: 0 0 4px;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.saudacao + .lead {
  margin-bottom: 32px;
  max-width: 46rem;
  font-size: 15px;
}

.painel-inicio {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 34px;
}

.proxima {
  flex: 2 1 420px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-brand-interactive);
  color: #fff;
  padding: 28px 30px;
}

.proxima__brilho {
  position: absolute;
  right: -110px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 66%);
}

.proxima__interno {
  position: relative;
}

.selo-vivo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proxima__numero {
  margin: 16px 0 4px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.proxima__titulo {
  margin: 0 0 10px;
  font-size: 25px;
  letter-spacing: -0.02em;
  max-width: 24rem;
}

.proxima__quando {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
}

.proxima__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cartao {
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
  padding: 24px 26px;
}

.cartao-progresso {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cartao-progresso__rotulo {
  margin: 0 0 18px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

.cartao-progresso__linha {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.cartao-progresso__valor {
  font-family: var(--lpdh-font-family-display);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cartao-progresso__de {
  font-size: 15px;
  color: var(--lpdh-color-text-secondary);
}

.cartao-progresso__nota {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.cartao-progresso .ligacao {
  margin-top: auto;
  align-self: flex-start;
}

/* Progress bar. The fill width varies at runtime, and a strict CSP forbids the
 * style attribute, so the template writes data-feitas/data-total and the widths
 * live here. Six sessions is the programme's fixed shape. */
.barra {
  height: 8px;
  border-radius: 4px;
  background: var(--lpdh-color-border);
  overflow: hidden;
  margin-bottom: 20px;
}

.barra__preenche {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--lpdh-color-brand-interactive);
  transition: width var(--lpdh-motion-duration-base) var(--lpdh-motion-easing-standard);
  width: 0;
}

.barra[data-feitas="0"] .barra__preenche { width: 0; }
.barra[data-feitas="1"] .barra__preenche { width: 16.6667%; }
.barra[data-feitas="2"] .barra__preenche { width: 33.3333%; }
.barra[data-feitas="3"] .barra__preenche { width: 50%; }
.barra[data-feitas="4"] .barra__preenche { width: 66.6667%; }
.barra[data-feitas="5"] .barra__preenche { width: 83.3333%; }
.barra[data-feitas="6"] .barra__preenche { width: 100%; }

/* -------------------------------------------------------- session track */

.secao-cabeca {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.secao-cabeca h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.trilha {
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
  overflow: hidden;
  margin-bottom: 34px;
  list-style: none;
  padding: 0;
}

.trilha__item + .trilha__item {
  border-top: 1px solid var(--lpdh-color-border);
}

.trilha__link {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 22px;
  background: transparent;
  color: var(--lpdh-color-ink);
  text-decoration: none;
  font-family: var(--lpdh-font-family-body);
}

.trilha__link:hover {
  background: var(--lpdh-color-surface-2);
  color: var(--lpdh-color-ink);
}

.trilha__item--proxima .trilha__link {
  background: var(--lpdh-color-bg);
}

.selo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: var(--lpdh-radius-md);
  font: 600 12.5px/1 var(--lpdh-font-family-display);
  background: var(--lpdh-color-surface-2);
  color: var(--lpdh-color-text-secondary);
}

.selo--concluida {
  background: var(--lpdh-color-semantic-success-soft-bg);
  color: var(--lpdh-color-semantic-success-soft-text);
}

.selo--disponivel {
  background: var(--lpdh-color-semantic-info-soft-bg);
  color: var(--lpdh-color-semantic-info-soft-text);
}

.selo--proxima {
  background: var(--lpdh-color-brand-interactive);
  color: #fff;
}

.trilha__texto {
  min-width: 0;
  text-align: left;
}

.trilha__titulo {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.trilha__objetivo {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--lpdh-color-text-secondary);
}

.trilha__meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--lpdh-color-text-secondary);
}

.etiqueta {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--lpdh-color-surface-2);
  color: var(--lpdh-color-text-secondary);
}

.etiqueta--concluida {
  background: var(--lpdh-color-semantic-success-soft-bg);
  color: var(--lpdh-color-semantic-success-soft-text);
}

.etiqueta--disponivel {
  background: var(--lpdh-color-semantic-info-soft-bg);
  color: var(--lpdh-color-semantic-info-soft-text);
}

.etiqueta--proxima {
  background: var(--lpdh-color-brand-soft-bg);
  color: var(--lpdh-color-brand-soft-text);
}

/* ------------------------------------------------------------ tasks/pilot */

.faixa-cartoes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.faixa-cartoes > .cartao {
  flex: 1 1 320px;
  min-width: 0;
}

.cartao__cabeca {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.cartao__cabeca h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.cartao__contagem {
  font-size: 12px;
  color: var(--lpdh-color-text-secondary);
}

.tarefas {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tarefa {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 11px 10px;
  border-radius: var(--lpdh-radius-md);
  cursor: pointer;
}

.tarefa:hover {
  background: var(--lpdh-color-bg);
}

.tarefa input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 1px 0 0;
  accent-color: var(--lpdh-color-brand-interactive);
  cursor: pointer;
}

.tarefa__texto {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--lpdh-color-ink);
}

.tarefa input:checked + .tarefa__texto {
  color: var(--lpdh-color-border-strong);
  text-decoration: line-through;
}

.piloto__lead {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.piloto__caixa {
  padding: 16px 18px;
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-bg);
  border: 1px solid var(--lpdh-color-border);
}

.piloto__area {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.piloto__nome {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.piloto__descricao {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

/* ----------------------------------------------------------------- session */

.sessao {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
}

.sessao__principal {
  flex: 1 1 420px;
  min-width: 0;
}

.sessao__titulo {
  margin: 0 0 10px;
  font-size: 29px;
  letter-spacing: -0.03em;
}

.sessao__lead {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--lpdh-color-text-secondary);
  max-width: 44rem;
  text-wrap: pretty;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--lpdh-radius-lg);
  overflow: hidden;
  background: #221c16;
  margin-bottom: 14px;
}

.video video {
  width: 100%;
  height: 100%;
  display: block;
  background: #221c16;
}

.video--ausente {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.video--ausente__marca {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(211, 48, 5, 0.5);
  color: #fff;
  font-size: 22px;
}

.video--ausente p {
  margin: 0;
  font-size: 12.5px;
  color: #b3a089;
}

.sessao__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}

.sessao h2 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.topicos {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--lpdh-color-border);
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}

.topico {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 18px;
  background: var(--lpdh-color-surface);
  align-items: baseline;
}

.topico__tempo {
  font: 500 12.5px/1 var(--lpdh-font-family-body);
  color: var(--lpdh-color-brand-soft-text);
  font-variant-numeric: tabular-nums;
}

.topico__texto {
  font-size: 14px;
  line-height: 1.55;
}

.destaque {
  border-left: 3px solid var(--lpdh-color-brand-interactive);
  padding: 4px 0 4px 18px;
  margin-bottom: 34px;
}

.destaque__rotulo {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.destaque__texto {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 40rem;
  text-wrap: pretty;
}

.paginacao {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--lpdh-color-border);
}

.paginacao a {
  text-decoration: none;
  color: inherit;
}

.paginacao__direita {
  text-align: right;
  margin-left: auto;
}

.paginacao__rotulo {
  display: block;
  font-size: 11.5px;
  color: var(--lpdh-color-text-secondary);
}

.paginacao__titulo {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lpdh-color-ink);
}

.sessao__lado {
  flex: 1 1 280px;
  max-width: 320px;
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cartao--lado {
  padding: 20px;
}

.cartao--lado__rotulo {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

.materiais-lado {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.material-lado {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-md);
  background: var(--lpdh-color-bg);
  color: var(--lpdh-color-ink);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.material-lado:hover {
  border-color: var(--lpdh-color-brand-interactive);
  color: var(--lpdh-color-ink);
}

.tipo-selo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: var(--lpdh-radius-sm);
  background: var(--lpdh-color-brand-soft-bg);
  color: var(--lpdh-color-brand-soft-text);
  font: 600 9.5px/1 var(--lpdh-font-family-body);
}

.tipo-selo--grande {
  width: 38px;
  height: 44px;
  font-size: 10px;
}

.indisponivel {
  padding: 11px 12px;
  border: 1px dashed var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-md);
  color: var(--lpdh-color-border-strong);
  font-size: 13px;
}

/* ---------------------------------------------------------------- calendar */

.calendario__cabeca {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.agenda {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.agenda__cartao {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
  border: 1px solid var(--lpdh-color-border);
  flex-wrap: wrap;
}

.agenda__cartao--proxima {
  border-color: var(--lpdh-color-brand-interactive);
}

.agenda__cartao--concluida {
  opacity: 0.7;
}

.agenda__dia {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 74px;
  flex: none;
  padding: 12px 0;
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-bg);
  border: 1px solid var(--lpdh-color-border);
}

.agenda__dia-num {
  font: 700 24px/1 var(--lpdh-font-family-display);
  letter-spacing: -0.03em;
}

.agenda__dia-mes {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

.agenda__corpo {
  min-width: 0;
  flex: 1;
}

.agenda__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

.agenda__titulo {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.agenda__objetivo {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--lpdh-color-text-secondary);
}

.agenda__lado {
  flex: none;
  text-align: right;
}

.agenda__hora {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--lpdh-color-text-secondary);
  font-variant-numeric: tabular-nums;
}

.nota-tracejada {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px dashed var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
}

.nota-tracejada p:first-child {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.nota-tracejada p:last-child {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

/* --------------------------------------------------------------- materials */

.categorias {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.categoria__cabeca {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.categoria__cabeca h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.regua {
  flex: 1;
  height: 1px;
  background: var(--lpdh-color-border);
}

.categoria__qtd {
  font-size: 12px;
  color: var(--lpdh-color-text-secondary);
}

.materiais {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.material {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
}

.material__corpo {
  min-width: 0;
  flex: 1;
}

.material__titulo {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.material__descricao {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--lpdh-color-text-secondary);
}

.material__rodape {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.material__peso {
  font-size: 11.5px;
  color: var(--lpdh-color-text-secondary);
}

/* --------------------------------------------------------------- syllabus */

.ementa {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ementa__item {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 26px 28px;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
}

.ementa__num {
  flex: 0 0 96px;
}

.ementa__num p:first-child {
  margin: 0;
  font-family: var(--lpdh-font-family-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lpdh-color-brand-interactive);
}

.ementa__num p:last-child {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: var(--lpdh-color-text-secondary);
}

.ementa__corpo {
  flex: 1 1 380px;
  min-width: 0;
}

.ementa__corpo h2 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.ementa__objetivo {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
  max-width: 46rem;
}

.ementa__objetivo strong {
  font-weight: 600;
  color: var(--lpdh-color-ink);
}

.ementa__conteudo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ementa__conteudo li {
  display: flex;
  gap: 11px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.6;
}

.ementa__conteudo li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--lpdh-color-brand-interactive);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------- Q & A */

.duvidas {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}

.duvidas__principal {
  flex: 1 1 420px;
  min-width: 0;
}

.duvidas__forma {
  padding: 22px 24px;
  margin-bottom: 26px;
}

.duvidas__forma-pe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.duvidas__forma-nota {
  font-size: 12px;
  color: var(--lpdh-color-text-secondary);
}

.duvidas h2 {
  margin: 0 0 14px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.lista-empilhada {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--lpdh-color-border);
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  overflow: hidden;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.pergunta {
  padding: 18px 22px;
  background: var(--lpdh-color-surface);
}

.pergunta__p {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pergunta__r {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--lpdh-color-text-secondary);
  max-width: 46rem;
}

.pergunta__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

.pergunta__aguardando {
  margin: 0;
  font-size: 13px;
  color: var(--lpdh-color-border-strong);
  font-style: italic;
}

.duvidas__lado {
  flex: 1 1 280px;
  max-width: 340px;
  padding: 22px;
}

.instrutor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.instrutor__nome {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.instrutor__papel {
  margin: 0;
  font-size: 12px;
  color: var(--lpdh-color-text-secondary);
}

.duvidas__lado p.lead {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
}

/* ------------------------------------------------------------ certificate */

.diploma-caixa {
  position: relative;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
  padding: 56px 48px;
  text-align: center;
  max-width: 44rem;
  overflow: hidden;
}

.diploma {
  position: relative;
}

.diploma--bloqueado {
  opacity: 0.42;
}

.diploma__logo {
  height: 18px;
  width: auto;
  margin: 0 auto 30px;
}

.diploma__rotulo {
  margin: 0 0 10px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

.diploma__nome {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.diploma__texto {
  margin: 0 auto;
  max-width: 30rem;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--lpdh-color-text-secondary);
}

.diploma__texto strong {
  color: var(--lpdh-color-ink);
  font-weight: 600;
}

.diploma__regua {
  display: block;
  width: 56px;
  height: 3px;
  margin: 28px auto;
  border-radius: 2px;
  background: var(--lpdh-color-brand-interactive);
}

.diploma__assinatura {
  margin: 0;
  font-size: 12.5px;
  color: var(--lpdh-color-text-secondary);
}

.diploma__codigo {
  margin: 14px 0 0;
  font: 400 12px/1 var(--lpdh-font-family-mono);
  letter-spacing: 0.18em;
  color: var(--lpdh-color-border-strong);
}

.diploma__cortina {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(237, 233, 222, 0.55);
}

.diploma__aviso {
  text-align: center;
  padding: 20px 26px;
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-brand-soft-bg);
  border: 1px solid var(--lpdh-color-brand-interactive);
  color: var(--lpdh-color-ink);
  max-width: 22rem;
}

.diploma__aviso p:first-child {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}

.diploma__aviso p:last-child {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--lpdh-color-brand-soft-text);
}

/* ---------------------------------------------------------------- account */

.conta__cartoes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 56rem;
}

.conta__cartoes > .cartao {
  flex: 1 1 320px;
  min-width: 0;
}

.conta__cartoes h2 {
  margin: 0 0 12px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.conta__linha {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.conta__linha strong {
  color: var(--lpdh-color-ink);
  font-weight: 600;
}

.preferencias {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preferencia {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
}

.preferencia--inativa {
  color: var(--lpdh-color-text-secondary);
}

.interruptor {
  width: 38px;
  height: 22px;
  flex: none;
  border-radius: 999px;
  border: none;
  background: var(--lpdh-color-border);
  position: relative;
  cursor: not-allowed;
  opacity: 0.6;
}

.interruptor::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

/* ----------------------------------------------------------------- search */

.busca__cabeca {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.busca__cabeca h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.vazio {
  padding: 34px 30px;
  border: 1px dashed var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  text-align: center;
}

.vazio p:first-child {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.vazio p:last-child {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.grupos {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.grupo__cabeca {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.grupo__cabeca h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.resultado {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 15px 20px;
  background: var(--lpdh-color-surface);
  text-align: left;
  color: var(--lpdh-color-ink);
  text-decoration: none;
  font-family: var(--lpdh-font-family-body);
}

.resultado:hover {
  background: var(--lpdh-color-bg);
  color: var(--lpdh-color-ink);
}

.resultado__tipo {
  flex: none;
  margin-top: 2px;
  width: 52px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.resultado__corpo {
  min-width: 0;
}

.resultado__titulo {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.resultado__apoio {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--lpdh-color-text-secondary);
}

/* ------------------------------------------------------------------ error */

.erro-tela {
  padding: 36px 40px 64px;
  max-width: 44rem;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 68rem) {
  .sessao__lado {
    position: static;
    max-width: none;
  }
}

@media (max-width: 60rem) {
  .entrada {
    grid-template-columns: minmax(0, 1fr);
  }

  .entrada__marca {
    padding: 40px 32px;
    border-right: none;
    border-bottom: 1px solid var(--lpdh-color-border);
    gap: 32px;
  }

  .entrada__titulo {
    font-size: 34px;
  }

  .entrada__painel {
    padding: 32px 24px 56px;
  }

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

  .lateral {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--lpdh-color-border);
  }

  /* ------------------------------------------------------- instructor turma panel */

/* A native <select> was wrong here: the browser draws its open menu with the operating
 * system's own chrome — grey panel, blue highlight — which no stylesheet can reach. Every
 * turma is a submit button instead, so the open state is as designed as the closed one.
 *
 * The panel is deliberately distinct from the participant's "Sua turma" block: this view
 * belongs to the instructor, and it should not read as something a participant also has. */
.painel-instrutor {
  margin: 0 14px 22px;
  padding: 12px 12px 10px;
  border: 1px solid var(--lpdh-color-brand-soft-bg);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-bg);
}

.painel-instrutor__rotulo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding-left: 2px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.painel-instrutor__marca {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--lpdh-color-brand-interactive);
}

.turmas {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.turma-opcao {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 8px;
  border: none;
  border-radius: var(--lpdh-radius-md);
  background: transparent;
  color: var(--lpdh-color-text-secondary);
  font-family: var(--lpdh-font-family-body);
  text-align: left;
  cursor: pointer;
  transition: background var(--lpdh-motion-duration-fast) var(--lpdh-motion-easing-standard);
}

.turma-opcao:hover {
  background: var(--lpdh-color-surface);
  color: var(--lpdh-color-ink);
}

.turma-opcao[aria-current="true"] {
  background: var(--lpdh-color-surface);
  color: var(--lpdh-color-ink);
  box-shadow: var(--lpdh-shadow-sm);
}

.turma-opcao__numero {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: var(--lpdh-radius-sm);
  background: var(--lpdh-color-surface-2);
  color: var(--lpdh-color-text-secondary);
  font: 600 11px/1 var(--lpdh-font-family-display);
}

.turma-opcao[aria-current="true"] .turma-opcao__numero {
  background: var(--lpdh-color-brand-interactive);
  color: #fff;
}

.turma-opcao__texto {
  min-width: 0;
}

.turma-opcao__nome {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.turma-opcao__periodo {
  display: block;
  font-size: 10.5px;
  color: var(--lpdh-color-border-strong);
}

.painel-instrutor__nota {
  margin: 10px 2px 0;
  padding-top: 9px;
  border-top: 1px solid var(--lpdh-color-border);
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--lpdh-color-border-strong);
}

.lateral__nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav__item {
    width: auto;
  }

  .lateral__pe {
    margin-top: 20px;
  }

  .topo,
  .conteudo {
    padding-left: 20px;
    padding-right: 20px;
  }

  .saudacao {
    font-size: 26px;
  }

  .titulo-tela {
    font-size: 26px;
  }
}

@media (max-width: 40rem) {
  .entrada__base {
    gap: 20px;
    flex-wrap: wrap;
  }

  .trilha__link {
    flex-wrap: wrap;
    padding: 14px 16px;
  }

  .trilha__meta {
    margin-left: 50px;
  }

  .agenda__lado {
    text-align: left;
    width: 100%;
  }

  .ementa__item {
    gap: 14px;
    padding: 20px;
  }

  .ementa__num {
    flex-basis: auto;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .ementa__num p:last-child {
    margin: 0;
  }

  .diploma-caixa {
    padding: 32px 22px;
  }

  .diploma__nome {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .lateral,
  .topo,
  .naoimprimir {
    display: none !important;
  }

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

  .diploma-caixa {
    border: none;
  }

  .diploma--bloqueado {
    opacity: 1;
  }

  .diploma__cortina {
    display: none;
  }
}
