/* ==========================================================================
   CENTRAL DO ALUNO — a Página que substitui o Canva "Manual do Aluno"
   Lote 5, 13/10/2026. Refeita em 20/10/2026 (anotações do Marcelo de 19/10).
   Escopo: body.path-mod-page #region-main .central

   O conteúdo é HTML colado no editor da Página (tools/camadas/central-conteudo.html);
   o comportamento é o rebranding-central.js. Esta camada desenha os dois.
   O script põe na .central o atributo data-etapa (tipo, curso, turma, ra,
   painel); cada seção do painel abre por âncora (:target), como antes.

   O QUE É DE QUEM: tudo [SCSS]. Destino: um parcial novo, _central.scss, na
   branch visual/central-do-aluno. Nada pede renderer nem template.

   TOKENS: os da casa, por extenso (o preview não compila SCSS):
       navy #102770   azul #0059FB   tinta suave #3A4468 / #5A668C
       linha #D5D8E2  linha fraca #EEF1F7  superfície #F5F7FB  tint #EAF1FF
       r-sm 8 / r-md 10 / r-lg 16
   Mais as 5 cores da régua de comunicação da FAT (Figma "Régua de retenção"):
       #INFO IMPORTANTE #00AEEF · #COLOCA EM PRÁTICA #0054A6 · #ESTAMOS COM VOCÊ #34A853
       #OPEN FOR WORK #674EA7 · #VAMOS RECUPERAR #ED8500
   Para FUNDO COM TEXTO BRANCO três delas cedem (regra da casa: APCA decide,
   medido em 13/10): info → #0092CB (Lc 68), inc → #1E8E5A (Lc 74),
   rec → #C96F00 (Lc 69). cob (Lc 90) e emp (Lc 87) ficam puras. A cor pura
   continua nos pontos e bordas, onde não há texto por cima.

   GRID DE 8: toda altura de linha e espaço é múltiplo de 8 (4 só em vão
   apertado). Linhas de texto: 16 (12–13px), 24 (14–18px), 32 (24px).
   ALVO: 24 no mínimo no desktop, 40 no celular.
   ========================================================================== */


/* --------------------------------------------------------------------------
   0. A CAIXA DA PÁGINA                                                 [SCSS]
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central {
    font-size: 1rem;
    line-height: 1.5rem;
    color: #3A4468;
    position: relative;
    padding-top: 8px;
    padding-bottom: 32px;
}
body.path-mod-page #region-main .central h2,
body.path-mod-page #region-main .central h3,
body.path-mod-page #region-main .central h4 {
    color: #102770;
    font-weight: 600;
    margin: 0;
}
body.path-mod-page #region-main .central h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}
body.path-mod-page #region-main .central h3,
body.path-mod-page #region-main .central h4 {
    font-size: 1.125rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central p {
    margin: 0;
}
body.path-mod-page #region-main .central ul,
body.path-mod-page #region-main .central ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
body.path-mod-page #region-main .central a {
    color: #0059FB;
}
body.path-mod-page #region-main .central button {
    font: inherit;
    color: inherit;
}
body.path-mod-page #region-main .central :is(a, button, summary, select, input):focus-visible {
    outline: 2px solid #0059FB;
    outline-offset: 2px;
    box-shadow: none;
}
body.path-mod-page #region-main .central [hidden] {
    display: none !important;             /* o script esconde com hidden; os display:flex/grid desta camada não podem vencê-lo */
}
body.path-mod-page #region-main .central .ctl-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* Linha do tempo de 3 semestres (TI): no desktop "1º bim." para não quebrar;
   o leitor de tela continua ouvindo "bimestre". */
body.path-mod-page #region-main .central .ctl-bim-curto {
    display: none;
}
@media (min-width: 768px) {
    body.path-mod-page #region-main .central .ctl-metro.is-3sem .ctl-bim-longo {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    body.path-mod-page #region-main .central .ctl-metro.is-3sem .ctl-bim-curto {
        display: inline;
    }
}
body.path-mod-page #region-main .central [id] {
    scroll-margin-top: 172px;             /* 60 da barra do Moodle + a fita (104 a 1440) + 8 */
}
body.path-mod-page #region-main .no-overflow:has(> .central) {
    overflow: visible;                    /* o .no-overflow do mod_page é overflow:auto e mataria o sticky da fita (medido em 13/10) */
}


/* --------------------------------------------------------------------------
   1. O PORTÃO — tipo, curso, turma, RA                                 [SCSS]
   Antes de o script rodar só a etapa 1 aparece (sem piscar o resto). Depois,
   só a etapa que o data-etapa da .central manda.
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central > [data-etapa] {
    display: none;
}
body.path-mod-page #region-main .central:not(.ctl-js) > [data-etapa="tipo"],
body.path-mod-page #region-main .central[data-etapa="tipo"] > [data-etapa="tipo"],
body.path-mod-page #region-main .central[data-etapa="curso"] > [data-etapa="curso"],
body.path-mod-page #region-main .central[data-etapa="turma"] > [data-etapa="turma"],
body.path-mod-page #region-main .central[data-etapa="ra"] > [data-etapa="ra"],
body.path-mod-page #region-main .central[data-etapa="painel"] > [data-etapa="painel"] {
    display: block;
}
body.path-mod-page #region-main .central[data-etapa="painel"] > .ctl-ra-aviso {
    display: none;
}

/* O aviso do RA, logo abaixo do cabeçalho, em todo o portão. */
body.path-mod-page #region-main .central .ctl-ra-aviso {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 32px;
    padding: 15px 23px;
    border: 1px solid #C9D9FF;
    border-radius: 16px;
    background: #EAF1FF;
    color: #102770;
}
body.path-mod-page #region-main .central .ctl-ra-aviso > .icon {
    flex: none;
    margin: 0;
    color: #0059FB;
    font-size: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-ra-aviso p {
    flex: 1;
}
body.path-mod-page #region-main .central .ctl-ra-consultar {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #0059FB;
    border-radius: 10px;
    background: #FFFFFF;
    color: #0059FB;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
}

body.path-mod-page #region-main .central .ctl-etapa > h2 {
    margin-bottom: 24px;
}
body.path-mod-page #region-main .central .ctl-etapa-pergunta {
    margin: -16px 0 24px;
    color: #3A4468;
    font-size: 1.125rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-etapa h2:focus,
body.path-mod-page #region-main .central .ctl-cal-titulo:focus {
    outline: 0;                           /* o foco programático da troca de etapa não desenha anel em título */
}

/* "Voltar": a etapa anterior, sempre no mesmo lugar. */
body.path-mod-page #region-main .central .ctl-voltar,
body.path-mod-page #region-main .central .ctl-trocar,
body.path-mod-page #region-main .central .ctl-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #0059FB;
    font-size: .875rem;
    line-height: 1.5rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
body.path-mod-page #region-main .central .ctl-voltar {
    min-height: 40px;
    margin-bottom: 8px;
    text-decoration: none;
}
body.path-mod-page #region-main .central .ctl-voltar::before {
    content: "\f053";                     /* chevron-left */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .75rem;
}

/* As escolhas: um cartão por opção. */
body.path-mod-page #region-main .central .ctl-escolhas {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
body.path-mod-page #region-main .central [data-etapa="curso"] .ctl-escolhas {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.path-mod-page #region-main .central .ctl-escolhas-turma {
    grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
}
body.path-mod-page #region-main .central .ctl-escolha {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;          /* topo: o ícone fica na mesma altura mesmo se o nome quebrar */
    width: 100%;
    height: 100%;
    min-height: 96px;
    margin: 0;
    padding: 23px;
    border: 1px solid #D5D8E2;
    border-radius: 16px;
    background: #FFFFFF;
    color: #102770;
    text-align: left;
    cursor: pointer;
}
body.path-mod-page #region-main .central .ctl-escolha .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 0 16px;
    border-radius: 10px;
    background: #EAF1FF;
    color: #0059FB;
    font-size: 1.125rem;
}
body.path-mod-page #region-main .central .ctl-escolha strong {
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 600;
}
body.path-mod-page #region-main .central .ctl-escolha span {
    color: #5A668C;
    font-size: .875rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-escolha:focus-visible {
    border-color: #0059FB;
    box-shadow: 0 8px 24px rgba(16, 39, 112, .10);
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-escolha:hover {
        border-color: #0059FB;
        box-shadow: 0 8px 24px rgba(16, 39, 112, .10);
    }
}

