/* Plataforma recorrente — gramática comum da área logada.
   Uma superfície de decisão por tela; o restante é dado calmo e acionável. */
:root {
  --ep-navy: #172342;
  --ep-navy-2: #26365f;
  --ep-blue: #6377dc;
  --ep-blue-soft: #eef1ff;
  --ep-lime: #baf160;
  --ep-lime-ink: #3f6415;
  --ep-canvas: #f6f7fb;
  --ep-card: var(--app-surface);
  --ep-ink: #20283d;
  --ep-muted: #606a83;
  --ep-line: var(--app-border-base);
  /* Sombra é confirmação de camada, não profundidade cênica. A anterior
     (0 18px 48px) empurrava cada cartão para fora da página e somava peso a
     cada seção; aqui a borda faz o recorte e a sombra só evita que o branco
     do cartão se dissolva no branco do canvas. */
  --ep-shadow: var(--app-shadow-card);
  --ep-shadow-lift: var(--app-shadow-hover);
  /* Dois raios para o app inteiro: linha/controle e cartão. Antes havia onze
     valores diferentes, e a diferença de 1–3px entre vizinhos lê como descuido. */
  --ep-radius: 18px;
  --ep-radius-sm: 13px;
}

.ep-page { width: min(1180px, 100%); margin: 0 auto; color: var(--ep-ink); }
#view-inicio.app-view { max-width: 1180px; }
.app-mobile-account { display: none; }
.ep-page *, .ep-page *::before, .ep-page *::after { box-sizing: border-box; }
.ep-page a { color: inherit; }
.ep-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.ep-page-head h1 { margin: 0; font: var(--esp-title-weight,700) var(--esp-type-display)/1.08 var(--esp-title, var(--esp-display, Manrope, sans-serif)); letter-spacing: var(--esp-title-tracking, -.032em); }
.ep-page-head p { margin: 8px 0 0; color: var(--ep-muted); font-size: var(--esp-type-body); }
/* O eyebrow tinha uma bolinha lima antes do texto, repetida em toda seção de
   toda tela. Um ponto de cor a cada início de bloco cobra atenção onde só há
   rótulo; sem ele o texto espaçado já resolve a hierarquia. */
/* Caixa alta e do SOBRETITULO DA PAGINA e dos grupos da sidebar — mais nada.
   A Inicio chegou a ter treze rotulos em caixa alta e o Acervo quinze: com todos
   gritando, nenhum guia. Rotulo de bloco agora e quieto (caixa normal, sem
   espacamento forcado) e a hierarquia volta a vir do tamanho e do peso. */
.ep-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 9px; color: var(--ep-lime-ink); font-family: var(--esp-micro, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: var(--esp-type-caption); font-weight: var(--esp-weight-bold); letter-spacing: .15em; text-transform: uppercase; }
.ep-date-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--ep-line); border-radius: var(--app-radius-pill); background: var(--ep-card); color: #657096; font-size: var(--esp-type-support); font-weight: var(--esp-weight-bold); white-space: nowrap; }

/* Pílula de custo: quanto tempo/esforço a coisa pede, antes de a pessoa clicar.
   É o que permite abrir a plataforma com 2 minutos livres em vez de adiar para
   "quando eu tiver uma tarde". Só recebe valor que o produto sustenta — o drill
   é de 2 min de fato e o simulado roda no relógio de 5h da prova; peça completa
   não ganha minutagem inventada, ganha o tamanho ("peça inteira"). */
.ep-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border: 1px solid var(--ep-line); border-radius: var(--app-radius-pill); background: #f6f7fb; color: #64708c; font-size: var(--esp-type-caption); font-weight: var(--esp-weight-bold); white-space: nowrap; }
.ep-pill svg { width: 12px; height: 12px; }

/* Sequência de dias. Aparece só quando existe (streak_dias > 0 vindo da API);
   nunca é preenchida com dias_ativos, que é outra conta e inflaria o número. */