/* Formulários: RA, senha mestra, código de formandos. */
body.path-mod-page #region-main .central .ctl-form {
    max-width: 560px;
}
body.path-mod-page #region-main .central .ctl-form label {
    display: block;
    margin: 0 0 8px;
    color: #102770;
    font-size: .875rem;
    line-height: 1.5rem;
    font-weight: 600;
}
body.path-mod-page #region-main .central .ctl-form-linha {
    display: flex;
    gap: 8px;
}
body.path-mod-page #region-main .central .ctl-form input {
    flex: 1;
    min-width: 0;
    height: 48px;
    margin: 0;
    padding: 0 15px;
    border: 1px solid #B5BBCF;
    border-radius: 10px;
    background: #FFFFFF;
    color: #102770;
    font-size: 1.125rem;
    line-height: 1.5rem;
    letter-spacing: .04em;
}
body.path-mod-page #region-main .central .ctl-form input:focus {
    border-color: #0059FB;
    box-shadow: 0 0 0 3px rgba(0, 89, 251, .20);
    outline: 0;
}
body.path-mod-page #region-main .central .ctl-form input[aria-invalid="true"] {
    border-color: #B42318;
}
body.path-mod-page #region-main .central .ctl-form .ctl-botao {
    height: 48px;
}
body.path-mod-page #region-main .central .ctl-form-ajuda {
    margin-top: 8px;
    color: #5A668C;
    font-size: .875rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-form-erro {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    color: #B42318;
    font-size: .875rem;
    line-height: 1.5rem;
    font-weight: 600;
}
body.path-mod-page #region-main .central .ctl-form-erro::before {
    content: "\f06a";                     /* circle-exclamation */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
body.path-mod-page #region-main .central .ctl-equipe {
    max-width: 560px;
    margin-top: 32px;
    padding-top: 15px;
    border-top: 1px solid #D5D8E2;
}
body.path-mod-page #region-main .central .ctl-equipe > summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    color: #5A668C;
    font-size: .875rem;
    line-height: 1.5rem;
    cursor: pointer;
    list-style: none;
}
body.path-mod-page #region-main .central .ctl-equipe > summary::-webkit-details-marker {
    display: none;
}
body.path-mod-page #region-main .central .ctl-equipe > summary::after {
    content: "\f078";                     /* chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .625rem;
}
body.path-mod-page #region-main .central .ctl-equipe[open] > summary {
    margin-bottom: 16px;
}


/* --------------------------------------------------------------------------
   2. O PAINEL — cabeça (curso, turma, trocar) e a linha do tempo       [SCSS]
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-hub-cabeca {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin: 0 0 24px;
}
body.path-mod-page #region-main .central .ctl-hub-curso {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}
body.path-mod-page #region-main .central .ctl-hub-turma {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #EAF1FF;
    color: #102770;
    font-size: .875rem;
    line-height: 1.5rem;
    font-weight: 700;
}

/* A LINHA DO TEMPO — mapa de metrô. Os semestres são quadrantes de fundo
   claro com dois bimestres (cada um com a sua avaliação); as férias ficam
   entre eles; a formatura é a estação final. O trilho é um traço só, medido
   pelo script (--trilho-*), do primeiro ao último ponto; a parte percorrida
   é navy até o ponto atual. */
body.path-mod-page #region-main .central .ctl-linha {
    margin: 0 0 32px;
    padding: 23px;
    border: 1px solid #D5D8E2;
    border-radius: 16px;
    background: #FFFFFF;
}
body.path-mod-page #region-main .central .ctl-linha-titulo {
    margin: 0 0 8px;
}
body.path-mod-page #region-main .central .ctl-metro {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-top: 32px;                    /* espaço do selo "Você está aqui" */
}
body.path-mod-page #region-main .central .ctl-metro::before,
body.path-mod-page #region-main .central .ctl-metro::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: var(--trilho-eixo, 0);
    left: var(--trilho-ini, 0);
    height: 4px;
    margin-top: -2px;
    border-radius: 2px;
}
body.path-mod-page #region-main .central .ctl-metro::before {
    width: calc(var(--trilho-fim, 0px) - var(--trilho-ini, 0px));
    background: #D5D8E2;
}
body.path-mod-page #region-main .central .ctl-metro::after {
    width: calc(var(--trilho-ate, 0px) - var(--trilho-ini, 0px));
    background: #102770;
}
body.path-mod-page #region-main .central .ctl-metro-sem {
    flex: 2 1 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 16px 8px 8px;
    border-radius: 12px;
    background: #F5F7FB;
}
body.path-mod-page #region-main .central .ctl-metro-sem.is-atual {
    background: #EAF1FF;
}
body.path-mod-page #region-main .central .ctl-metro-sem > ol {
    display: flex;
    gap: 8px;
}
body.path-mod-page #region-main .central .ctl-metro-rotulo {
    order: 2;
    margin-top: 8px;
    color: #5A668C;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
}
body.path-mod-page #region-main .central .ctl-metro-sem.is-atual .ctl-metro-rotulo {
    color: #0059FB;
}
body.path-mod-page #region-main .central .ctl-parada {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
body.path-mod-page #region-main .central .ctl-metro > .ctl-parada {
    margin-top: 16px;                     /* o mesmo respiro de topo do quadrante: todos os pontos no mesmo eixo */
}
body.path-mod-page #region-main .central .ctl-metro > .ctl-parada-formatura {
    flex: 1.5 1 0;
}
body.path-mod-page #region-main .central .ctl-parada-ponto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    border: 3px solid #B5BBCF;
    border-radius: 50%;
    background: #FFFFFF;
    color: #FFFFFF;
    font-size: .625rem;
}
body.path-mod-page #region-main .central .ctl-parada.is-feito .ctl-parada-ponto {
    border-color: #102770;
    background: #102770;
}
body.path-mod-page #region-main .central .ctl-parada.is-atual .ctl-parada-ponto {
    border-color: #0059FB;
    box-shadow: 0 0 0 6px rgba(0, 89, 251, .16);
}
body.path-mod-page #region-main .central .ctl-parada.is-atual:not(.ctl-parada-formatura) .ctl-parada-ponto::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0059FB;
}
body.path-mod-page #region-main .central .ctl-parada-formatura .ctl-parada-ponto {
    width: 40px;
    height: 40px;
    margin-top: -8px;                     /* 40 no lugar de 24: o centro fica no mesmo eixo dos outros pontos */
    margin-bottom: -8px;
    border: 0;
    background: linear-gradient(135deg, #2C7BFF 0%, #0047C9 100%);
    box-shadow: 0 4px 12px rgba(0, 71, 201, .32);
    font-size: 1rem;
}
body.path-mod-page #region-main .central .ctl-parada-formatura.is-feito .ctl-parada-ponto {
    background: #102770;
    box-shadow: none;
}
body.path-mod-page #region-main .central .ctl-parada-nome {
    margin-top: 8px;
    color: #102770;
    font-size: .8125rem;
    line-height: 1rem;
    font-weight: 600;
}
body.path-mod-page #region-main .central .ctl-parada.is-futuro .ctl-parada-nome {
    color: #5A668C;
}
body.path-mod-page #region-main .central .ctl-parada-formatura .ctl-parada-nome {
    font-size: .875rem;
    line-height: 1.5rem;
    font-weight: 700;
    color: #0047C9;
}
body.path-mod-page #region-main .central .ctl-parada-av {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #5A668C;
    font-size: .75rem;
    line-height: 1rem;
}
body.path-mod-page #region-main .central .ctl-parada-av .icon {
    margin: 0;
    font-size: .625rem;
}
body.path-mod-page #region-main .central .ctl-aqui {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    border-radius: 999px;
    background: #0059FB;
    color: #FFFFFF;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    white-space: nowrap;
}
body.path-mod-page #region-main .central .ctl-aqui::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -4px;
    border: 4px solid transparent;
    border-top-color: #0059FB;
}
/* O selo fica preso ao ponto, não à parada: na formatura (ponto de 40) ele sobe junto. */
body.path-mod-page #region-main .central .ctl-parada-formatura .ctl-aqui {
    bottom: calc(100% + 16px);
}
body.path-mod-page #region-main .central .ctl-linha-nota {
    margin-top: 16px;
    color: #3A4468;
    font-size: .875rem;
    line-height: 1.5rem;
}


/* --------------------------------------------------------------------------
   3. OS CARTÕES — e o mesmo hub como fita quando uma seção abre       [SCSS]
   10 cartões em 4 colunas: 4 + 4 + 2.
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-cartoes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
body.path-mod-page #region-main .central .ctl-cartao {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 23px;
    background: #FFFFFF;
    border: 1px solid #D5D8E2;
    border-radius: 16px;
    color: #102770;
    text-decoration: none;
}
body.path-mod-page #region-main .central .ctl-cartao:focus-visible {
    border-color: #0059FB;
    box-shadow: 0 8px 24px rgba(16, 39, 112, .10);
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-cartao:hover {
        border-color: #0059FB;
        box-shadow: 0 8px 24px rgba(16, 39, 112, .10);
        text-decoration: none;
    }
}
/* O tema limita .icon a 30x24 (max-width/max-height); os quadrados da Central têm 40. */
body.path-mod-page #region-main .central .icon {
    max-width: none;
    max-height: none;
    flex: none;
}
body.path-mod-page #region-main .central .ctl-cartao .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 0 16px;
    border-radius: 10px;
    background: #EAF1FF;
    color: #0059FB;
    font-size: 1.125rem;
}
body.path-mod-page #region-main .central .ctl-cartao .fa-whatsapp {
    background: #E6F4EC;
    color: #1B8051;
}
body.path-mod-page #region-main .central .ctl-cartao strong {
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 600;
}
body.path-mod-page #region-main .central .ctl-cartao span {
    color: #5A668C;
    font-size: .875rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-inicio {
    display: none;                        /* a casa só existe na fita */
}

/* A fita: hub compacto, grudado no topo, quando há seção aberta. */
body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) .ctl-hub {
    position: sticky;
    top: 60px;                            /* a navbar do Boost é fixed-top de 60 */
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 -8px 24px;
    padding: 8px 8px 7px;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #D5D8E2;
}
body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) :is(.ctl-hub-cabeca, .ctl-linha) {
    display: none;
}
body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) .ctl-cartoes {
    display: contents;
}
body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) :is(.ctl-inicio, .ctl-cartao) {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #D5D8E2;
    border-radius: 999px;
    background: #FFFFFF;
    color: #102770;
    font-size: .875rem;
    line-height: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: none;
}
body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) :is(.ctl-inicio, .ctl-cartao) .icon {
    width: auto;
    height: auto;
    margin: 0;
    background: none;
    color: #0059FB;
    font-size: .875rem;
}
body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) .ctl-cartao .fa-whatsapp {
    color: #1B8051;
}
body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) .ctl-cartao strong {
    font-size: .875rem;
    font-weight: 600;
}
body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) .ctl-cartao span,
body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) .ctl-inicio > span {
    display: none;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) :is(.ctl-inicio, .ctl-cartao):hover {
        border-color: #0059FB;
        color: #0059FB;
    }
}
/* A seção aberta acende a própria pílula. */
body.path-mod-page #region-main .central:has(#calendario:target, #calendario :target) .ctl-cartao[href="#calendario"],
body.path-mod-page #region-main .central:has(#ementas:target, #ementas :target) .ctl-cartao[href="#ementas"],
body.path-mod-page #region-main .central:has(#docentes:target, #docentes :target) .ctl-cartao[href="#docentes"],
body.path-mod-page #region-main .central:has(#comunicacoes:target, #comunicacoes :target) .ctl-cartao[href="#comunicacoes"],
body.path-mod-page #region-main .central:has(#manual:target, #manual :target) .ctl-cartao[href="#manual"],
body.path-mod-page #region-main .central:has(#suporte:target, #suporte :target) .ctl-cartao[href="#suporte"],
body.path-mod-page #region-main .central:has(#carreiras:target, #carreiras :target) .ctl-cartao[href="#carreiras"],
body.path-mod-page #region-main .central:has(#whatsapp:target, #whatsapp :target) .ctl-cartao[href="#whatsapp"],
body.path-mod-page #region-main .central:has(#formatura:target, #formatura :target) .ctl-cartao[href="#formatura"],
body.path-mod-page #region-main .central:has(#ambientacao:target, #ambientacao :target) .ctl-cartao[href="#ambientacao"] {
    background: #102770;
    border-color: #102770;
    color: #FFFFFF;
}
body.path-mod-page #region-main .central:has(#calendario:target, #calendario :target) .ctl-cartao[href="#calendario"] .icon,
body.path-mod-page #region-main .central:has(#ementas:target, #ementas :target) .ctl-cartao[href="#ementas"] .icon,
body.path-mod-page #region-main .central:has(#docentes:target, #docentes :target) .ctl-cartao[href="#docentes"] .icon,
body.path-mod-page #region-main .central:has(#comunicacoes:target, #comunicacoes :target) .ctl-cartao[href="#comunicacoes"] .icon,
body.path-mod-page #region-main .central:has(#manual:target, #manual :target) .ctl-cartao[href="#manual"] .icon,
body.path-mod-page #region-main .central:has(#suporte:target, #suporte :target) .ctl-cartao[href="#suporte"] .icon,
body.path-mod-page #region-main .central:has(#carreiras:target, #carreiras :target) .ctl-cartao[href="#carreiras"] .icon,
body.path-mod-page #region-main .central:has(#whatsapp:target, #whatsapp :target) .ctl-cartao[href="#whatsapp"] .icon,
body.path-mod-page #region-main .central:has(#formatura:target, #formatura :target) .ctl-cartao[href="#formatura"] .icon,
body.path-mod-page #region-main .central:has(#ambientacao:target, #ambientacao :target) .ctl-cartao[href="#ambientacao"] .icon {
    color: #FFFFFF;
}