.ep-streak { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid #e4ecc9; border-radius: var(--app-radius-pill); background: #f5fbe8; color: var(--ep-lime-ink); font-size: var(--esp-type-support); font-weight: var(--esp-weight-bold); white-space: nowrap; }
.ep-streak svg { width: 15px; height: 15px; }
.ep-head-aside { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.ep-section { margin-top: 28px; }
.ep-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.ep-section-head h2 { margin: 0; font: var(--esp-weight-bold) var(--esp-type-subhead)/1.2 var(--esp-display, Manrope, sans-serif); letter-spacing: -.015em; }
.ep-section-head p, .ep-section-head a { margin: 0; color: var(--ep-muted); font-size: var(--esp-type-support); }
.ep-section-head a {
  /* Alvo de toque: link autônomo de navegação entra na regra do --tap-min.
     O margin negativo devolve a altura extra ao layout, para o cabeçalho
     não crescer 23px só por causa do piso de 44px. */
  /* gap: flex descarta o espaco em branco entre o texto e o <span> da seta,
     entao o "Ver historico →" virava "Ver historico→". */
  display: inline-flex; align-items: center; gap: .4em;
  min-height: var(--tap-min);
  margin-block: calc((21px - var(--tap-min)) / 2);
  color: #576cd1; font-weight: var(--esp-weight-bold); text-decoration: none;
}

/* Cartão branco de verdade. Enquanto era rgba(255,255,255,.9) sobre um canvas
   com gradiente, o "branco" chegava cinza-azulado e diferente em cada altura da
   página — a origem principal do peso que a tela tinha. */
.ep-card { border: 1px solid var(--ep-line); border-radius: var(--ep-radius); background: var(--ep-card); box-shadow: var(--ep-shadow); }
.ep-focus { position: relative; overflow: hidden; min-height: 284px; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; color: #fff; background: radial-gradient(34rem 24rem at 96% -10%, rgba(120,143,235,.42), transparent 63%), linear-gradient(135deg,var(--ep-navy),#202f58); box-shadow: 0 8px 20px -6px rgba(29,39,70,.10); }
.ep-focus::after { content: ""; position: absolute; inset: auto -65px -95px auto; width: 250px; height: 250px; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); box-shadow: 0 0 0 36px rgba(255,255,255,.025),0 0 0 72px rgba(255,255,255,.02); }
.ep-focus-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) 176px; gap: 24px; align-items: center; }
.ep-focus-kicker { display: block; margin-bottom: 2px; color: #cdd5ff; font-family: var(--esp-micro, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: var(--esp-type-caption); font-weight: var(--esp-weight-bold); }
/* 18ch capava a manchete em ~332px numa coluna de 490px: sobrava um terco da
   coluna vazio e o titulo quebrava em 3 linhas, deixando o cartao mais alto e
   com cara de inacabado. 24ch ainda limita a medida de leitura, mas usa a coluna. */
.ep-focus h2 { max-width: 24ch; margin: 10px 0 8px; color: #fff; font: var(--esp-title-weight,700) var(--esp-type-heading)/1.14 var(--esp-title, var(--esp-display,Manrope,sans-serif)); letter-spacing: var(--esp-title-tracking, -.028em); }
.ep-focus-meta { margin: 0; color: #dbe1f4; font-size: var(--esp-type-support); line-height: 1.5; }
.ep-focus-reason { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; color: #cfd8f7; font-size: var(--esp-type-support); }
.ep-focus-reason::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ep-lime); }
.ep-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin-top: 21px; padding: 0 20px; border: 0; border-radius: var(--ep-radius-sm); background: var(--ep-lime); color: #263318 !important; box-shadow: 0 8px 20px -6px rgba(29,39,70,.10); font: var(--esp-weight-bold) var(--esp-type-support)/1 var(--esp-ui,Inter,sans-serif); text-decoration: none; transition: transform .18s ease,filter .18s ease; }
.ep-primary:hover { transform: translateY(-2px); filter: brightness(1.04); }
.ep-primary:focus-visible, .ep-row:focus-visible, .ep-tab:focus-visible, .ep-drill:focus-visible,
.ep-section-head a:focus-visible { outline: 3px solid rgba(125,141,225,.38); outline-offset: 3px; }

.ep-gauge { --p: 0; position: relative; width: 154px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--ep-lime) calc(var(--p)*1%),rgba(255,255,255,.14) 0); }
.ep-gauge::before { content: ""; position: absolute; inset: 11px; border-radius: inherit; background: #202d51; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.ep-gauge-copy { position: relative; z-index: 1; text-align: center; }
.ep-gauge-copy span { display: block; color: #c7d1f2; font-size: var(--esp-type-caption); font-weight: var(--esp-weight-bold); }
.ep-gauge-copy b { display: block; margin: 5px 0 1px; color: var(--ep-lime); font: var(--esp-weight-bold) var(--esp-type-display)/1 var(--esp-display,Manrope,sans-serif); letter-spacing: -.035em; }
.ep-gauge-copy small { color: #e1e5f3; font-size: var(--esp-type-caption); }

.ep-mission-target { display: inline-grid; gap: 3px; margin-top: 18px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--app-radius-inset); background: rgba(255,255,255,.055); }
.ep-mission-target span { color: #aebbe9; font-size: var(--esp-type-caption); font-weight: var(--esp-weight-bold); }
.ep-mission-target b { color: #fff; font-size: var(--esp-type-support); }
.ep-mission h2 { margin-top: 14px; }
.ep-mission-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.ep-mission-facts span { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--app-radius-pill); background: rgba(8,15,34,.16); color: #dbe2f7; font-size: var(--esp-type-caption); font-weight: var(--esp-weight-bold); }
.ep-drill { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 16px 17px; text-decoration: none; transition: transform .18s ease,border-color .18s ease; }
.ep-drill:hover { transform: translateY(-2px); border-color: #cbd4ff; box-shadow: var(--ep-shadow-lift); }
.ep-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: var(--ep-radius-sm); background: var(--ep-blue-soft); color: var(--ep-blue); }
.ep-icon svg { width: 21px; height: 21px; }
.ep-drill-copy { min-width: 0; flex: 1; }
.ep-drill-copy span { color: #596fce; font-size: var(--esp-type-caption); font-weight: var(--esp-weight-bold); }
.ep-drill-copy b { display: block; margin-top: 4px; font-size: var(--esp-type-support); }
.ep-drill-copy small { display: block; margin-top: 2px; overflow: hidden; color: var(--ep-muted); font-size: var(--esp-type-caption); text-overflow: ellipsis; white-space: nowrap; }
.ep-arrow { color: #69738d; font-size: var(--esp-type-subhead); }

.ep-empty-chart { display: grid; min-height: 140px; place-items: center; color: var(--ep-muted); font-size: var(--esp-type-support); text-align: center; }

/* O caderno de décimos é a assinatura do produto: não é um painel genérico de
   analytics, é a banca transformada em prioridade de treino. */
.ep-ledger { display: grid; grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr); gap: 10px; align-items: stretch; }
.ep-ledger-priority { padding: 24px; background: #f5f6ff; }
.ep-ledger-kicker { color: #5368ca; font-family: var(--esp-micro, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: var(--esp-type-caption); font-weight: var(--esp-weight-bold); }
.ep-ledger-priority h3 { margin: 9px 0 8px; font: var(--esp-weight-bold) var(--esp-type-heading)/1.1 var(--esp-display,Manrope,sans-serif); letter-spacing: -.035em; }
.ep-ledger-priority > p { margin: 0; color: var(--ep-muted); font-size: var(--esp-type-support); line-height: 1.55; }
.ep-ledger-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 19px; }
.ep-ledger-stats span { min-width: 0; padding: 10px 8px; }
.ep-ledger-stats b { display: block; color: #384eac; font: var(--esp-weight-bold) var(--esp-type-body)/1 var(--esp-display,Manrope,sans-serif); }
.ep-ledger-stats small { display: block; margin-top: 5px; color: var(--ep-muted); font-size: var(--esp-type-caption); line-height: 1.2; }
.ep-ledger-verdict { margin-top: 14px; padding: 11px 12px; border-left: 3px solid var(--ep-lime); border-radius: 0 10px 10px 0; background: #fff; color: #38435c; font-size: var(--esp-type-caption); line-height: 1.45; }
.ep-ledger-ranking { padding: 22px 24px; }
.ep-ledger-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.ep-ledger-heading b { font-size: var(--esp-type-support); }
.ep-ledger-heading span { color: var(--ep-muted); font-size: var(--esp-type-caption); }
.ep-ledger-list { display: grid; }
.ep-ledger-row { display: grid; grid-template-columns: 26px minmax(118px,.72fr) minmax(90px,1fr) 43px; gap: 10px; align-items: center; min-height: 48px; border-top: 1px solid #eef0f6; }
.ep-ledger-row:first-child { border-top: 0; }
.ep-ledger-rank { color: #a6aec2; font: var(--esp-weight-bold) var(--esp-type-caption)/1 var(--esp-ui,Inter,sans-serif); }
.ep-ledger-label { display: block; min-width: 0; }
.ep-ledger-label b { display: block; overflow: hidden; font-size: var(--esp-type-caption); text-overflow: ellipsis; white-space: nowrap; }
.ep-ledger-label small { display: block; margin-top: 3px; color: var(--ep-muted); font-size: var(--esp-type-caption); }
.ep-ledger-meter { height: 6px; overflow: hidden; border-radius: var(--app-radius-pill); background: #edf0f7; }
.ep-ledger-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#8998e8,#667be0); }
/* Severidade: a regua ordena por custo, entao a cor tem que subir junto com o
   comprimento. Sem isso a barra mais cheia (o pior criterio) parecia a melhor. */
.ep-ledger-meter[data-sev="alto"] i { background: linear-gradient(90deg,#e0796b,#c84c5b); }
.ep-ledger-meter[data-sev="medio"] i { background: linear-gradient(90deg,#e3b169,#c98a2e); }
.ep-ledger-meter[data-sev="baixo"] i { background: linear-gradient(90deg,#9aa6ea,#7d8de1); }
.ep-ledger-row > strong { color: #bb4952; font-size: var(--esp-type-caption); text-align: right; }
.ep-ledger-empty { display: grid; min-height: 180px; place-content: center; gap: 7px; color: var(--ep-muted); text-align: center; }
.ep-ledger-empty b { color: var(--ep-ink); font-size: var(--esp-type-support); }
.ep-ledger-empty span { max-width: 34ch; font-size: var(--esp-type-caption); line-height: 1.5; }

.ep-recent { padding: 20px; }
/* A coluna do icone era 12px e o svg mede 16: a linha estourava 4px e o
   vazamento cascateava ate a secao inteira no celular. */
.ep-recent-row { display: grid; grid-template-columns: minmax(0,1fr) auto 16px; gap: 10px; align-items: center; min-height: 54px; border-top: 1px solid #edf0f7; text-decoration: none; }
.ep-recent-row:first-child { border-top: 0; }
.ep-recent-row span { min-width: 0; }
.ep-recent-row small { display: block; color: var(--ep-muted); font-size: var(--esp-type-caption); }
.ep-recent-row b { display: block; overflow: hidden; margin-top: 4px; font-size: var(--esp-type-caption); text-overflow: ellipsis; white-space: nowrap; }
.ep-recent-row > strong { font-size: var(--esp-type-caption); white-space: nowrap; }
.ep-recent-row > i { color: #778097; font-style: normal; }
.ep-recent-empty { display: grid; min-height: 150px; place-items: center; color: var(--ep-muted); font-size: var(--esp-type-caption); line-height: 1.5; text-align: center; }

.ep-rows { overflow: hidden; }
.ep-row { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 12px; align-items: center; min-height: 68px; padding: 11px 15px; border-top: 1px solid #edf0f7; text-decoration: none; transition: background .18s ease; }
.ep-row:first-child { border-top: 0; }
.ep-row:hover { background: #f7f8ff; }
.ep-row-copy { display: block; min-width: 0; }
.ep-row-copy b { display: block; font-size: var(--esp-type-support); }
.ep-row-copy > span { display: block; margin-top: 3px; color: var(--ep-muted); font-size: var(--esp-type-caption); line-height: 1.35; }
.ep-row-tag { display: block; margin-top: 0; color: #5268ca !important; font-size: var(--esp-type-caption) !important; font-style: normal; font-weight: var(--esp-weight-bold); line-height: 1.2; }
.ep-arrow { font-style: normal; }

.ep-tabs { display: flex; gap: 3px; overflow-x: auto; margin: 0 0 24px; padding: 4px; border: 1px solid var(--ep-line); border-radius: var(--ep-radius-sm); background: #eff1f7; scrollbar-width: none; }
.ep-tab { flex: 1 0 auto; min-height: 40px; padding: 0 18px; border: 0; border-radius: var(--app-radius-inset); background: transparent; color: var(--ep-muted); font: var(--esp-weight-bold) var(--esp-type-support)/1 var(--esp-ui,Inter,sans-serif); cursor: pointer; }
.ep-tab[aria-selected="true"] { background: #fff; color: #5368ce; box-shadow: 0 1px 2px rgba(29,39,70,.06); }
.ep-tabpanel[hidden] { display: none !important; }

@media (max-width: 640px) {
  .ep-page-head { flex-wrap: wrap; margin-bottom: 18px; }
  .ep-page-head h1 { font-size: var(--esp-type-heading); }
  .ep-page-head p { font-size: var(--esp-type-support); line-height: 1.5; }
  .ep-date-chip { min-height: 34px; padding: 0 10px; font-size: var(--esp-type-caption); }
  .ep-focus { min-height: 0; padding: 22px; border-radius: 20px; }
  .ep-home .ep-focus-grid { grid-template-columns: minmax(0,1fr) 112px; gap: 12px; align-items: start; }
  .ep-home .ep-focus h2 { max-width: 15ch; font-size: var(--esp-type-heading); }
  .ep-focus-meta { font-size: var(--esp-type-support); }
  .ep-focus-reason { font-size: var(--esp-type-caption); }
  .ep-mission-target { margin-top: 14px; }
  .ep-mission-facts { margin-top: 13px; }
  .ep-gauge { width: 112px; }
  .ep-gauge::before { inset: 9px; }
  .ep-gauge-copy b { font-size: var(--esp-type-heading); }
  .ep-primary { width: 100%; min-height: 46px; margin-top: 17px; }
  .ep-drill { margin-top: 12px; }
  .ep-section { margin-top: 24px; }
  .ep-section-head { align-items: flex-start; }
  .ep-section-head > div { min-width: 0; }
  .ep-section-head a { flex: 0 0 auto; }
  .ep-ledger { grid-template-columns: 1fr; gap: 10px; }
  .ep-ledger-priority { padding: 19px; }
  .ep-ledger-ranking { padding: 17px; }
  .ep-ledger-row { grid-template-columns: 22px minmax(94px,.82fr) minmax(60px,1fr) 38px; gap: 7px; }
  .ep-recent { padding: 17px; }
  .ep-row { grid-template-columns: 38px minmax(0,1fr) auto; padding: 10px 12px; }
}

@media (max-width: 390px) {
  /* Em 320–390 px, o anel não tenta imitar o desktop: vira uma leitura curta
     em faixa, no fluxo entre o contexto e a ação. Isso preserva a distância
     até o corte sem empurrar/encobrir o título da peça. */
  .ep-home .ep-focus-grid { grid-template-columns: 1fr; gap: 16px; }
  .ep-home .ep-gauge {
    width: 100%; min-height: 68px; aspect-ratio: auto; border-radius: var(--app-radius-panel);
    background: linear-gradient(90deg, rgba(186,241,96,.96) calc(var(--p) * 1%), rgba(255,255,255,.14) 0);
  }
  .ep-home .ep-gauge::before { inset: 1px; border-radius: var(--app-radius-panel); background: #25355c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
  .ep-home .ep-gauge-copy { width: 100%; height: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto; align-content: center; gap: 1px 12px; padding: 0 15px; text-align: left; }
  .ep-home .ep-gauge-copy span { grid-column: 1; grid-row: 1; white-space: nowrap; }
  .ep-home .ep-gauge-copy small { grid-column: 1; grid-row: 2; }
  .ep-home .ep-gauge-copy b { grid-column: 2; grid-row: 1 / 3; margin: 0; align-self: center; }
  .ep-home .ep-focus h2 { max-width: 18ch; font-size: var(--esp-type-heading); }
  .ep-home .ep-focus-meta { max-width: 42ch; }
  .ep-ledger-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ep-ledger-heading span { display: none; }
  .ep-home .ep-gauge-copy b { font-size: var(--esp-type-heading); }
  .ep-home .ep-gauge-copy span { font-size: var(--esp-type-caption); }
  .ep-home .ep-gauge-copy small { font-size: var(--esp-type-caption); }
}

@media (prefers-reduced-motion: reduce) {
  .ep-primary,.ep-drill,.ep-row { transition: none; }
}

/* ── Espaco antes do icone de fim ──────────────────────────────────────────────
   O markup escreve "Ver historico <span aria-hidden>→</span>" — com espaco. Mas
   quando o link e display:flex, o flex descarta o espaco em branco entre itens e
   o rotulo vira "Ver historico→". Aconteceu em cinco telas, com classes diferentes
   e algumas sem classe nenhuma, entao a correcao e no padrao e nao no seletor de
   cada uma. `gap` e inerte fora de flex/grid, entao nao afeta os demais links. */
a:has(> [aria-hidden="true"]:last-child),
button:has(> [aria-hidden="true"]:last-child) { gap: .4em; }

/* Sobretitulo de SECAO, nao da pagina: fica quieto. A regra de "um por tela"
   vale para o topo; no meio da pagina ele apenas nomeia o bloco. */
.ep-section .ep-eyebrow { text-transform: none; letter-spacing: 0; }

/* ── A trilha ────────────────────────────────────────────────────────────────
   A barra de sequencia: responde "onde estou" antes de qualquer cartao, e e a
   mesma em todas as telas porque vem pronta do servidor (engine/trilha.js). Os
   passos sao finos de proposito — indicador de posicao, nao lista de tarefas. */
.ep-trilha {
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px solid var(--ep-line);
  border-radius: var(--app-radius-panel);
  background: var(--ep-card);
  box-shadow: var(--ep-shadow);
}
.ep-trilha-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ep-trilha-head b {
  font-size: var(--esp-type-body);
  font-weight: var(--esp-weight-bold);
  color: var(--ep-ink);
  letter-spacing: -.01em;
}
.ep-trilha-pos {
  padding: 2px 9px;
  border-radius: var(--app-radius-pill);
  background: var(--ep-blue-soft);
  color: var(--ep-blue);
  font-size: var(--esp-type-caption);
  font-weight: var(--esp-weight-bold);
  font-variant-numeric: tabular-nums;
}
.ep-trilha-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: var(--tap-min);
  color: var(--ep-blue);
  font-size: var(--esp-type-caption);
  font-weight: var(--esp-weight-bold);
  text-decoration: none;
}
.ep-trilha-passos { display: flex; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.ep-trilha-passo {
  flex: 1 1 0;
  min-width: 0;
  height: 6px;
  border-radius: var(--app-radius-pill);
  background: #e9ecf6;
  position: relative;
}
.ep-trilha-passo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ep-trilha-passo--feito { background: var(--ep-lime); }
.ep-trilha-passo--agora { background: var(--ep-blue); }
.ep-trilha-porque {
  margin: 10px 0 0;
  color: var(--ep-muted);
  font-size: var(--esp-type-caption);
  line-height: 1.45;
}

/* ═══ INÍCIO: folha de decisão + caderno de décimos ═════════════════════════
   O candidato abre esta página para responder uma pergunta: “o que faço agora?”.
   A resposta ocupa uma folha única; os dados seguintes funcionam como o verso
   técnico dessa decisão. A margem pautada e a régua não são ornamento: marcam,
   respectivamente, a prioridade de hoje e a distância verificável até o 6,0. */
.ep-home {
  --hm-paper: var(--app-surface);
  --hm-paper-cool: #f7f9fd;
  --hm-ink: #182138;
  --hm-muted: #667188;
  --hm-line: #dce2ed;
  --hm-cobalt: #405bd7;
  --hm-cobalt-ink: #3048b3;
  --hm-cobalt-soft: #eef2ff;
  --hm-lime: #afe852;
  --hm-lime-ink: #3f6817;
  --hm-coral: #c94b59;
  position: relative;
  color: var(--hm-ink);
}

/* A identidade abre a Home sem disputar espaço com o prontuário, que agora
   acompanha a preparação no rodapé persistente da sidebar. */
.ep-home .hm-id {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  margin: 0 0 22px;
  align-items: start;
}
.ep-home .hm-id h1 {
  grid-column: 1;
  max-width: 17ch;
  margin: 0;
  color: var(--hm-ink);
  font: var(--esp-weight-bold) var(--esp-type-display)/1.03 var(--esp-display, Manrope, sans-serif);
  letter-spacing: -.045em;
}
.ep-home .hm-id > p {
  grid-column: 1;
  max-width: 58ch;
  margin: 8px 0 0;
  color: var(--hm-muted);
  font-size: var(--esp-type-support);
  line-height: 1.5;
}
.ep-home .hm-numeros {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
  border-top: 1px solid var(--hm-line);
  border-bottom: 1px solid var(--hm-line);
  color: var(--hm-muted);
  font-size: var(--esp-type-caption);
}
.ep-home .hm-numeros > span {
  display: flex;
  min-width: 0;
  min-height: 54px;
  padding: 8px 12px;
  align-items: center;
  gap: 6px;
}
.ep-home .hm-numeros > span:nth-child(even) { border-left: 1px solid var(--hm-line); }
.ep-home .hm-numeros > span:nth-child(-n + 2) { border-bottom: 1px solid var(--hm-line); }
.ep-home .hm-numeros b {
  flex: 0 0 auto;
  color: var(--hm-ink);
  font: var(--esp-weight-bold) var(--esp-type-body)/1 var(--esp-display, Manrope, sans-serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
}

/* A missão usa display:contents para fazer cópia e ação participarem da mesma
   grade sem alterar o DOM e sem tocar nos contratos de recomendação. */
.ep-home .ep-mission {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  grid-template-rows: minmax(220px, auto) auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cfd7e6;
  border-radius: 9px;
  background: var(--hm-paper);
  color: var(--hm-ink);
  box-shadow: 0 20px 44px -40px rgba(24, 33, 56, .55);
}
.ep-home .ep-mission:not(.ep-mission--resume) { grid-template-columns: minmax(0, 1fr); }
.ep-home .ep-mission::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: 56px;
  border-right: 1px solid #d7def0;
  background-color: var(--hm-cobalt-soft);
  background-image:
    linear-gradient(to right, transparent 0 17px, rgba(64, 91, 215, .22) 17px 18px, transparent 18px),
    repeating-linear-gradient(to bottom, transparent 0 17px, rgba(64, 91, 215, .16) 17px 18px);
}
.ep-home .ep-mission::after {
  content: "AÇÃO DE HOJE";
  position: absolute;
  z-index: 1;
  inset: auto auto 22px 19px;
  width: auto;
  height: auto;
  color: var(--hm-cobalt-ink);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: var(--esp-weight-bold) var(--esp-type-caption)/1 var(--esp-ui, Inter, sans-serif);
  letter-spacing: .15em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.ep-home[data-home-state="simulation"] .ep-mission::before {
  background-color: #f3f9e9;
  background-image:
    linear-gradient(to right, transparent 0 17px, rgba(63, 104, 23, .22) 17px 18px, transparent 18px),
    repeating-linear-gradient(to bottom, transparent 0 17px, rgba(63, 104, 23, .16) 17px 18px);
}
.ep-home[data-home-state="simulation"] .ep-mission::after { content: "RETOMAR AGORA"; color: var(--hm-lime-ink); }
.ep-home .ep-mission .ep-focus-grid { display: contents; }
.ep-home .ep-mission .ep-focus-grid > div:first-child {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 28px 32px 12px 88px;
}
.ep-home .ep-mission .ep-focus-kicker {
  display: inline-flex;
  margin: 0;
  color: var(--hm-cobalt-ink);
  font-size: var(--esp-type-caption);
  font-weight: var(--esp-weight-bold);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.ep-home .ep-mission::after,
.ep-home .ep-mission .ep-gauge-copy span { font-family: var(--esp-micro, ui-monospace, SFMono-Regular, Menlo, monospace); }
.ep-home[data-home-state="simulation"] .ep-focus-kicker { color: var(--hm-lime-ink); }
.ep-home .ep-mission .ep-mission-target {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 0;
  padding: 0 0 8px;
  align-items: baseline;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid var(--hm-line);
  border-radius: 0;
  background: transparent;
}
.ep-home .ep-mission .ep-mission-target span {
  flex: 0 0 auto;
  color: var(--hm-muted);
  font-size: var(--esp-type-caption);
}
.ep-home .ep-mission .ep-mission-target b {
  min-width: 0;
  overflow: hidden;
  color: var(--hm-cobalt-ink);
  font-size: var(--esp-type-support);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-home .ep-mission h2 {
  max-width: 31ch;
  margin: 14px 0 7px;
  color: var(--hm-ink);
  /* O caso da missao e o que o aluno LE, nao o que ele opera: entra na voz
     editorial junto com a manchete da pagina. O tracking afrouxa porque a
     serifada nao aguenta o -.045em que a sans aguentava. */
  font: var(--esp-title-weight, 700) var(--esp-type-heading)/1.12 var(--esp-title);
  letter-spacing: -.014em;
}
.ep-home .ep-mission .ep-focus-meta {
  margin: 0;
  color: var(--hm-muted);
  font-size: var(--esp-type-support);
}
.ep-home .ep-mission .ep-focus-reason {
  display: flex;
  max-width: 70ch;
  margin-top: 12px;
  align-items: flex-start;
  color: #3f4a60;
  font-size: var(--esp-type-support);
  line-height: 1.45;
}
.ep-home .ep-mission .ep-focus-reason::before {
  width: 5px;
  height: 5px;
  margin-top: .48em;
  flex: 0 0 auto;
  border-radius: 1px;
  background: var(--hm-lime-ink);
  transform: rotate(45deg);
}
.ep-home .ep-mission .ep-mission-facts { gap: 4px 14px; margin-top: 15px; }
.ep-home .ep-mission .ep-mission-facts span {
  min-height: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--hm-muted);
  font-size: var(--esp-type-caption);
  font-weight: var(--esp-weight-medium);
}
.ep-home .ep-mission .ep-mission-facts span + span::before {
  content: none;
}
.ep-home .ep-mission .ep-primary {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  min-height: 48px;
  margin: 7px 32px 28px 88px;
  padding: 0 20px;
  border-radius: 5px;
  background: var(--hm-cobalt);
  color: #fff !important;
  box-shadow: none;
  transition: background-color var(--t-fast), transform var(--t-fast);
}
.ep-home .ep-mission .ep-primary span { transition: transform var(--t-fast); }
.ep-home .ep-mission .ep-primary:hover { background: var(--hm-cobalt-ink); filter: none; transform: translateY(-1px); }
.ep-home .ep-mission .ep-primary:hover span,
.ep-home .ep-mission .ep-primary:focus-visible span { transform: translateX(4px); }

/* A distância/tempo vira uma régua de dez divisões. O ponto usa o mesmo --p já
   calculado pelo produto; CSS apenas o projeta, sem inventar desempenho. */
.ep-home .ep-mission .ep-gauge {
  --hm-ruler-accent: var(--hm-lime-ink);
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  width: auto;
  min-height: 100%;
  aspect-ratio: auto;
  padding: 31px 24px 74px;
  align-items: flex-start;
  justify-content: flex-start;
  border-left: 1px solid var(--hm-line);
  border-radius: 0;
  background: var(--hm-paper-cool);
}
.ep-home[data-home-state="new"] .ep-gauge { --hm-ruler-accent: var(--hm-cobalt); }
.ep-home[data-home-state="simulation"] .ep-gauge { --hm-ruler-accent: var(--hm-lime-ink); }
.ep-home .ep-mission .ep-gauge::before {
  content: "";
  position: absolute;
  inset: auto 24px 31px;
  height: 17px;
  border-radius: 0;
  background-image:
    linear-gradient(to right, var(--hm-ruler-accent) calc(var(--p) * 1%), #cfd6e2 0),
    repeating-linear-gradient(to right, #aeb8ca 0 1px, transparent 1px 10%);
  background-position: left bottom, left bottom;
  background-repeat: no-repeat;
  background-size: 100% 2px, 100% 11px;
  box-shadow: none;
}
.ep-home .ep-mission .ep-gauge::after {
  content: "";
  position: absolute;
  bottom: 27px;
  left: clamp(29px, calc(var(--p) * 1%), calc(100% - 29px));
  width: 9px;
  height: 9px;
  border: 2px solid var(--hm-paper-cool);
  border-radius: 1px;
  background: var(--hm-ruler-accent);
  box-shadow: 0 0 0 1px var(--hm-ruler-accent);
  transform: translateX(-50%) rotate(45deg);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.ep-home .ep-mission .ep-gauge-copy { text-align: left; }
.ep-home .ep-mission .ep-gauge-copy span {
  display: block;
  color: var(--hm-muted);
  font-size: var(--esp-type-caption);
  font-weight: var(--esp-weight-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ep-home .ep-mission .ep-gauge-copy b {
  display: block;
  margin: 10px 0 3px;
  color: var(--hm-ink);
  font: var(--esp-weight-bold) var(--esp-type-display)/.92 var(--esp-display, Manrope, sans-serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.055em;
}
.ep-home .ep-mission .ep-gauge-copy small { color: var(--hm-muted); font-size: var(--esp-type-caption); }
.ep-home .ep-mission:has(.ep-primary:is(:hover, :focus-visible)) .ep-gauge::after {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--hm-ruler-accent) 18%, transparent);
  transform: translateX(-50%) rotate(135deg) scale(1.18);
}

/* O restante da página é registro: bordas horizontais, tabela e trajetória. */
.ep-home .hm-secao {
  margin-top: 42px;
  padding-top: 3px;
}
.ep-home .hm-secao-head {
  display: flex;
  min-height: 52px;
  padding: 0 0 11px 17px;
  align-items: flex-end;
  gap: 18px;
  border-bottom: 1px solid var(--hm-line);
  border-left: 3px solid var(--hm-cobalt);
}
.ep-home .hm-secao + .hm-secao .hm-secao-head { border-left-color: var(--hm-lime-ink); }
.ep-home .hm-secao-head h2 {
  margin: 0;
  color: var(--hm-ink);
  font: var(--esp-weight-bold) var(--esp-type-subhead)/1.16 var(--esp-display, Manrope, sans-serif);
  letter-spacing: -.025em;
}
.ep-home .hm-secao-head a {
  display: inline-flex;
  min-height: var(--tap-min);
  margin: 0 0 -9px auto;
  padding: 0 2px;
  align-items: center;
  gap: .4em;
  color: var(--hm-cobalt-ink);
  font-size: var(--esp-type-caption);
  font-weight: var(--esp-weight-bold);
  text-decoration: none;
}
.ep-home .hm-secao-head a svg { transition: transform var(--t-fast); }
.ep-home .hm-secao-head a:hover svg,
.ep-home .hm-secao-head a:focus-visible svg { transform: translateX(3px); }
.ep-home .hm-secao-nota {
  max-width: 74ch;
  margin: 15px 0 0;
  color: var(--hm-muted);
  font-size: var(--esp-type-support);
  line-height: 1.55;
}
.ep-home .hm-secao-nota b { color: var(--hm-ink); font-weight: var(--esp-weight-bold); }
.ep-home .hm-vazio { margin: 18px 0 0; color: var(--hm-muted); font-size: var(--esp-type-support); }

.ep-home .hm-tabela {
  width: 100%;
  margin-top: 19px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: var(--esp-type-support);
}
.ep-home .hm-tabela thead th {
  padding: 0 0 9px;
  border-bottom: 1px solid #cfd6e2;
  color: var(--hm-muted);
  font-size: var(--esp-type-caption);
  font-weight: var(--esp-weight-medium);
  text-align: right;
}
.ep-home .hm-tabela thead th:first-child { width: 34%; text-align: left; }
.ep-home .hm-tabela tbody th {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid #e3e7ef;
  text-align: left;
  font-weight: var(--esp-weight-regular);
}
.ep-home .hm-tabela tbody th b {
  display: block;
  overflow: hidden;
  color: var(--hm-ink);
  font-size: var(--esp-type-support);
  font-weight: var(--esp-weight-bold);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-home .hm-tabela tbody th small {
  display: block;
  margin-top: 3px;
  color: var(--hm-muted);
  font-size: var(--esp-type-caption);
}
.ep-home .hm-tabela td {
  padding: 14px 0;
  border-bottom: 1px solid #e3e7ef;
  color: var(--hm-ink);
  vertical-align: middle;
}
.ep-home .hm-tabela .hm-num {
  width: 92px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: var(--esp-weight-bold);
}
.ep-home .hm-tabela .hm-perda { color: var(--hm-coral); }
.ep-home .hm-tabela .hm-barra { width: 40%; padding-right: 20px; padding-left: 20px; }
.ep-home .hm-tabela tbody .hm-barra { position: relative; }
.ep-home .hm-tabela tbody .hm-barra::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 20px;
  left: 20px;
  height: 8px;
  border-radius: var(--app-radius-pill);
  background: #e8ecf7;
  box-shadow: inset 0 1px 1px rgba(29, 39, 74, .08);
  transform: translateY(-50%);
}
.ep-home .hm-tabela .hm-barra span {
  position: relative;
  z-index: 1;
  display: block;
  height: 8px;
  border-radius: var(--app-radius-pill);
  background-color: var(--hm-cobalt);
  background-image: none;
}
.ep-home .hm-tabela .hm-barra span[data-sev="alto"] { background-color: var(--hm-coral); }
.ep-home .hm-tabela .hm-barra span[data-sev="medio"] { background-color: #d59136; }
.ep-home .hm-tabela .hm-barra span[data-sev="baixo"] { background-color: #7b8de1; }
.ep-home .hm-tabela .hm-linha-topo th b { font-size: var(--esp-type-body); }
.ep-home .hm-head-short { display: none; }

.ep-home .hm-traj {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(260px, .8fr);
  gap: 34px;
  margin-top: 20px;
  align-items: start;
}
.ep-home .hm-traj-grafico { position: relative; min-width: 0; padding-top: 0; }
.ep-home .hm-traj-grafico::before { content: none; }


.ep-home .hm-progress-chart {
  --cut: 75%;
  position: relative;
  display: flex;
  height: 148px;
  padding: 0 8px;
  align-items: flex-end;
  gap: 8px;
  border-bottom: 1px solid #d8deef;
}
.ep-home .hm-progress-cut {
  position: absolute;
  right: 0;
  bottom: var(--cut);
  left: 0;
  border-top: 1px dashed #a6d662;
}
.ep-home .hm-progress-axis {
  position: absolute;
  z-index: 2;
  bottom: calc(var(--cut) + 8px);
  left: 0;
  display: flex;
  gap: 3px;
  align-items: baseline;
  padding: 1px 2px;
  color: #719b35;
  background: var(--hm-paper);
  font-family: var(--esp-micro, ui-monospace, SFMono-Regular, Menlo, monospace);
  line-height: 1;
}
.ep-home .hm-progress-axis b,
.ep-home .hm-progress-axis small { font-size: var(--esp-type-caption); }
.ep-home .hm-progress-bar {
  position: relative;
  min-width: 0;
  flex: 1;
  border-radius: 7px 7px 2px 2px;
  background: #c6cdf7;
}
.ep-home .hm-progress-bar > b {
  position: absolute;
  top: -17px;
  left: 50%;
  color: #7784bb;
  font-family: var(--esp-micro, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: var(--esp-type-caption);
  font-style: normal;
  transform: translateX(-50%);
}
.ep-home .hm-progress-bar.is-last { background: linear-gradient(180deg, #8998ec, #a7d665); }
.ep-home .hm-progress-bar.is-last > b { top: -20px; color: #5e72ce; }
.ep-home .hm-traj-legenda {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--hm-muted);
  font-size: var(--esp-type-caption);
}
.ep-home .hm-leituras,
.ep-home .hm-leituras > li { margin: 0; padding: 0; list-style: none; }
.ep-home .ep-recent-row { border-color: #e3e7ef; }
.ep-home .ep-recent-row:hover { background: var(--hm-cobalt-soft); }

/* A classe é compartilhada por tabela/ícones, então continua disponível na
   plataforma inteira mesmo com a nova composição da Home. */
.ep-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1200px) {
  .ep-home .hm-id { grid-template-columns: 1fr; row-gap: 17px; }
  .ep-home .hm-id h1,
  .ep-home .hm-id > p,
  .ep-home .hm-numeros { grid-column: 1; }
  .ep-home .hm-numeros { grid-row: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ep-home .hm-numeros > span { min-height: 48px; justify-content: center; }
  .ep-home .hm-numeros > span:nth-child(n) { border-bottom: 0; border-left: 1px solid var(--hm-line); }
  .ep-home .hm-numeros > span:first-child { border-left: 0; }
}

@media (max-width: 900px) {
  .ep-home .hm-traj { grid-template-columns: 1fr; gap: 23px; }
  .ep-home .hm-tabela .hm-barra { display: none; }
  .ep-home .hm-tabela thead th:first-child { width: auto; }
}

@media (max-width: 820px) {
  /* Atalho de conta é infraestrutura do app, não da tela de Simulados. */
  .app-main { position: relative; }
  .app-mobile-account {
    position: absolute;
    z-index: 3;
    top: max(10px, env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));
    display: flex;
    width: auto;
    margin: 0;
    justify-content: flex-end;
  }
  .app-mobile-account + #view-inicio .ep-page-head,
  .app-mobile-account + #view-inicio .app-hoje { padding-right: 52px; }
  .app-mobile-account + #view-inicio :is(.hm-id h1, .app-hoje h1) { overflow-wrap: anywhere; }
  .app-mobile-account a {
    display: grid;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    place-items: center;
    align-items: center;
    color: var(--ep-ink, #20283d);
    border: 1px solid var(--ep-line, #dfe4f2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 20px -12px rgba(29, 39, 70, .28);
    font: var(--esp-weight-bold) var(--esp-type-caption)/1 var(--esp-ui, Inter, sans-serif);
    text-decoration: none;
  }
  .app-mobile-account a > span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--ep-blue, #405bd7);
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-size: var(--esp-type-support);
  }
  .app-mobile-account a > b {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .app-mobile-account a:focus-visible { outline: 3px solid rgba(64, 91, 215, .36); outline-offset: 3px; }
}

/* Assim que a sidebar reaparece, a coluna útil ainda é estreita demais para
   sustentar texto + régua lado a lado. Nesse intervalo a missão vira uma folha
   contínua; acima dele, a leitura volta a ocupar duas colunas. */
@media (min-width: 821px) and (max-width: 1050px) {
  .ep-home .ep-mission { display: block; }
  .ep-home .ep-mission::after { display: none; }
  .ep-home .ep-mission::before { width: 13px; }
  .ep-home .ep-mission .ep-focus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ep-home .ep-mission .ep-focus-grid > div:first-child {
    padding: 26px 30px 14px 40px;
  }
  .ep-home .ep-mission .ep-gauge {
    display: block;
    grid-column: 1;
    grid-row: auto;
    width: auto;
    min-height: 100px;
    margin: 0 30px 0 40px;
    padding: 18px 0 42px;
    border-top: 1px solid var(--hm-line);
    border-left: 0;
    background: transparent;
  }
  .ep-home .ep-mission .ep-gauge::before { inset: auto 0 17px; }
  .ep-home .ep-mission .ep-gauge::after {
    bottom: 13px;
    left: clamp(5px, calc(var(--p) * 1%), calc(100% - 5px));
    border-color: var(--hm-paper);
  }
  .ep-home .ep-mission .ep-gauge-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 12px;
  }
  .ep-home .ep-mission .ep-gauge-copy span { grid-column: 1; grid-row: 1; }
  .ep-home .ep-mission .ep-gauge-copy small { grid-column: 1; grid-row: 2; }
  .ep-home .ep-mission .ep-gauge-copy b {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    font-size: var(--esp-type-heading);
  }
  .ep-home .ep-mission .ep-primary {
    width: calc(100% - 70px);
    min-height: 48px;
    margin: 18px 30px 26px 40px;
  }
}

@media (max-width: 720px) {
  .ep-home .hm-id { margin-bottom: 18px; }
  .ep-home .hm-id h1 { padding-right: 56px; }
  .app-mobile-account + #view-inicio .hm-id h1 { max-width: none; padding-right: 0; }
  .ep-home .hm-numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ep-home .hm-numeros > span:nth-child(n) { justify-content: flex-start; border-left: 0; }
  .ep-home .hm-numeros > span:nth-child(even) { border-left: 1px solid var(--hm-line); }
  .ep-home .hm-numeros > span:nth-child(-n + 2) { border-bottom: 1px solid var(--hm-line); }

  .ep-home .ep-mission { display: block; }
  .ep-home .ep-mission::before { width: 13px; }
  .ep-home .ep-mission::after { display: none; }
  .ep-home .ep-mission .ep-focus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ep-home .ep-mission .ep-focus-grid > div:first-child { padding: 22px 18px 13px 31px; }
  .ep-home .ep-mission h2 { max-width: none; font-size: var(--esp-type-heading); }
  .ep-home .ep-mission .ep-focus-reason { font-size: var(--esp-type-caption); }
  .ep-home .ep-mission .ep-gauge {
    display: block;
    grid-column: 1;
    grid-row: auto;
    width: auto;
    min-height: 96px;
    margin: 0 18px 0 31px;
    padding: 17px 0 41px;
    border-top: 1px solid var(--hm-line);
    border-left: 0;
    background: transparent;
  }
  .ep-home .ep-mission .ep-gauge::before { inset: auto 0 17px; }
  .ep-home .ep-mission .ep-gauge::after {
    bottom: 13px;
    left: clamp(5px, calc(var(--p) * 1%), calc(100% - 5px));
    border-color: var(--hm-paper);
  }
  .ep-home .ep-mission .ep-gauge-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 12px;
  }
  .ep-home .ep-mission .ep-gauge-copy span { grid-column: 1; grid-row: 1; }
  .ep-home .ep-mission .ep-gauge-copy small { grid-column: 1; grid-row: 2; }
  .ep-home .ep-mission .ep-gauge-copy b {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    font-size: var(--esp-type-heading);
  }
  .ep-home .ep-mission .ep-primary {
    width: calc(100% - 49px);
    min-height: 48px;
    margin: 17px 18px 22px 31px;
  }
  .ep-home .hm-secao { margin-top: 34px; }
  .ep-home .hm-secao-head { padding-left: 12px; align-items: flex-start; }
  .ep-home .hm-secao-head h2 { font-size: var(--esp-type-body); }
  .ep-home .hm-tabela { table-layout: fixed; }
  .ep-home .hm-tabela .hm-num { width: 64px; }
  .ep-home .hm-tabela tbody th { padding-right: 8px; }
  .ep-home .hm-head-wide { display: none; }
  .ep-home .hm-head-short { display: inline; }
}

@media (max-width: 390px) {
  .ep-home .hm-numeros > span { min-height: 51px; padding-inline: 8px; gap: 4px; }
  .ep-home .hm-numeros b { font-size: var(--esp-type-support); }
  .ep-home .ep-mission .ep-mission-target { display: grid; gap: 4px; }
  .ep-home .ep-mission .ep-mission-target b { white-space: normal; }
  .ep-home .hm-secao-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; }
  .ep-home .hm-secao-head a { margin-bottom: -9px; }
  .ep-home .hm-tabela .hm-num { width: 57px; }
}

@media (max-width: 340px) {
  .ep-home .hm-id h1 { font-size: var(--esp-type-heading); }
  .ep-home .hm-numeros > span { display: grid; align-content: center; gap: 3px; }
  .ep-home .ep-mission .ep-focus-grid > div:first-child { padding-right: 14px; }
  .ep-home .ep-mission .ep-gauge { margin-right: 14px; }
  .ep-home .ep-mission .ep-primary { width: calc(100% - 45px); margin-right: 14px; }
  .ep-home .hm-secao-head { grid-template-columns: 1fr; }
  .ep-home .hm-secao-head a { justify-self: start; margin: 0; }
  .ep-home .hm-tabela .hm-num { width: 53px; }
}

@media (prefers-reduced-motion: reduce) {
  .ep-home .ep-mission .ep-primary,
  .ep-home .ep-mission .ep-primary span,
  .ep-home .ep-mission .ep-gauge::after,
  .ep-home .hm-secao-head a svg { transition: none; }
  .ep-home .ep-mission .ep-primary:hover { transform: none; }
  .ep-home .ep-mission:has(.ep-primary:is(:hover, :focus-visible)) .ep-gauge::after {
    transform: translateX(-50%) rotate(45deg);
  }
}

/* ═══ Painel de decisão luminoso ════════════════════════════════════════════
   A identidade da entrada aparece aqui como precisão, não como reprodução da
   folha: uma superfície clara, um alvo compacto e profundidade feita por luz.
   A antiga margem pautada e o rótulo vertical deixam de competir com a missão. */
.ep-home {
  --hm-halo: rgba(83, 104, 219, .18);
  --hm-halo-soft: rgba(126, 143, 232, .10);
  --hm-surface-line: rgba(102, 119, 207, .22);
  isolation: isolate;
}
.ep-home .hm-id { margin-bottom: 26px; }
.ep-home .hm-id h1 {
  font: var(--esp-weight-bold) clamp(2.2rem, 3.65vw, 3.2rem)/1.03 var(--esp-display, Manrope, sans-serif);
  letter-spacing: -.058em;
}
.ep-home .hm-numeros {
  overflow: hidden;
  border: 1px solid rgba(106, 121, 184, .18);
  border-radius: var(--app-radius-card);
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(245, 247, 255, .86));
  box-shadow:
    0 22px 48px -38px rgba(38, 50, 96, .48),
    0 2px 8px rgba(39, 53, 105, .035);
  backdrop-filter: blur(12px);
}
.ep-home .hm-numeros > span { padding-inline: 16px; }

.ep-home .ep-mission {
  grid-template-columns: minmax(0, 1fr) 224px;
  grid-template-rows: minmax(224px, auto) auto;
  border: 1px solid var(--hm-surface-line);
  border-radius: 22px;
  background:
    radial-gradient(380px 240px at 93% 0%, rgba(112, 132, 226, .16), transparent 70%),
    linear-gradient(145deg, #fff 0%, #fcfdff 58%, #f5f7ff 100%);
  box-shadow:
    0 30px 70px -46px rgba(31, 45, 102, .62),
    0 12px 28px -22px rgba(62, 83, 173, .28),
    inset 0 1px 0 rgba(255, 255, 255, .92);
}
.ep-home .ep-mission::before {
  inset: 0 auto auto 0;
  width: 46%;
  height: 3px;
  border: 0;
  border-radius: 22px 0 999px 0;
  background: linear-gradient(90deg, var(--hm-cobalt), #7e8fe7 72%, transparent);
}
.ep-home[data-home-state="simulation"] .ep-mission::before {
  background: linear-gradient(90deg, var(--hm-lime-ink), #a9df58 72%, transparent);
}
.ep-home .ep-mission::after { display: none; content: none; }
.ep-home .ep-mission .ep-focus-grid > div:first-child { padding: 33px 30px 16px 34px; }
.ep-home .ep-mission .ep-focus-kicker {
  color: #5569ca;
  letter-spacing: .095em;
}
.ep-home .ep-mission .ep-mission-target {
  display: flex;
  min-height: 34px;
  margin-top: 15px;
  padding: 7px 11px;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: var(--app-radius-pill);
  background: linear-gradient(135deg, #182543, #25345d);
  box-shadow: 0 9px 20px -14px rgba(18, 31, 68, .8);
}
.ep-home .ep-mission .ep-mission-target span { color: #bfc9eb; }
.ep-home .ep-mission .ep-mission-target b {
  color: #fff;
  font-size: var(--esp-type-caption);
  white-space: nowrap;
}
.ep-home .ep-mission h2 {
  max-width: 29ch;
  margin-top: 17px;
  font: var(--esp-weight-bold) clamp(1.75rem, 2.5vw, 2.16rem)/1.07 var(--esp-display, Manrope, sans-serif);
}
.ep-home .ep-mission .ep-primary {
  margin: 9px 30px 30px 34px;
  border-radius: var(--app-radius-inset);
  background: linear-gradient(135deg, #baf160, #a8e24f);
  color: #243217 !important;
  box-shadow: 0 15px 28px -19px rgba(87, 132, 24, .78);
}
.ep-home .ep-mission .ep-primary:hover {
  background: linear-gradient(135deg, #c2f672, #afe957);
  color: #1f2d13 !important;
  filter: none;
}

.ep-home .ep-mission .ep-gauge {
  grid-row: 1 / 3;
  min-height: 188px;
  margin: 26px 18px 26px 0;
  padding: 22px 20px 54px;
  align-items: flex-start;
  align-self: center;
  border: 0;
  border-radius: var(--app-radius-card);
  background:
    radial-gradient(170px 120px at 100% 0%, rgba(111, 135, 233, .30), transparent 72%),
    linear-gradient(150deg, #182543, #26375f);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 24px 38px -28px rgba(17, 29, 66, .86);
}
.ep-home .ep-mission .ep-gauge::before {
  inset: auto 20px 23px;
  height: 6px;
  border-radius: var(--app-radius-pill);
  background: linear-gradient(
    to right,
    var(--hm-ruler-accent) 0 calc(var(--p) * 1%),
    rgba(255, 255, 255, .16) calc(var(--p) * 1%) 100%
  );
  box-shadow: inset 0 1px 2px rgba(31, 44, 90, .08);
}
.ep-home .ep-mission .ep-gauge::after { display: none; }
.ep-home .ep-mission .ep-gauge-copy span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: var(--app-radius-pill);
  background: rgba(255, 255, 255, .08);
  color: #cbd4f1;
  letter-spacing: .055em;
}
.ep-home .ep-mission .ep-gauge-copy b { margin-top: 15px; color: var(--hm-lime); }
.ep-home .ep-mission .ep-gauge-copy small { color: #d7dded; }

.ep-home .hm-secao {
  margin-top: 30px;
  padding: 24px 25px 25px;
  border: 1px solid rgba(108, 124, 183, .16);
  border-radius: 20px;
  /* Era um gradiente de branco para quase-branco: ninguem enxerga a diferenca e
     ele existia porque gradiente parece design. Superficie de conteudo e plana. */
  background: var(--ep-card);
  box-shadow:
    0 24px 54px -46px rgba(31, 43, 91, .55),
    0 2px 8px rgba(38, 51, 101, .025);
}
.ep-home .hm-secao-head {
  min-height: 44px;
  padding: 0 0 12px;
  align-items: center;
  border-bottom-color: rgba(106, 121, 178, .16);
  border-left: 0;
}
.ep-home .hm-secao + .hm-secao .hm-secao-head { border-left: 0; }
.ep-home .hm-secao-head a { margin-bottom: -7px; }
.ep-home .hm-tabela { margin-top: 16px; }
.ep-home .hm-tabela tbody tr:last-child :is(th, td) { border-bottom: 0; }
.ep-home .hm-tabela .hm-barra span {
  height: 8px;
  border-radius: var(--app-radius-pill);
  background-image: none;
  box-shadow: inset 0 1px 1px rgba(29, 39, 74, .08);
}
.ep-home .hm-traj { gap: 30px; }
.ep-home .hm-traj-grafico::before { background: #e3e7f0; }

@media (max-width: 1050px) {
  .ep-home .ep-mission { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .ep-home .ep-mission .ep-focus-grid > div:first-child {
    grid-column: 1;
    grid-row: 1;
    padding: 30px 28px 15px;
  }
  .ep-home .ep-mission .ep-gauge {
    grid-column: 1;
    grid-row: 2;
    min-height: 112px;
    margin: 0 28px;
    padding: 19px 21px 48px;
  }
  .ep-home .ep-mission .ep-gauge::before { inset: auto 21px 22px; }
  .ep-home .ep-mission .ep-gauge-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 14px;
  }
  .ep-home .ep-mission .ep-gauge-copy span { grid-column: 1; grid-row: 1; }
  .ep-home .ep-mission .ep-gauge-copy small { grid-column: 1; grid-row: 2; }
  .ep-home .ep-mission .ep-gauge-copy b {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    font-size: var(--esp-type-heading);
  }
  .ep-home .ep-mission .ep-primary {
    grid-column: 1;
    grid-row: 3;
    width: calc(100% - 56px);
    margin: 18px 28px 28px;
  }
}

@media (max-width: 720px) {
  .ep-home .hm-id h1 { font: var(--esp-weight-bold) clamp(2rem, 10.5vw, 2.72rem)/1.03 var(--esp-display, Manrope, sans-serif); }
  .ep-home .hm-numeros { border-radius: var(--app-radius-panel); }
  .ep-home .ep-mission { border-radius: 19px; }
  .ep-home .ep-mission::before { width: 62%; border-radius: 19px 0 999px; }
  .ep-home .ep-mission .ep-focus-grid > div:first-child { padding: 25px 20px 13px; }
  .ep-home .ep-mission h2 { font-size: var(--esp-type-heading); }
  .ep-home .ep-mission .ep-gauge { margin: 0 20px; }
  .ep-home .ep-mission .ep-primary { width: calc(100% - 40px); margin: 16px 20px 22px; }
  .ep-home .hm-secao { margin-top: 22px; padding: 20px 18px; border-radius: var(--app-radius-card); }
  .ep-home .hm-secao-head { padding-left: 0; }
}

@media (max-width: 390px) {
  .ep-home .ep-mission .ep-mission-target {
    display: grid;
    max-width: 100%;
    border-radius: var(--app-radius-mobile-panel);
  }
  .ep-home .ep-mission .ep-mission-target b { overflow: hidden; text-overflow: ellipsis; }
  .ep-home .hm-secao { padding-inline: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .ep-home .ep-mission,
  .ep-home .hm-secao,
  .ep-home .hm-numeros { scroll-behavior: auto; }
}

/* O esqueleto ocupa a mesma arquitetura da Home para a troca de estado não
   reintroduzir a antiga folha pautada durante a leitura da conta. */
.app-loading {
  background:
    radial-gradient(620px 380px at 76% 8%, rgba(101, 121, 224, .10), transparent 70%),
    #f7f8fc;
}
.app-loading .app-esq-metrics {
  overflow: hidden;
  border: 1px solid rgba(106, 121, 184, .16);
  border-radius: var(--app-radius-card);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 22px 48px -40px rgba(38, 50, 96, .42);
}
.app-loading .app-esq-mission {
  grid-template-columns: minmax(0, 1fr) 224px;
  border-color: rgba(102, 119, 207, .20);
  border-radius: 22px;
  background:
    radial-gradient(380px 240px at 93% 0%, rgba(112, 132, 226, .14), transparent 70%),
    linear-gradient(145deg, #fff 0%, #fcfdff 58%, #f5f7ff 100%);
  box-shadow:
    0 30px 70px -46px rgba(31, 45, 102, .58),
    0 12px 28px -22px rgba(62, 83, 173, .24);
}
.app-loading .app-esq-mission::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 46%;
  height: 3px;
  border-radius: 22px 0 999px;
  background: linear-gradient(90deg, #4965df, #7e8fe7 72%, transparent);
}
.app-loading .app-esq-margin { display: none; }
.app-loading .app-esq-mission-copy { padding: 33px 34px 28px; }
.app-loading .app-esq-cta {
  border-radius: var(--app-radius-inset);
  background: linear-gradient(90deg, #dff4be 25%, #bce977 37%, #dff4be 63%);
  background-size: 400% 100%;
}
.app-loading .app-esq-ruler {
  min-height: 188px;
  margin: 26px 18px 26px 0;
  padding: 22px 20px 54px;
  align-self: center;
  border: 0;
  border-radius: var(--app-radius-card);
  background:
    radial-gradient(170px 120px at 100% 0%, rgba(111, 135, 233, .30), transparent 72%),
    linear-gradient(150deg, #182543, #26375f);
  box-shadow: 0 24px 38px -28px rgba(17, 29, 66, .78);
}
.app-loading .app-esq-ruler > span {
  border-radius: var(--app-radius-pill);
  background: linear-gradient(90deg, rgba(255,255,255,.08) 25%, rgba(255,255,255,.20) 37%, rgba(255,255,255,.08) 63%);
  background-size: 400% 100%;
}
.app-loading .app-esq-ruler i {
  right: 20px;
  bottom: 23px;
  left: 20px;
  height: 6px;
  border: 0;
  border-radius: var(--app-radius-pill);
  background: rgba(255, 255, 255, .16);
}
.app-loading .app-esq-record {
  margin-top: 30px;
  padding: 24px 25px 25px;
  border: 1px solid rgba(108, 124, 183, .15);
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 24px 54px -46px rgba(31, 43, 91, .48);
}

@media (max-width: 820px) {
  .app-loading .app-esq-mission {
    display: grid;
    grid-template-columns: 1fr;
  }
  .app-loading .app-esq-mission-copy { padding: 26px 20px 18px; }
  .app-loading .app-esq-ruler {
    min-height: 112px;
    margin: 0 20px 22px;
    padding: 19px 21px 48px;
    border-top: 0;
  }
  .app-loading .app-esq-ruler i { right: 21px; bottom: 22px; left: 21px; }
  .app-loading .app-esq-record { margin-top: 22px; padding: 20px 18px; border-radius: var(--app-radius-card); }
}

/* ═══ Acabamento de interação e carregamento ═══════════════════════════════
   A composição não muda. Esta camada só fecha estados, quebras extremas e
   a fidelidade do esqueleto para a troca loading → conteúdo não denunciar uma
   tela provisória. */
.ep-home .hm-numeros > span { min-width: 0; }
.ep-home .hm-numeros b { white-space: nowrap; }
.ep-home .ep-mission h2 { overflow-wrap: anywhere; }
.ep-home .ep-mission .ep-primary {
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.ep-home .ep-mission .ep-primary:hover {
  box-shadow: 0 18px 32px -19px rgba(87, 132, 24, .84);
  transform: translateY(-2px);
}
.ep-home .ep-mission .ep-primary:active {
  box-shadow: 0 9px 18px -14px rgba(87, 132, 24, .72);
  transform: translateY(0) scale(.99);
}
.ep-home .ep-mission .ep-primary:focus-visible {
  outline: 3px solid rgba(64, 91, 215, .46);
  outline-offset: 4px;
}
.ep-home .hm-secao-head a:active { transform: translateY(1px); }
.ep-home .ep-mission .ep-gauge-copy,
.ep-home .hm-numeros { font-variant-numeric: tabular-nums; }

.app-loading .app-esq-target {
  width: 174px;
  height: 34px;
  border-radius: var(--app-radius-pill);
  background: linear-gradient(90deg, #25365f 25%, #40558d 37%, #25365f 63%);
  background-size: 400% 100%;
}
.app-loading .app-esq-kicker { border-radius: var(--app-radius-pill); }
.app-loading .app-esq-txt { margin-top: 16px; }

@media (max-width: 390px) {
  .ep-home .hm-numeros > span { padding-inline: 12px; }
  .ep-home .ep-mission .ep-mission-target { width: fit-content; }

  .ep-home .hm-traj-legenda { position: static; display: block; margin-top: 8px; }
  .ep-home .hm-progress-chart { height: 138px; gap: 6px; }
  .app-loading .app-esq-target { max-width: 78%; }
}

@media (hover: none) {
  .ep-home .ep-mission .ep-primary:hover {
    box-shadow: 0 15px 28px -19px rgba(87, 132, 24, .78);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ep-home .ep-mission .ep-primary { transition: none; }
  .ep-home .ep-mission .ep-primary:hover,
  .ep-home .ep-mission .ep-primary:active { transform: none; }
  .ep-home .hm-secao-head a:active { transform: none; }
  .app-loading .app-esq-target { animation: none; background: #25365f; }
}

.ep-recent-row > i, .ep-recent-row svg { width: 16px; height: 16px; flex: none; }

/* ═══ Elevação é hierarquia, não decoração ═══════════════════════════════════
   A Inicio tinha QUATRO tratamentos de cartao, com raios 18/20/22 e sombras em
   alfa .48/.55/.62 — cada bloco inventou a propria elevacao, e quando tudo
   levita nada se destaca. Ficam dois niveis:

     nivel 2  a missao — o UNICO objeto que a tela manda acionar hoje
     nivel 1  secoes e superficies de conteudo, que assentam na pagina

   A faixa de numeros nao e nem um nem outro: e uma linha de dados, entao perde
   a moldura inteira. */
.ep-home .hm-secao {
  border-radius: var(--app-radius-panel);
  box-shadow: var(--app-shadow-reading);
}
.ep-home .ep-focus.ep-mission {
  border-radius: 20px;
  box-shadow: 0 18px 44px -24px rgba(31,45,102,.55);
}
.ep-home .hm-numeros {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
/* Sem a moldura, os fios internos e que dao a estrutura — dado separado por
   linha, como numa tabela, em vez de quatro caixinhas. */
.ep-home .hm-numeros > span:nth-child(even) { border-left: 1px solid var(--hm-line); }
.ep-home .hm-numeros > span:nth-child(-n+2) { border-bottom: 1px solid var(--hm-line); }

/* Mesma regra na tabela de criterios e nas ultimas leituras: linha que se clica
   confirma o alvo antes do clique. */
.ep-home .hm-tabela tbody tr,
.ep-home .ep-recent-row {
  transition: background-color .16s ease;
}
.ep-home .hm-tabela tbody tr:hover,
.ep-home .ep-recent-row:hover { background: var(--ep-blue-soft); }
.app-shell .app-sidebar-logo { transition: opacity .16s ease; }
.app-shell .app-sidebar-logo:hover { opacity: .82; }
@media (prefers-reduced-motion: reduce) {
  .ep-home .hm-tabela tbody tr,
  .ep-home .ep-recent-row,
  .app-shell .app-sidebar-logo { transition: none; }
}

/* ═══ A ação volta para a primeira dobra no celular ═══════════════════════
   A versão empilhada punha a régua de desempenho antes do botão. Em 390 px,
   "Começar este caso" só aparecia perto de 888 px: a Home explicava antes de
   deixar agir. No celular, a ordem editorial passa a ser contexto → ação →
   medidor. É a mesma arquitetura do esqueleto e preserva todos os dados. */
@media (max-width: 720px) {
  .ep-home .hm-id {
    row-gap: 12px;
    margin-bottom: 14px;
  }
  .ep-home .hm-id > p {
    margin-top: 4px;
    line-height: 1.42;
  }
  .ep-home .hm-numeros > span {
    min-height: 44px;
    padding-block: 6px;
  }

  .ep-home .ep-mission {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .ep-home .ep-mission .ep-focus-grid { display: contents; }
  .ep-home .ep-mission .ep-focus-grid > div:first-child {
    grid-column: 1;
    grid-row: 1;
    padding: 22px 20px 9px;
  }
  .ep-home .ep-mission h2 {
    max-width: 22ch;
    font-size: var(--esp-type-heading);
    line-height: 1.08;
    overflow-wrap: normal;
  }
  .ep-home .ep-mission .ep-focus-meta {
    font-size: var(--esp-type-caption);
    line-height: 1.45;
  }
  .ep-home .ep-mission .ep-mission-facts span:last-child { display: none; }

  .ep-home .ep-mission .ep-primary {
    grid-column: 1;
    grid-row: 2;
    width: calc(100% - 40px);
    margin: 12px 20px 0;
  }
  .ep-home .ep-mission .ep-gauge {
    grid-column: 1;
    grid-row: 3;
    min-height: 82px;
    margin: 12px 20px 20px;
    padding: 15px 18px 41px;
    border-radius: var(--app-radius-mobile-panel);
  }
  .ep-home .ep-mission .ep-gauge::before { inset: auto 18px 18px; }
}

@media (max-width: 390px) {
  .ep-home .ep-mission .ep-mission-target {
    display: flex;
    width: fit-content;
    min-height: 34px;
    border-radius: var(--app-radius-pill);
  }
  .ep-home .ep-mission .ep-mission-target span,
  .ep-home .ep-mission .ep-mission-target b { white-space: nowrap; }
}

@media (max-width: 340px) {
  .ep-home .hm-id h1 {
    padding-right: 48px;
    font-size: var(--esp-type-heading);
    overflow-wrap: normal;
    word-break: normal;
  }
  .app-mobile-account + #view-inicio .hm-id h1 { overflow-wrap: normal; }
  .ep-home .ep-mission .ep-mission-facts { display: none; }
  .ep-home .ep-mission .ep-focus-grid > div:first-child { padding-top: 20px; }
  .ep-home .ep-mission .ep-primary { margin-top: 10px; }
}

/* Régua do gráfico: discreta o bastante para não competir com a curva, presente
   o bastante para dar escala. E o valor do último ponto em destaque, porque é o
   número que o aluno vem procurar. */
.ep-chart-axis {
  fill: var(--ep-muted);
  font-size: var(--esp-type-caption);
  font-weight: var(--esp-weight-medium);
  font-variant-numeric: tabular-nums;
}
.ep-chart-valor {
  fill: var(--ep-ink);
  font-size: var(--esp-type-support);
  font-weight: var(--esp-weight-bold);
  font-variant-numeric: tabular-nums;
}

/* ═══ A voz editorial ════════════════════════════════════════════════════════
   Serifada no que se LÊ — a manchete da página e o caso da missão. Sans no que
   se OPERA: título de seção, rótulo, dado, botão, tabela. É a divisão de uma
   publicação, e é o que separa um produto com identidade de um painel genérico.

   A fonte já existia no repo, mas vivia só no Acervo: era o elemento mais
   distintivo do app e estava preso numa tela. */
.ep-home .hm-id h1,
.ep-page-head h1,
.ep-focus h2,
.ep-focus .ep-focus-title {
  font-family: var(--esp-title);
  font-weight: var(--esp-title-weight, 700);
  letter-spacing: var(--esp-title-tracking, -.018em);
}

/* ═══ A missão termina quando a decisão termina ════════════════════════════
   A Home não precisa de uma área cenográfica para uma única ação. O caso, a
   razão e o botão formam uma folha compacta; o histórico continua logo abaixo. */
.ep-home .ep-focus.ep-mission {
  grid-template-rows: auto auto;
  min-height: 0;
  border-radius: var(--app-radius-mobile-panel);
  background: var(--hm-paper);
  box-shadow: var(--app-shadow-reading);
}
.ep-home .ep-mission .ep-focus-grid > div:first-child {
  padding: 25px 30px 8px 34px;
}
.ep-home .ep-mission h2 {
  margin-top: 13px;
  line-height: 1.08;
}
.ep-home .ep-mission .ep-focus-reason { margin-top: 9px; }
.ep-home .ep-mission .ep-mission-facts { margin-top: 11px; }
.ep-home .ep-mission .ep-primary {
  margin: 10px 30px 24px 34px;
  box-shadow: 0 8px 18px -16px rgba(87, 132, 24, .72);
}

@media (max-width: 720px) {
  .ep-home .ep-focus.ep-mission { border-radius: var(--app-radius-mobile-panel); }
  .ep-home .ep-mission .ep-focus-grid > div:first-child { padding: 20px 20px 6px; }
  .ep-home .ep-mission h2 { margin-top: 12px; }
  .ep-home .ep-mission .ep-primary { margin: 10px 20px 18px; }
}

/* A decisão ocupa a esquerda; a régua dá sentido ao espaço de apoio.
   No celular, a missão termina no botão; a média fica na Evolução. */
.ep-home .ep-focus.ep-mission:not(.ep-mission--resume) {
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, .85fr);
}
.ep-home .ep-mission .hm-cut-reference {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin: 22px 22px 22px 0;
  padding: 21px var(--app-space-5) 14px;
  border: 1px solid var(--hm-line);
  border-radius: var(--app-radius-inset);
  background: var(--hm-cobalt-soft);
}
.ep-home .hm-cut-reference > a { display: inline-flex; align-items: center; gap: var(--app-space-2); min-height: 44px; margin-top: var(--app-space-3); color: var(--hm-cobalt-ink); font-size: var(--esp-type-caption); font-weight: var(--esp-weight-bold); text-decoration: none; }
.ep-home .hm-cut-reference > a svg { width: 15px; height: 15px; }
.ep-home .hm-cut-reference > a:focus-visible { outline: 2px solid var(--hm-cobalt-ink); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 1100px) {
  .ep-home .ep-focus.ep-mission:not(.ep-mission--resume) { grid-template-columns: minmax(0, 1fr); }
  .ep-home .ep-mission .hm-cut-reference { grid-column: 1; grid-row: 3; margin: 0 30px var(--app-space-6) 34px; }
}
@media (max-width: 720px) {
  .ep-home .ep-mission .hm-cut-reference { display: none; }
}

/* ═══ Diagnóstico em folha contínua ═════════════════════════════════════════
   O diagnóstico é uma lista de pontos FGV, não um segundo hero. A moldura sai;
   ficam o cabeçalho, a régua e as linhas que o aluno consegue comparar. */
.ep-home .hm-secao {
  margin-top: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ep-home .hm-secao + .hm-secao {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hm-line);
}
.ep-home .hm-secao-head {
  min-height: 44px;
  padding: 0 0 11px;
  border-bottom: 1px solid var(--hm-line);
}
.ep-home .hm-secao-head h2 { font-size: var(--esp-type-body); }
.ep-home .hm-tabela { margin-top: 8px; }
.ep-home .hm-tabela tbody th,
.ep-home .hm-tabela tbody td { padding-top: 13px; padding-bottom: 13px; }
.ep-home .hm-tabela .hm-barra { padding-right: 16px; padding-left: 16px; }
.ep-home .hm-tabela .hm-barra span { height: 7px; }

@media (max-width: 720px) {
  .ep-home .hm-secao { margin-top: 28px; }
  .ep-home .hm-secao + .hm-secao { margin-top: 30px; padding-top: 21px; }
  .ep-home .hm-secao-head { min-height: 42px; }
}

/* ═══ HOME / MISSÃO ÚNICA — setembro 2026 ═══════════════════════════════════
   A tela deixa de ser um relatório abreviado. A primeira superfície responde
   somente “o que faço agora?”; continuidade e diagnóstico viram duas linhas
   editoriais abaixo, sem repetir os números persistentes da navegação. */
.ep-home { width: min(1040px, 100%); }
.ep-home .hm-id {
  margin-bottom: 18px;
}
.ep-home .hm-id h1 {
  max-width: 22ch;
  font-size: clamp(32px, 4vw, 52px);
  line-height: .98;
  letter-spacing: -.055em;
}
.ep-home .hm-id > p {
  max-width: 62ch;
  margin-top: 10px;
  font-size: var(--esp-type-support);
}

.ep-home .ep-focus.ep-mission,
.ep-home .ep-focus.ep-mission:not(.ep-mission--resume) {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(270px, .72fr);
  grid-template-rows: auto;
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(104, 124, 208, .2);
  border-radius: 24px;
  background:
    radial-gradient(560px 380px at 8% 0%, rgba(106, 126, 218, .2), transparent 72%),
    #18223d;
  box-shadow: 0 26px 70px -48px rgba(20, 30, 61, .9);
}
.ep-home .ep-mission::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #6d81ec 0 56%, var(--hm-lime) 56% 100%);
}
.ep-home .ep-mission::after { content: none; display: none; }
.ep-home .hm-mission-main {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 42px 48px 44px 49px;
}
.ep-home .ep-mission .ep-focus-kicker {
  margin: 0 0 20px;
  color: var(--hm-lime);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ep-home .ep-mission h2 {
  max-width: 19ch;
  margin: 0;
  color: #fff;
  font-family: var(--esp-title);
  font-size: clamp(31px, 3.55vw, 48px);
  font-weight: var(--esp-title-weight, 700);
  line-height: 1.01;
  letter-spacing: -.048em;
  overflow-wrap: anywhere;
}
.ep-home .ep-mission .ep-focus-meta {
  max-width: 66ch;
  margin-top: 15px;
  color: #b9c3df;
  font-size: var(--esp-type-caption);
  line-height: 1.5;
}
.ep-home .ep-mission .ep-focus-reason {
  display: block;
  max-width: 58ch;
  margin: 17px 0 0;
  padding-left: 13px;
  border-left: 2px solid var(--hm-lime);
  color: #e4e8f4;
  font-size: var(--esp-type-support);
  line-height: 1.48;
}
.ep-home .ep-mission .ep-focus-reason::before { content: none; display: none; }
.ep-home .ep-mission .ep-primary {
  align-self: flex-start;
  min-width: 190px;
  min-height: 52px;
  margin: 25px 0 0;
  padding-inline: 23px;
  border-radius: 12px;
  background: var(--hm-lime);
  color: #243315 !important;
  box-shadow: 0 13px 28px -20px rgba(173, 235, 78, .82);
}

.ep-home .hm-mission-cycle {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 38px 31px;
  border-left: 1px solid rgba(199, 208, 238, .14);
  background: rgba(255, 255, 255, .028);
}
.ep-home .hm-mission-cycle > span {
  margin: 0 0 24px 38px;
  color: #8f9bbc;
  font-family: var(--esp-micro, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 10px;
  font-weight: var(--esp-weight-bold);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ep-home .hm-mission-cycle ol {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ep-home .hm-mission-cycle li {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
}
.ep-home .hm-mission-cycle li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25px;
  bottom: -23px;
  left: 11px;
  width: 1px;
  background: rgba(190, 200, 230, .23);
}
.ep-home .hm-mission-cycle li > i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #5f6d91;
  border-radius: 50%;
  background: #202c4b;
  color: #aeb8d4;
  font-size: 12px;
  font-style: normal;
}
.ep-home .hm-mission-cycle li > span { min-width: 0; }
.ep-home .hm-mission-cycle b {
  display: block;
  color: #edf0f8;
  font-size: var(--esp-type-support);
  line-height: 1.28;
}
.ep-home .hm-mission-cycle small {
  display: block;
  margin-top: 4px;
  color: #8f9bbc;
  font-size: var(--esp-type-caption);
  line-height: 1.36;
}
.ep-home .hm-mission-cycle .hm-cycle-feito > i {
  border-color: #6d8650;
  background: #263a32;
  color: var(--hm-lime);
}
.ep-home .hm-mission-cycle .hm-cycle-feito b { color: #aab5d1; }
.ep-home .hm-mission-cycle .hm-cycle-agora > i {
  border: 5px solid #384770;
  background: var(--hm-lime);
  box-shadow: 0 0 0 2px var(--hm-lime);
}
.ep-home .hm-mission-cycle .hm-cycle-agora b { color: var(--hm-lime); }
.ep-home .hm-mission-cycle .hm-cycle-depois { opacity: .72; }

.ep-home .hm-sim-time {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 20px;
  color: #b7c1dd;
  font-size: var(--esp-type-caption);
}
.ep-home .hm-sim-time b {
  color: var(--hm-lime);
  font: var(--esp-weight-bold) var(--esp-type-subhead)/1 var(--esp-display, Manrope, sans-serif);
  font-variant-numeric: tabular-nums;
}

.ep-home .hm-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--hm-line);
  border-bottom: 1px solid var(--hm-line);
}
.ep-home .hm-support-link,
.ep-home .hm-cut-reference {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 116px;
  margin: 0;
  padding: 19px 24px 19px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
}
.ep-home .hm-cut-reference { padding-left: 24px; border-left: 1px solid var(--hm-line); }
.ep-home .hm-support-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #dce2f5;
  border-radius: 50%;
  background: var(--hm-cobalt-soft);
  color: var(--hm-cobalt-ink);
}
.ep-home .hm-support-icon svg { width: 17px; height: 17px; }
.ep-home .hm-support :is(.hm-support-link, .hm-cut-reference) > span:nth-child(2) { min-width: 0; }
.ep-home .hm-support small {
  display: block;
  color: #68738d;
  font-family: var(--esp-micro, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 10px;
  font-weight: var(--esp-weight-bold);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ep-home .hm-support b {
  display: block;
  margin-top: 5px;
  color: var(--hm-ink);
  font-size: var(--esp-type-support);
  line-height: 1.3;
}
.ep-home .hm-support b + span {
  display: block;
  margin-top: 3px;
  color: var(--hm-muted);
  font-size: var(--esp-type-caption);
  line-height: 1.42;
}
.ep-home .hm-support :is(.hm-support-link > i, .hm-cut-reference > a) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  margin: 0;
  color: var(--hm-cobalt-ink);
  font-size: var(--esp-type-caption);
  font-style: normal;
  font-weight: var(--esp-weight-bold);
  text-decoration: none;
}
.ep-home .hm-cut-reference > a { justify-content: flex-start; gap: 6px; white-space: nowrap; }
.ep-home .hm-support-link,
.ep-home .hm-cut-reference > a { transition: color .16s ease, background-color .16s ease; }
.ep-home .hm-support-link:hover,
.ep-home .hm-cut-reference:has(> a:hover) { background: rgba(238, 242, 255, .55); }

@media (max-width: 820px) {
  .ep-home .ep-focus.ep-mission,
  .ep-home .ep-focus.ep-mission:not(.ep-mission--resume) {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .ep-home .hm-mission-main { padding: 34px 34px 31px 38px; }
  .ep-home .hm-mission-cycle {
    padding: 24px 34px 27px 38px;
    border-top: 1px solid rgba(199, 208, 238, .14);
    border-left: 0;
  }
  .ep-home .hm-mission-cycle > span { margin: 0 0 17px; }
  .ep-home .hm-mission-cycle ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ep-home .hm-mission-cycle li { grid-template-columns: 19px minmax(0, 1fr); gap: 8px; }
  .ep-home .hm-mission-cycle li:not(:last-child)::after {
    top: 9px;
    right: -13px;
    bottom: auto;
    left: 18px;
    width: auto;
    height: 1px;
  }
  .ep-home .hm-mission-cycle li > i { width: 19px; height: 19px; font-size: 10px; }
  .ep-home .hm-mission-cycle b { font-size: var(--esp-type-caption); }
  .ep-home .hm-mission-cycle small { font-size: 10px; }
}

@media (max-width: 720px) {
  .ep-home .hm-id { margin-bottom: 14px; }
  .ep-home .hm-id h1 { padding-right: 44px; font-size: clamp(30px, 10vw, 40px); line-height: 1; }
  .ep-home .hm-id > p { margin-top: 8px; }
  .ep-home .ep-focus.ep-mission { border-radius: 19px; }
  .ep-home .hm-mission-main { padding: 27px 21px 23px 25px; }
  .ep-home .ep-mission .ep-focus-kicker { margin-bottom: 15px; }
  .ep-home .ep-mission h2 { max-width: none; font-size: clamp(28px, 8.3vw, 36px); }
  .ep-home .ep-mission .ep-focus-meta { margin-top: 12px; }
  .ep-home .ep-mission .ep-focus-reason { margin-top: 13px; font-size: var(--esp-type-caption); }
  .ep-home .ep-mission .ep-primary {
    width: 100%;
    min-height: 50px;
    margin: 20px 0 0;
  }
  .ep-home .hm-mission-cycle { padding: 20px 20px 23px 25px; }
  .ep-home .hm-mission-cycle ol { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ep-home .hm-mission-cycle li { grid-template-columns: 20px minmax(0, 1fr); align-items: center; }
  .ep-home .hm-mission-cycle li:not(:last-child)::after {
    top: 20px;
    right: auto;
    bottom: -13px;
    left: 9px;
    width: 1px;
    height: auto;
  }
  .ep-home .hm-mission-cycle li > i { width: 20px; height: 20px; }
  .ep-home .hm-mission-cycle small { margin-top: 2px; }
  .ep-home .hm-support { grid-template-columns: minmax(0, 1fr); margin-top: 23px; }
  .ep-home .hm-support-link,
  .ep-home .hm-cut-reference {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    min-height: 102px;
    padding: 16px 0;
  }
  .ep-home .hm-cut-reference { border-top: 1px solid var(--hm-line); border-left: 0; }
  .ep-home .hm-cut-reference > a {
    grid-column: 2 / -1;
    width: auto;
    overflow: visible;
    justify-self: start;
    white-space: normal;
    color: var(--hm-cobalt-ink);
  }
  .ep-home .hm-cut-reference > a span { color: inherit; }
}

@media (max-width: 390px) {
  .ep-home .hm-mission-cycle small { font-size: 9px; }
  .ep-home .hm-support small { letter-spacing: .035em; }
}

@media (prefers-reduced-motion: reduce) {
  .ep-home .hm-support-link,
  .ep-home .hm-cut-reference > a,
  .ep-home .ep-mission .ep-primary { transition: none; }
  .ep-home .ep-mission .ep-primary:hover { transform: none; }
}

/* ═══ PRIMEIRA DOBRA COMPACTA — setembro 2026 ═══════════════════════════════
   A saudação identifica a mesa; a missão logo abaixo explica o que fazer. */
.app-body .ep-home .hm-id { margin-bottom: 12px; }
.app-body .ep-home .hm-id h1 {
  max-width: none;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.06;
  letter-spacing: -.042em;
  text-wrap: balance;
}
.ep-home .hm-greeting-typed {
  display: inline;
  white-space: normal;
}
.ep-home .hm-greeting-typed.is-typing::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: .86em;
  margin-left: 3px;
  vertical-align: -.05em;
  background: currentColor;
  animation: hm-caret-pulse .48s steps(1, end) infinite;
}
@keyframes hm-caret-pulse { 50% { opacity: 0; } }
.app-body .ep-home .hm-id > p {
  max-width: 70ch;
  margin-top: 7px;
  font-size: var(--esp-type-caption);
  line-height: 1.45;
}
@media (max-width: 720px) {
  .app-body .app-main:has(> .app-mobile-account):has(> #view-inicio:not([hidden])) {
    padding-top: max(16px, env(safe-area-inset-top));
  }
  .app-body .ep-home .hm-id {
    min-height: 44px;
    align-items: center;
    row-gap: 0;
    margin-bottom: 18px;
  }
  .app-body .ep-home .hm-id h1 {
    max-width: calc(100% - 58px);
    min-height: 1em;
    padding-right: 0;
    font-size: clamp(20px, 6vw, 23px);
    line-height: 1;
    white-space: normal;
  }
  .app-body .ep-home .hm-greeting-typed {
    display: inline-block;
    white-space: pre-line;
  }
  .app-body .app-mobile-account + #view-inicio .hm-id h1 { padding-right: 0; }
  .app-body .ep-home .hm-id > p { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .ep-home .hm-greeting-typed.is-typing::after { animation: none; }
}

/* A missão e o ciclo são duas decisões próximas, não uma única caixa. */
.ep-home .ep-focus.ep-mission,
.ep-home .ep-focus.ep-mission:not(.ep-mission--resume) {
  gap: 6px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ep-home .ep-mission::before { content: none; display: none; }
.ep-home .hm-mission-main,
.ep-home .hm-mission-cycle {
  overflow: hidden;
  border: 1px solid rgba(104, 124, 208, .2);
  border-radius: 24px;
  background: #18223d;
}
.ep-home .hm-mission-main {
  background:
    radial-gradient(560px 380px at 8% 0%, rgba(106, 126, 218, .2), transparent 72%),
    #18223d;
}
.ep-home .hm-mission-main::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #6d81ec 0 56%, var(--hm-lime) 56% 100%);
}
.ep-home .hm-mission-cycle {
  border-left: 1px solid rgba(104, 124, 208, .2);
  background: #1c2743;
}
@media (max-width: 720px) {
  .ep-home .hm-mission-main,
  .ep-home .hm-mission-cycle { border-radius: 19px; }
  .ep-home .hm-mission-cycle { border-top: 1px solid rgba(104, 124, 208, .2); }
}