/* --------------------------------------------------------------------------
   4. AS SEÇÕES — fechadas até a âncora chamar                           [SCSS]
   Sem parágrafo de introdução (regra de 19/10). Exceção: Ambientação.
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-secao {
    display: none;
}
body.path-mod-page #region-main .central .ctl-secao:target,
body.path-mod-page #region-main .central .ctl-secao:has(:target) {
    display: block;
}
body.path-mod-page #region-main .central .ctl-secao-cabeca {
    margin-bottom: 24px;
}
body.path-mod-page #region-main .central .ctl-secao-cabeca h2 .icon {
    margin-right: 8px;
    color: #0059FB;
    font-size: 1.25rem;
}
body.path-mod-page #region-main .central .ctl-secao-cabeca h2 .fa-whatsapp {
    color: #1B8051;
}
body.path-mod-page #region-main .central .ctl-secao-cabeca p {
    max-width: 60ch;
    margin-top: 8px;
}
body.path-mod-page #region-main .central .ctl-secao > h3 {
    margin: 32px 0 16px;
}
body.path-mod-page #region-main .central .ctl-secao-cabeca + h3 {
    margin-top: 0;
}
body.path-mod-page #region-main .central .ctl-rotulo {
    margin: 0 0 16px;
    color: #3A4468;
    font-size: .875rem;
    line-height: 1.5rem;
    font-weight: 600;
}


/* --------------------------------------------------------------------------
   5. CALENDÁRIO — estilo Google Agenda: Dia, Semana e Mês               [SCSS]
   O script monta .ctl-cal; a lista de datas e as tabelas de grade são a
   fonte e só aparecem sem o script.
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central.ctl-js .ctl-meses,
body.path-mod-page #region-main .central.ctl-js .ctl-grades {
    display: none;
}
body.path-mod-page #region-main .central .ctl-cal-barra {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 16px;
}
body.path-mod-page #region-main .central .ctl-cal-setas {
    display: inline-flex;
    gap: 4px;
}
body.path-mod-page #region-main .central .ctl-cal-seta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #3A4468;
    cursor: pointer;
}
body.path-mod-page #region-main .central .ctl-cal-seta .icon {
    margin: 0;
    font-size: .875rem;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-cal-seta:hover {
        background: #EEF1F7;
    }
}
body.path-mod-page #region-main .central .ctl-cal-titulo {
    flex: 1;
    min-width: 0;
    font-size: 1.125rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-cal-titulo::first-letter,
body.path-mod-page #region-main .central .ctl-agenda-dia h4::first-letter,
body.path-mod-page #region-main .central .ctl-msg-data::first-letter,
body.path-mod-page #region-main .central .ctl-dlg-data::first-letter {
    text-transform: uppercase;
}
body.path-mod-page #region-main .central .ctl-cal-vista select {
    height: 40px;
    margin: 0;
    padding: 0 40px 0 15px;
    border: 1px solid #D5D8E2;
    border-radius: 10px;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%233A4468' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 15px center;
    color: #102770;
    font-size: .875rem;
    line-height: 1.5rem;
    font-weight: 600;
    appearance: none;
    cursor: pointer;
}
body.path-mod-page #region-main .central .ctl-legenda {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0 0 16px;
    color: #3A4468;
    font-size: .8125rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-legenda li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
body.path-mod-page #region-main .central .ctl-ponto {
    display: inline-block;
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
body.path-mod-page #region-main .central .ctl-cor-info { background: #0092CB; }
body.path-mod-page #region-main .central .ctl-cor-cob  { background: #0054A6; }
body.path-mod-page #region-main .central .ctl-cor-inc  { background: #1E8E5A; }
body.path-mod-page #region-main .central .ctl-cor-emp  { background: #674EA7; }
body.path-mod-page #region-main .central .ctl-cor-rec  { background: #C96F00; }

/* A faixa das disciplinas 100% EaD: obrigatórias, valem nota. */
body.path-mod-page #region-main .central .ctl-cal-ead {
    display: flex;
    gap: 16px;
    margin: 0 0 16px;
    padding: 15px 23px;
    border: 1px solid #F2D4A6;
    border-radius: 12px;
    background: #FFF7EB;
    color: #3A4468;
    font-size: .875rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-cal-ead > .icon {
    flex: none;
    margin: 4px 0 0;
    color: #A16100;
}
body.path-mod-page #region-main .central .ctl-cal-ead strong {
    color: #102770;
}
body.path-mod-page #region-main .central .ctl-cal-ead-aviso {
    display: block;
    color: #7A4A00;
    font-weight: 600;
}
body.path-mod-page #region-main .central .ctl-cal-legenda-aula {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0 0 8px;
    color: #5A668C;
    font-size: .8125rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-cal-legenda-aula strong {
    color: #102770;
}
body.path-mod-page #region-main .central .ctl-cal-legenda-aula .icon {
    margin-right: 4px;
    color: #0059FB;
}
body.path-mod-page #region-main .central .ctl-cal-vazio {
    margin-top: 16px;
    padding: 15px 23px;
    border: 1px dashed #B5BBCF;
    border-radius: 12px;
    color: #3A4468;
    font-size: .875rem;
    line-height: 1.5rem;
}

/* Semana e Dia (desktop): colunas por dia; Avisos no topo; aulas por hora. */
body.path-mod-page #region-main .central .ctl-sem {
    display: grid;
    border: 1px solid #D5D8E2;
    border-radius: 16px;
    background: #FFFFFF;
    overflow: hidden;
}
body.path-mod-page #region-main .central .ctl-sem > div {
    min-width: 0;
    border-top: 1px solid #EEF1F7;
    border-left: 1px solid #EEF1F7;
}
body.path-mod-page #region-main .central .ctl-sem > .ctl-sem-canto,
body.path-mod-page #region-main .central .ctl-sem > .ctl-sem-dia {
    border-top: 0;
}
body.path-mod-page #region-main .central .ctl-sem > .ctl-sem-canto,
body.path-mod-page #region-main .central .ctl-sem > .ctl-sem-rotulo {
    border-left: 0;
}
body.path-mod-page #region-main .central .ctl-sem-dia {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
}
body.path-mod-page #region-main .central .ctl-sem-dia > span {
    color: #5A668C;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
body.path-mod-page #region-main .central .ctl-sem-num,
body.path-mod-page #region-main .central .ctl-mes-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #102770;
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-weight: 600;
    cursor: pointer;
}
body.path-mod-page #region-main .central .is-hoje > .ctl-sem-num,
body.path-mod-page #region-main .central .is-hoje > .ctl-mes-num,
body.path-mod-page #region-main .central .is-hoje .ctl-agenda-num {
    background: #0059FB;
    color: #FFFFFF;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central :not(.is-hoje) > :is(.ctl-sem-num, .ctl-mes-num):hover {
        background: #EEF1F7;
    }
}
body.path-mod-page #region-main .central .ctl-sem-rotulo {
    padding: 8px 8px 0 0;
    color: #5A668C;
    font-size: .75rem;
    line-height: 1rem;
    text-align: right;
}
body.path-mod-page #region-main .central .ctl-sem-hora {
    color: #102770;
    font-weight: 700;
}
body.path-mod-page #region-main .central .ctl-sem-avisos {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 40px;
    padding: 7px 4px 8px;                 /* 7 + 1 da linha de cima */
}
body.path-mod-page #region-main .central .ctl-sem-celula {
    display: flex;
    flex-direction: column;
    padding: 8px 4px;
}
body.path-mod-page #region-main .central .ctl-sem-celula > .ctl-aula {
    flex: 1;                              /* as aulas da mesma hora com a mesma altura: o "Entrar" fica na mesma linha */
}
body.path-mod-page #region-main .central .ctl-sem-celula .ctl-meet {
    margin-top: auto;
}
body.path-mod-page #region-main .central .ctl-ev {
    display: block;
    width: 100%;
    height: 24px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    color: #FFFFFF;
    font-size: .75rem;
    line-height: 1.5rem;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-ev:hover {
        filter: brightness(.9);
    }
}
body.path-mod-page #region-main .central .ctl-aula {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 8px 8px 9px;
    border-left: 3px solid #0059FB;
    border-radius: 8px;
    background: #EAF1FF;
}
body.path-mod-page #region-main .central .ctl-aula + .ctl-aula {
    margin-top: 8px;
}
body.path-mod-page #region-main .central .ctl-aula-hora,
body.path-mod-page #region-main .central .ctl-aula-prof {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    font-size: .75rem;
    line-height: 1rem;
}
body.path-mod-page #region-main .central .ctl-aula-hora {
    color: #3A4468;
}
body.path-mod-page #region-main .central .ctl-aula :is(.ctl-aula-hora, .ctl-aula-prof) .icon {
    margin: 0;
    padding-top: 2px;
    font-size: .625rem;
    color: #0059FB;
}
body.path-mod-page #region-main .central .ctl-aula-disc {
    color: #102770;
    font-size: .8125rem;
    line-height: 1rem;
    font-weight: 700;
}
body.path-mod-page #region-main .central .ctl-aula-prof {
    min-height: 24px;
    align-items: center;
    color: #102770;
    text-decoration: underline;
    text-decoration-color: #B5BBCF;
    text-underline-offset: 3px;
}
body.path-mod-page #region-main .central .ctl-aula .ctl-meet {
    margin-top: 4px;
}

/* Mês (desktop): seis semanas no máximo; até dois avisos por dia. */
body.path-mod-page #region-main .central .ctl-mes-grade {
    border: 1px solid #D5D8E2;
    border-radius: 16px;
    background: #FFFFFF;
    overflow: hidden;
}
body.path-mod-page #region-main .central .ctl-mes-cab,
body.path-mod-page #region-main .central .ctl-mes-linha {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}
body.path-mod-page #region-main .central .ctl-mes-cab span {
    padding: 8px 0;
    color: #5A668C;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
    text-transform: uppercase;
}
body.path-mod-page #region-main .central .ctl-mes-dia {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    min-width: 0;
    min-height: 120px;
    padding: 4px 4px 8px;
    border-top: 1px solid #EEF1F7;
    border-left: 1px solid #EEF1F7;
}
body.path-mod-page #region-main .central .ctl-mes-dia:nth-child(7n + 1) {
    border-left: 0;
}
body.path-mod-page #region-main .central .ctl-mes-dia > .ctl-mes-num {
    align-self: center;
    width: 32px;
    height: 32px;
    font-size: .875rem;
}
body.path-mod-page #region-main .central .ctl-mes-dia.is-fora {
    background: #FAFBFD;
}
body.path-mod-page #region-main .central .ctl-mes-dia.is-fora > .ctl-mes-num {
    color: #8E97B3;
}
body.path-mod-page #region-main .central .ctl-mes-aula {
    align-self: center;
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: #0059FB;
    opacity: .4;
}
body.path-mod-page #region-main .central .ctl-legenda .ctl-legenda-aula {
    display: none;
    align-items: center;
    gap: 8px;
}
body.path-mod-page #region-main .central .ctl-cal[data-vista="mes"] .ctl-legenda .ctl-legenda-aula {
    display: flex;                        /* o traço só aparece na visão Mês */
}
body.path-mod-page #region-main .central .ctl-mes-mais {
    height: 24px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #3A4468;
    font-size: .75rem;
    line-height: 1.5rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-mes-mais:hover {
        background: #EEF1F7;
    }
}

/* Agenda em lista (celular; e o dia escolhido no mês). */
body.path-mod-page #region-main .central .ctl-agenda {
    border: 1px solid #D5D8E2;
    border-radius: 16px;
    background: #FFFFFF;
}
body.path-mod-page #region-main .central .ctl-agenda-dia {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 15px 16px;
    border-top: 1px solid #EEF1F7;
}
body.path-mod-page #region-main .central .ctl-agenda-dia:first-child {
    padding-top: 16px;
    border-top: 0;
}
body.path-mod-page #region-main .central .ctl-agenda-dia h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-agenda-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #EEF1F7;
    color: #102770;
    font-size: .875rem;
    font-weight: 700;
}
body.path-mod-page #region-main .central .ctl-agenda-hoje {
    padding: 0 8px;
    border-radius: 999px;
    background: #EAF1FF;
    color: #0059FB;
    font-size: .75rem;
    line-height: 1.5rem;
    font-weight: 700;
}
body.path-mod-page #region-main .central .ctl-agenda-nada {
    color: #5A668C;
    font-size: .875rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-agenda-msg {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 7px 12px;                    /* 7 + 1 da borda */
    border: 1px solid #EEF1F7;
    border-left-width: 4px;
    border-radius: 8px;
}
body.path-mod-page #region-main .central .ctl-agenda-msg strong {
    color: #102770;
}
body.path-mod-page #region-main .central .ctl-agenda-msg p {
    font-size: .875rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-agenda .ctl-aula-disc {
    font-size: .875rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-agenda .ctl-aula + .ctl-aula {
    margin-top: 0;
}
body.path-mod-page #region-main .central .ctl-borda-info { border-left-color: #00AEEF; }
body.path-mod-page #region-main .central .ctl-borda-cob  { border-left-color: #0054A6; }
body.path-mod-page #region-main .central .ctl-borda-inc  { border-left-color: #34A853; }
body.path-mod-page #region-main .central .ctl-borda-emp  { border-left-color: #674EA7; }
body.path-mod-page #region-main .central .ctl-borda-rec  { border-left-color: #ED8500; }


/* --------------------------------------------------------------------------
   6. CHIPS DA RÉGUA — as 5 categorias                                   [SCSS]
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-chip {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    color: #FFFFFF;
    font-size: .8125rem;
    line-height: 1rem;
    font-weight: 700;
    white-space: nowrap;
}
body.path-mod-page #region-main .central .ctl-chip-info { background: #0092CB; }
body.path-mod-page #region-main .central .ctl-chip-cob  { background: #0054A6; }
body.path-mod-page #region-main .central .ctl-chip-inc  { background: #1E8E5A; }
body.path-mod-page #region-main .central .ctl-chip-emp  { background: #674EA7; }
body.path-mod-page #region-main .central .ctl-chip-rec  { background: #C96F00; }


/* --------------------------------------------------------------------------
   7. BOTÕES                                                             [SCSS]
   Primário azul 40 (48 nos formulários), secundário contorno, "Entrar na
   aula" 32 dentro da aula, convite do WhatsApp verde 48.
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid #0059FB;
    border-radius: 10px;
    background: #0059FB;
    color: #FFFFFF;
    font-size: .875rem;
    line-height: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}
body.path-mod-page #region-main .central .ctl-botao .icon {
    margin: 0;
}
body.path-mod-page #region-main .central .ctl-botao:focus-visible {
    background: #0047C9;
    border-color: #0047C9;
    color: #FFFFFF;
}
body.path-mod-page #region-main .central .ctl-botao-sec {
    border-color: #D5D8E2;
    background: #FFFFFF;
    color: #102770;
}
body.path-mod-page #region-main .central .ctl-botao-sec:focus-visible {
    border-color: #0059FB;
    background: #FFFFFF;
    color: #0059FB;
}
body.path-mod-page #region-main .central .ctl-botao:disabled {
    opacity: .45;
    cursor: default;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-botao:not(:disabled):hover {
        background: #0047C9;
        border-color: #0047C9;
        color: #FFFFFF;
        text-decoration: none;
    }
    body.path-mod-page #region-main .central .ctl-botao-sec:not(:disabled):hover {
        background: #FFFFFF;
        border-color: #0059FB;
        color: #0059FB;
    }
}
body.path-mod-page #region-main .central .ctl-meet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    background: #0059FB;
    color: #FFFFFF;
    font-size: .8125rem;
    line-height: 1rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
body.path-mod-page #region-main .central .ctl-meet::before {
    content: "\f03d";                     /* video */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .75rem;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-meet:hover {
        background: #0047C9;
        color: #FFFFFF;
        text-decoration: none;
    }
}
body.path-mod-page #region-main .central .ctl-botao-zap {
    height: 48px;
    padding: 0 24px;
    border-color: #1B8051;
    background: #1B8051;
    font-size: 1rem;
}
body.path-mod-page #region-main .central .ctl-botao-zap .icon {
    font-size: 1.25rem;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-botao-zap:hover {
        border-color: #136640;
        background: #136640;
    }
}
body.path-mod-page #region-main .central .ctl-pendente {
    display: flow-root;
    margin: 0;
    padding: 15px 23px;
    border: 1px solid #D5D8E2;
    border-radius: 16px;
    background: #FFFFFF;
    line-height: 1.5rem;
}


/* --------------------------------------------------------------------------
   8. EMENTAS — por curso; cada disciplina abre o PDF em pop-up         [SCSS]
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-ementas-curso > h3 {
    margin: 0 0 16px;
}
body.path-mod-page #region-main .central .ctl-ementas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
}
body.path-mod-page #region-main .central .ctl-ementa {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-areas: "ic nome selo" "ic acao selo";
    align-items: center;
    column-gap: 16px;
    width: 100%;
    height: 100%;
    min-height: 72px;
    margin: 0;
    padding: 11px 15px;
    border: 1px solid #D5D8E2;
    border-radius: 12px;
    background: #FFFFFF;
    text-align: left;
    cursor: pointer;
}
body.path-mod-page #region-main .central .ctl-ementa::before {
    content: "\f1c1";                     /* file-pdf */
    grid-area: ic;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #EAF1FF;
    color: #0059FB;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.125rem;
}
body.path-mod-page #region-main .central .ctl-ementa strong {
    grid-area: nome;
    color: #102770;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
}
body.path-mod-page #region-main .central .ctl-ementa span {
    grid-area: acao;
    color: #0059FB;
    font-size: .875rem;
    line-height: 1.5rem;
    font-weight: 600;
}
body.path-mod-page #region-main .central .ctl-ementa small {
    grid-area: selo;
    align-self: start;
    padding: 0 8px;
    border-radius: 999px;
    background: #FFF7EB;
    color: #7A4A00;
    font-size: .75rem;
    line-height: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
}
body.path-mod-page #region-main .central .ctl-ementa:focus-visible {
    border-color: #0059FB;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-ementa:hover {
        border-color: #0059FB;
        box-shadow: 0 8px 24px rgba(16, 39, 112, .10);
    }
}


/* --------------------------------------------------------------------------
   9. DOCENTES — Direção, Coordenação, Professores, Tutoria              [SCSS]
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-profs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
body.path-mod-page #region-main .central .ctl-prof-cartao {
    display: flex;
    gap: 16px;
    padding: 23px;
    border: 1px solid #D5D8E2;
    border-radius: 16px;
    background: #FFFFFF;
}
body.path-mod-page #region-main .central .ctl-prof-cartao:target {
    border-color: #0059FB;
    box-shadow: 0 0 0 4px rgba(0, 89, 251, .16);
}
body.path-mod-page #region-main .central .ctl-prof-cartao > div {
    min-width: 0;
}
body.path-mod-page #region-main .central .ctl-papel {
    color: #0059FB;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
body.path-mod-page #region-main .central .ctl-prof-cv,
body.path-mod-page #region-main .central .ctl-prof-disc {
    font-size: .875rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-prof-disc {
    margin-top: 8px;
    color: #5A668C;
}
body.path-mod-page #region-main .central .ctl-foto {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #EAF1FF;
    color: #0059FB;
    object-fit: cover;
}
body.path-mod-page #region-main .central span.ctl-foto::before {
    content: "\f2c1";                     /* id-badge: ícone não desenha gente (regra da casa) */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.5rem;
}


/* --------------------------------------------------------------------------
   10. COMUNICAÇÕES — uma mensagem por vez, com setas                    [SCSS]
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-msg {
    padding: 23px 23px 23px 24px;
    border: 1px solid #D5D8E2;
    border-left-width: 8px;
    border-radius: 16px;
    background: #FFFFFF;
}
body.path-mod-page #region-main .central .ctl-msg-topo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
body.path-mod-page #region-main .central .ctl-msg-nova {
    padding: 0 8px;
    border-radius: 999px;
    background: #EAF1FF;
    color: #0059FB;
    font-size: .75rem;
    line-height: 1.5rem;
    font-weight: 700;
}
body.path-mod-page #region-main .central .ctl-msg-data {
    color: #5A668C;
    font-size: .875rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-msg h3 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}
body.path-mod-page #region-main .central .ctl-msg-texto {
    max-width: 60ch;
    margin-bottom: 16px;
}
body.path-mod-page #region-main .central .ctl-msg-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}
body.path-mod-page #region-main .central .ctl-msg > p:last-child {
    display: flex;                        /* o botão inline-flex somava 1px de linha de base */
}
body.path-mod-page #region-main .central .ctl-msg-conta {
    color: #5A668C;
    font-size: .875rem;
    line-height: 1.5rem;
}


/* --------------------------------------------------------------------------
   11. ATALHOS — Manual (base de conhecimento) e Suporte (chamado)       [SCSS]
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-atalhos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));   /* com 4, "Dispensa de disciplinas" quebrava palavra por palavra */
    gap: 16px;
}
body.path-mod-page #region-main .central .ctl-atalho {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    min-height: 72px;
    padding: 15px;
    border: 1px solid #D5D8E2;
    border-radius: 12px;
    background: #FFFFFF;
    color: #102770;
    text-decoration: none;
}
body.path-mod-page #region-main .central .ctl-atalho .icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 10px;
    background: #EAF1FF;
    color: #0059FB;
    font-size: 1.125rem;
}
body.path-mod-page #region-main .central .ctl-atalho strong {
    flex: 1;
    font-size: .9375rem;
    line-height: 1.5rem;
    font-weight: 600;
}
body.path-mod-page #region-main .central .ctl-atalho::after {
    content: "\f35d";                     /* up-right-from-square: abre o suporte em outra aba */
    flex: none;
    color: #8E97B3;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .75rem;
}
body.path-mod-page #region-main .central .ctl-atalho:focus-visible {
    border-color: #0059FB;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-atalho:hover {
        border-color: #0059FB;
        box-shadow: 0 8px 24px rgba(16, 39, 112, .10);
        text-decoration: none;
    }
}
body.path-mod-page #region-main .central .ctl-links {
    max-width: 560px;
    border-top: 1px solid #D5D8E2;
}
body.path-mod-page #region-main .central .ctl-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    border-bottom: 1px solid #D5D8E2;
    color: #102770;
    font-weight: 600;
    text-decoration: none;
}
body.path-mod-page #region-main .central .ctl-links a::after {
    content: "\f054";                     /* chevron-right */
    color: #0059FB;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .75rem;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-links a:hover {
        color: #0059FB;
    }
}


/* --------------------------------------------------------------------------
   12. CENTRAL DE CARREIRAS — agentes de integração                      [SCSS]
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-agentes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
body.path-mod-page #region-main .central .ctl-agente {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas: "sigla nome" "sigla desc";
    column-gap: 16px;
    align-items: center;
    height: 100%;
    padding: 15px;
    border: 1px solid #D5D8E2;
    border-radius: 16px;
    background: #FFFFFF;
    color: #102770;
    text-decoration: none;
}
body.path-mod-page #region-main .central .ctl-agente-sigla {
    grid-area: sigla;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #102770;
    color: #FFFFFF;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: .02em;
}
body.path-mod-page #region-main .central .ctl-agente strong {
    grid-area: nome;
    font-size: 1.125rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-agente > span:last-child {
    grid-area: desc;
    color: #5A668C;
    font-size: .875rem;
    line-height: 1.5rem;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-agente:hover {
        border-color: #0059FB;
        box-shadow: 0 8px 24px rgba(16, 39, 112, .10);
        text-decoration: none;
    }
}


/* --------------------------------------------------------------------------
   13. GRUPO DO WHATSAPP — regras e convite                              [SCSS]
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-regras-grupo {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 16px;
}
body.path-mod-page #region-main .central .ctl-regras-bloco {
    padding: 23px;
    border: 1px solid #D5D8E2;
    border-radius: 16px;
    background: #FFFFFF;
}
body.path-mod-page #region-main .central .ctl-regras-bloco h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
body.path-mod-page #region-main .central .ctl-regras-bloco h3 .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0;
    border-radius: 50%;
    background: #E6F4EC;
    color: #1B8051;
    font-size: .75rem;
}
body.path-mod-page #region-main .central .ctl-regras-nao h3 .icon {
    background: #FDECEA;
    color: #B42318;
}
body.path-mod-page #region-main .central .ctl-regras li {
    padding: 8px 0 7px;
    border-bottom: 1px solid #EEF1F7;
    font-size: .9375rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-regras li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
body.path-mod-page #region-main .central .ctl-regras strong {
    color: #102770;
}
body.path-mod-page #region-main .central .ctl-convites {
    margin-top: 24px;
}


/* --------------------------------------------------------------------------
   14. FORMATURA — código, depois o formulário                           [SCSS]
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-cartao-form,
body.path-mod-page #region-main .central .ctl-liberado {
    max-width: 560px;
    padding: 23px;
    border: 1px solid #D5D8E2;
    border-radius: 16px;
    background: #FFFFFF;
}
body.path-mod-page #region-main .central .ctl-liberado {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
body.path-mod-page #region-main .central .ctl-liberado-selo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1B8051;
    font-weight: 700;
}
body.path-mod-page #region-main .central .ctl-liberado-selo .icon {
    margin: 0;
}


/* --------------------------------------------------------------------------
   15. AMBIENTAÇÃO — vídeos com título em cima e texto embaixo           [SCSS]
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-videos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
}
body.path-mod-page #region-main .central .ctl-videos h3 {
    margin-bottom: 8px;
}
body.path-mod-page #region-main .central .ctl-video {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #1E4FD8 0%, #102770 100%);
    color: rgba(255, 255, 255, .8);
}
body.path-mod-page #region-main .central .ctl-video .icon {
    margin: 0;
    font-size: 3rem;
}
body.path-mod-page #region-main .central .ctl-video iframe,
body.path-mod-page #region-main .central .ctl-video video {
    width: 100%;
    height: 100%;
    border: 0;
}
body.path-mod-page #region-main .central .ctl-videos p {
    margin-top: 8px;
    font-size: .875rem;
    line-height: 1.5rem;
}


/* --------------------------------------------------------------------------
   16. O POP-UP — mensagem do dia e ementa em PDF                        [SCSS]
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central .ctl-dialogo {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 64px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #FFFFFF;
    color: #3A4468;
    box-shadow: 0 24px 64px rgba(16, 39, 112, .28);
}
body.path-mod-page #region-main .central .ctl-dialogo.is-largo {
    width: min(960px, calc(100vw - 32px));
}
body.path-mod-page #region-main .central .ctl-dialogo::backdrop {
    background: rgba(16, 39, 112, .48);
}
body.path-mod-page #region-main .central .ctl-dialogo[open] {
    animation: ctl-entra 200ms cubic-bezier(.23, 1, .32, 1);
}
@keyframes ctl-entra {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to   { opacity: 1; transform: none; }
}
body.path-mod-page #region-main .central .ctl-dlg-caixa {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px 24px 24px;
}
body.path-mod-page #region-main .central .ctl-dlg-fechar {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #3A4468;
    cursor: pointer;
}
body.path-mod-page #region-main .central .ctl-dlg-fechar .icon {
    margin: 0;
}
@media (hover: hover) {
    body.path-mod-page #region-main .central .ctl-dlg-fechar:hover {
        background: #EEF1F7;
    }
}
body.path-mod-page #region-main .central .ctl-dialogo h3 {
    padding-right: 48px;
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
}
body.path-mod-page #region-main .central .ctl-dlg-data {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5A668C;
    font-size: .875rem;
    line-height: 1.5rem;
}
body.path-mod-page #region-main .central .ctl-dlg-data .icon {
    margin: 0;
    color: #0059FB;
}
body.path-mod-page #region-main .central .ctl-dlg-texto {
    margin-top: 8px;
}
body.path-mod-page #region-main .central .ctl-dlg-pdf {
    width: 100%;
    height: min(70vh, 720px);
    margin-top: 8px;
    border: 1px solid #D5D8E2;
    border-radius: 8px;
}
body.path-mod-page #region-main .central .ctl-dlg-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}


/* --------------------------------------------------------------------------
   17. RESPOSTA AO TOQUE                                                 [SCSS]
   Cor e borda trocam em 150ms; o que se aperta cede 3% (1% nos cartões).
   -------------------------------------------------------------------------- */
body.path-mod-page #region-main .central :is(.ctl-escolha, .ctl-cartao, .ctl-inicio, .ctl-meet, .ctl-botao, .ctl-atalho, .ctl-agente, .ctl-ementa, .ctl-ev, .ctl-cal-seta, .ctl-sem-num, .ctl-mes-num, .ctl-ra-consultar) {
    transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease, color 150ms ease, filter 150ms ease, transform 120ms ease-out;
}
body.path-mod-page #region-main .central :is(.ctl-meet, .ctl-botao, .ctl-ev, .ctl-cal-seta, .ctl-sem-num, .ctl-mes-num):active:not(:disabled) {
    transform: scale(.97);
}
body.path-mod-page #region-main .central :is(.ctl-escolha, .ctl-atalho, .ctl-agente, .ctl-ementa):active,
body.path-mod-page #region-main .central:not(:has(.ctl-secao:target, .ctl-secao :target)) .ctl-cartao:active {
    transform: scale(.99);
}
@media (prefers-reduced-motion: reduce) {
    body.path-mod-page #region-main .central * {
        transition: none !important;
        animation: none !important;
    }
    body.path-mod-page #region-main .central :active {
        transform: none !important;
    }
}


/* --------------------------------------------------------------------------
   18. CELULAR (até 767)                                                 [SCSS]
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    body.path-mod-page #region-main .central [id] {
        scroll-margin-top: 124px;         /* 60 da barra + 56 da fita + 8 */
    }

    /* Portão */
    body.path-mod-page #region-main .central .ctl-ra-aviso {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px 16px;
        padding: 15px;
    }
    body.path-mod-page #region-main .central .ctl-ra-aviso p {
        flex: 1 1 calc(100% - 48px);
    }
    body.path-mod-page #region-main .central .ctl-ra-consultar {
        margin-left: 40px;
    }
    body.path-mod-page #region-main .central .ctl-escolhas,
    body.path-mod-page #region-main .central [data-etapa="curso"] .ctl-escolhas,
    body.path-mod-page #region-main .central .ctl-escolhas-turma {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
    body.path-mod-page #region-main .central .ctl-escolha {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        justify-content: flex-start;
        column-gap: 16px;
        min-height: 72px;
        padding: 15px;
    }
    body.path-mod-page #region-main .central .ctl-escolha .icon {
        margin: 0;
    }
    body.path-mod-page #region-main .central .ctl-escolha span {
        flex-basis: 100%;
    }
    body.path-mod-page #region-main .central .ctl-escolha::after {
        content: "\f054";                 /* chevron-right: a linha inteira é o alvo */
        margin-left: auto;
        color: #8E97B3;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: .75rem;
    }
    body.path-mod-page #region-main .central .ctl-escolha:has(span)::after {
        order: -1;
        position: absolute;
        right: 15px;
    }
    body.path-mod-page #region-main .central .ctl-escolha:has(span) {
        position: relative;
        padding-right: 40px;
    }
    body.path-mod-page #region-main .central .ctl-form-linha {
        flex-direction: column;
    }
    body.path-mod-page #region-main .central .ctl-form input {
        flex: none;                       /* na coluna, flex:1 zerava a altura */
    }
    body.path-mod-page #region-main .central .ctl-form .ctl-botao {
        width: 100%;
    }
    body.path-mod-page #region-main .central .ctl-trocar,
    body.path-mod-page #region-main .central .ctl-voltar,
    body.path-mod-page #region-main .central .ctl-link {
        min-height: 40px;
    }

    /* Linha do tempo: vertical, trilho à esquerda */
    body.path-mod-page #region-main .central .ctl-linha {
        padding: 15px;
    }
    body.path-mod-page #region-main .central .ctl-metro {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-top: 8px;
    }
    body.path-mod-page #region-main .central .ctl-metro::before,
    body.path-mod-page #region-main .central .ctl-metro::after {
        top: var(--trilho-ini, 0);
        left: var(--trilho-eixo, 0);
        width: 4px;
        margin: 0 0 0 -2px;
    }
    body.path-mod-page #region-main .central .ctl-metro::before {
        height: calc(var(--trilho-fim, 0px) - var(--trilho-ini, 0px));
    }
    body.path-mod-page #region-main .central .ctl-metro::after {
        width: 4px;
        height: calc(var(--trilho-ate, 0px) - var(--trilho-ini, 0px));
    }
    body.path-mod-page #region-main .central .ctl-metro-sem {
        padding: 8px;
    }
    body.path-mod-page #region-main .central .ctl-metro-rotulo {
        order: -1;
        margin: 0 0 8px 40px;
        text-align: left;
    }
    body.path-mod-page #region-main .central .ctl-metro-sem > ol {
        flex-direction: column;
        gap: 8px;
    }
    body.path-mod-page #region-main .central .ctl-parada {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        grid-template-areas: "ponto nome" "ponto sub";
        column-gap: 16px;
        align-items: center;
        min-height: 40px;
        text-align: left;
    }
    body.path-mod-page #region-main .central .ctl-metro > .ctl-parada {
        margin: 0;
        padding: 0 8px;
    }
    body.path-mod-page #region-main .central .ctl-parada-ponto {
        grid-area: ponto;
    }
    body.path-mod-page #region-main .central .ctl-parada-nome {
        grid-area: nome;
        margin: 0;
        font-size: .875rem;
        line-height: 1.5rem;
    }
    body.path-mod-page #region-main .central .ctl-parada-av {
        grid-area: sub;
    }
    body.path-mod-page #region-main .central .ctl-parada:not(:has(.ctl-parada-av)) .ctl-parada-nome {
        grid-row: 1 / 3;
    }
    body.path-mod-page #region-main .central .ctl-parada-formatura {
        grid-template-columns: 24px minmax(0, 1fr);
    }
    body.path-mod-page #region-main .central .ctl-parada-formatura .ctl-parada-ponto {
        margin: 0 0 0 -8px;
    }
    body.path-mod-page #region-main .central .ctl-aqui,
    body.path-mod-page #region-main .central .ctl-parada-formatura .ctl-aqui {
        position: static;
        grid-area: nome;
        justify-self: end;
        transform: none;
    }
    body.path-mod-page #region-main .central .ctl-aqui::after {
        display: none;
    }

    /* Cartões em lista */
    body.path-mod-page #region-main .central .ctl-cartoes,
    body.path-mod-page #region-main .central .ctl-profs,
    body.path-mod-page #region-main .central .ctl-ementas,
    body.path-mod-page #region-main .central .ctl-atalhos,
    body.path-mod-page #region-main .central .ctl-agentes,
    body.path-mod-page #region-main .central .ctl-regras-grupo,
    body.path-mod-page #region-main .central .ctl-videos {
        grid-template-columns: minmax(0, 1fr);
    }
    body.path-mod-page #region-main .central .ctl-cartoes,
    body.path-mod-page #region-main .central .ctl-ementas,
    body.path-mod-page #region-main .central .ctl-atalhos {
        gap: 8px;
    }
    body.path-mod-page #region-main .central .ctl-cartao {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 0 16px;
        padding: 15px;
    }
    body.path-mod-page #region-main .central .ctl-cartao .icon {
        margin: 0;
    }
    body.path-mod-page #region-main .central .ctl-cartao strong {
        flex: 1;
        font-size: 1rem;
    }
    body.path-mod-page #region-main .central .ctl-cartao span {
        flex-basis: 100%;
        margin-left: 56px;
    }
    body.path-mod-page #region-main .central .ctl-atalho {
        min-height: 56px;
        padding: 7px 15px;
    }
    body.path-mod-page #region-main .central .ctl-prof-cartao,
    body.path-mod-page #region-main .central .ctl-regras-bloco,
    body.path-mod-page #region-main .central .ctl-cartao-form,
    body.path-mod-page #region-main .central .ctl-liberado,
    body.path-mod-page #region-main .central .ctl-pendente {
        padding: 15px;
    }
    body.path-mod-page #region-main .central .ctl-msg {
        padding: 15px 15px 15px 16px;
    }
    body.path-mod-page #region-main .central .ctl-msg-nav .ctl-botao {
        padding: 0 12px;
    }

    /* A fita: rola de lado; a pílula acesa vem logo depois da casa. */
    body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) .ctl-hub {
        flex-wrap: nowrap;
        height: 56px;
        margin: 0 calc(50% - 50vw) 24px;
        padding: 8px calc(50vw - 50%) 7px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }
    body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) .ctl-hub::-webkit-scrollbar {
        display: none;
    }
    body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) .ctl-inicio {
        order: -2;
    }
    body.path-mod-page #region-main .central:has(#calendario:target, #calendario :target) .ctl-cartoes li:has(> [href="#calendario"]),
    body.path-mod-page #region-main .central:has(#ementas:target, #ementas :target) .ctl-cartoes li:has(> [href="#ementas"]),
    body.path-mod-page #region-main .central:has(#docentes:target, #docentes :target) .ctl-cartoes li:has(> [href="#docentes"]),
    body.path-mod-page #region-main .central:has(#comunicacoes:target, #comunicacoes :target) .ctl-cartoes li:has(> [href="#comunicacoes"]),
    body.path-mod-page #region-main .central:has(#manual:target, #manual :target) .ctl-cartoes li:has(> [href="#manual"]),
    body.path-mod-page #region-main .central:has(#suporte:target, #suporte :target) .ctl-cartoes li:has(> [href="#suporte"]),
    body.path-mod-page #region-main .central:has(#carreiras:target, #carreiras :target) .ctl-cartoes li:has(> [href="#carreiras"]),
    body.path-mod-page #region-main .central:has(#whatsapp:target, #whatsapp :target) .ctl-cartoes li:has(> [href="#whatsapp"]),
    body.path-mod-page #region-main .central:has(#formatura:target, #formatura :target) .ctl-cartoes li:has(> [href="#formatura"]),
    body.path-mod-page #region-main .central:has(#ambientacao:target, #ambientacao :target) .ctl-cartoes li:has(> [href="#ambientacao"]) {
        order: -1;
    }
    body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) .ctl-cartao {
        flex: none;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 0 15px;
    }
    body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) .ctl-cartao strong {
        flex: none;
    }
    body.path-mod-page #region-main .central:has(.ctl-secao:target, .ctl-secao :target) .ctl-cartao span {
        margin: 0;
    }

    /* Calendário */
    body.path-mod-page #region-main .central .ctl-cal-barra {
        display: grid;
        grid-template-columns: auto auto minmax(0, 1fr);
        gap: 8px;
    }
    body.path-mod-page #region-main .central .ctl-cal-titulo {
        grid-column: 1 / -1;
        grid-row: 1;
        font-size: 1rem;
    }
    body.path-mod-page #region-main .central .ctl-cal-vista {
        justify-self: end;
    }
    body.path-mod-page #region-main .central .ctl-legenda {
        gap: 0 16px;
    }
    body.path-mod-page #region-main .central .ctl-cal-ead {
        gap: 8px;
        padding: 15px;
    }
    body.path-mod-page #region-main .central .ctl-aula {
        align-self: stretch;
    }
    body.path-mod-page #region-main .central .ctl-agenda .ctl-meet {
        height: 40px;
        padding: 0 16px;
        font-size: .875rem;
    }
    body.path-mod-page #region-main .central .ctl-aula-prof {
        min-height: 40px;
    }
    body.path-mod-page #region-main .central .ctl-mes-grade {
        margin-bottom: 16px;
    }
    body.path-mod-page #region-main .central .ctl-mes-dia {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        min-height: 0;
        height: 48px;
        margin: 0;
        padding: 4px 0 0;
        border-width: 1px 0 0 1px;
        border-style: solid;
        border-color: #EEF1F7;
        border-radius: 0;
        background: transparent;
        color: #102770;
        cursor: pointer;
    }
    body.path-mod-page #region-main .central .ctl-mes-dia .ctl-mes-num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        font-size: .875rem;
        line-height: 1rem;
        font-weight: 600;
    }
    body.path-mod-page #region-main .central .ctl-mes-dia.is-hoje .ctl-mes-num {
        background: #0059FB;
        color: #FFFFFF;
    }
    body.path-mod-page #region-main .central .ctl-mes-dia.is-escolhido {
        background: #EAF1FF;
    }
    body.path-mod-page #region-main .central .ctl-mes-dia.is-fora .ctl-mes-num {
        color: #8E97B3;
    }
    body.path-mod-page #region-main .central .ctl-mes-pontos {
        display: flex;
        gap: 2px;
        height: 8px;
        align-items: center;
    }
    body.path-mod-page #region-main .central .ctl-mes-pontos .ctl-ponto {
        width: 6px;
        height: 6px;
    }
    body.path-mod-page #region-main .central .ctl-dlg-caixa {
        padding: 16px;
    }
    body.path-mod-page #region-main .central .ctl-dialogo h3 {
        font-size: 1.25rem;
        line-height: 2rem;
    }
}
