/* ==========================================================================
   VOEALTUM — HUD de sistema (mesmo léxico do topo: bezel, ouro, fósforo)
   ========================================================================== */

body.hud-skin {
    --hud-bezel: #1a140c;
    --hud-ink: #070605;
    --hud-gold: #d4ae57;
    --hud-gold-dim: #8a6d2f;
    --hud-phosphor: #7dcea0;
    --hud-lcd: #03140c;
    --hud-text: #f4e3a8;
    --hud-muted: #b8a56a;
}

body.hud-skin,
body.hud-skin.light-mode,
body.hud-skin.dark-mode {
    background: var(--hud-ink) !important;
    color: var(--hud-text);
}

body.hud-skin #appLayout,
body.hud-skin .main-wrapper {
    background:
        radial-gradient(80% 50% at 50% -10%, rgba(212, 174, 87, 0.06), transparent 50%),
        linear-gradient(180deg, #120e0a 0%, #070605 100%) !important;
}

body.hud-skin .content,
body.hud-skin #viewContainer {
    background: transparent !important;
}

/* —— Sidebar como overhead —— */
body.hud-skin .sidebar {
    background: linear-gradient(180deg, #1a140c 0%, #0b0906 100%) !important;
    border-right: 3px solid #2a2214 !important;
    box-shadow: inset -1px 0 0 rgba(255, 220, 140, 0.08);
}

body.hud-skin .sidebar-brand {
    color: var(--hud-gold) !important;
    font-family: Cinzel, serif !important;
    letter-spacing: 0.14em !important;
}

body.hud-skin .sidebar-kicker {
    color: var(--hud-phosphor) !important;
    font-family: Oswald, sans-serif !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase;
}

body.hud-skin .nav-item,
body.hud-skin .menu-premium-item,
body.hud-skin .co-menu-group__title {
    font-family: Oswald, sans-serif !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hud-muted) !important;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent !important;
}

body.hud-skin .nav-item:hover,
body.hud-skin .menu-premium-item:hover {
    color: var(--hud-text) !important;
    border-color: var(--hud-gold-dim) !important;
    background: rgba(42, 36, 24, 0.65) !important;
}

body.hud-skin .nav-item.active {
    color: var(--hud-text) !important;
    border-color: var(--hud-gold) !important;
    background: rgba(60, 44, 8, 0.55) !important;
    box-shadow: inset 0 0 0 1px rgba(212, 174, 87, 0.2);
}

body.hud-skin .co-menu-group {
    border-color: #2a2214 !important;
}

/* —— Cartas = instrumento LCD —— */
body.hud-skin #viewContainer .co-focus-card,
body.hud-skin #viewContainer .card,
body.hud-skin #viewContainer .co-fila-card,
body.hud-skin .me-modal,
body.hud-skin .landing-card,
body.hud-skin .adm-card {
    border-radius: 6px !important;
    border: 2px solid #1c3d2c !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 174, 87, 0.1), transparent 52%),
        linear-gradient(180deg, #0a1812 0%, #070b09 100%) !important;
    box-shadow:
        inset 0 0 22px rgba(46, 204, 113, 0.08),
        0 12px 32px rgba(0, 0, 0, 0.35) !important;
    color: var(--hud-text);
}

body.hud-skin #viewContainer .co-focus-card {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

body.hud-skin #viewContainer .co-home h1,
body.hud-skin #viewContainer .co-focus-card h1,
body.hud-skin .me-modal-head h2 {
    color: var(--hud-text) !important;
    text-shadow: 0 0 12px rgba(212, 174, 87, 0.25);
}

body.hud-skin #viewContainer .co-focus-text,
body.hud-skin #viewContainer .co-home p,
body.hud-skin #viewContainer .co-am-role {
    color: #c9d6c8 !important;
}

body.hud-skin #viewContainer .co-meta-line,
body.hud-skin #viewContainer .co-focus-step {
    color: var(--hud-gold) !important;
}

/* —— Botões = interruptores do painel —— */
body.hud-skin .btn-gold,
body.hud-skin .co-focus-cta,
body.hud-skin .landing-btn {
    border-radius: 4px !important;
    border: 1px solid var(--hud-gold) !important;
    background: linear-gradient(180deg, #2a2418 0%, #12100a 100%) !important;
    color: var(--hud-gold) !important;
    box-shadow: inset 0 1px 0 rgba(255, 230, 160, 0.15) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

body.hud-skin .btn-gold:hover,
body.hud-skin .co-focus-cta:hover {
    color: #fff8dc !important;
    border-color: #f0d78c !important;
    background: linear-gradient(180deg, #3a301c 0%, #1a160c 100%) !important;
}

body.hud-skin .btn-outline,
body.hud-skin .btn-small {
    border-radius: 4px !important;
    border: 1px solid var(--hud-gold-dim) !important;
    background: rgba(12, 10, 6, 0.5) !important;
    color: var(--hud-muted) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body.hud-skin .btn-outline:hover {
    color: var(--hud-text) !important;
    border-color: var(--hud-gold) !important;
}

/* —— Pills / passos / stats —— */
body.hud-skin .co-pilot-steps li {
    border-radius: 4px !important;
    border: 1px solid rgba(125, 206, 160, 0.28) !important;
    background: rgba(8, 40, 24, 0.4) !important;
    opacity: 1;
}

body.hud-skin .co-pilot-steps li.is-on {
    border-color: var(--hud-gold) !important;
    background: rgba(60, 44, 8, 0.55) !important;
}

body.hud-skin .co-pilot-step-btn span,
body.hud-skin .co-pilot-steps span {
    color: var(--hud-phosphor) !important;
}

body.hud-skin .co-am-stat,
body.hud-skin .fp-gauge {
    border-radius: 4px !important;
    border: 1px solid rgba(125, 206, 160, 0.28) !important;
    background: rgba(8, 40, 24, 0.45) !important;
}

body.hud-skin .co-am-stat b,
body.hud-skin .fp-gauge strong {
    color: var(--hud-text) !important;
}

body.hud-skin .co-details {
    border: 1px solid #2a2214 !important;
    border-radius: 4px !important;
    background: rgba(10, 8, 6, 0.45) !important;
}

body.hud-skin .co-details summary {
    color: var(--hud-gold) !important;
    font-family: Oswald, sans-serif !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.hud-skin .co-list li {
    border: 1px solid #2a2214 !important;
    border-radius: 4px !important;
    background: rgba(12, 10, 8, 0.5) !important;
}

/* —— Login no mesmo léxico —— */
body.hud-skin #loginScreen.voe-login-gate {
    background:
        radial-gradient(70% 50% at 50% 0%, rgba(212, 174, 87, 0.1), transparent 50%),
        #070605 !important;
}

body.hud-skin #loginScreen.voe-login-gate .login-box {
    border: 2px solid #1c3d2c !important;
    border-radius: 6px !important;
    background: linear-gradient(180deg, #0a1812 0%, #070b09 100%) !important;
}

body.hud-skin .login-profile-card {
    border-radius: 4px !important;
    border: 1px solid var(--hud-gold-dim) !important;
    background: linear-gradient(180deg, #2a2418 0%, #12100a 100%) !important;
}

/* —— Modais missão —— */
body.hud-skin .me-modal {
    color: var(--hud-text);
}

body.hud-skin .me-close {
    border-color: var(--hud-gold-dim) !important;
    background: #12100a !important;
    color: var(--hud-gold) !important;
}

body.hud-skin .overlay {
    background: rgba(7, 6, 5, 0.72) !important;
}

/* B1 — chip Base / Local */
.hud-session-mode {
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid rgba(212, 174, 87, 0.35);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hud-muted, #b8a56a);
    background: rgba(0, 0, 0, 0.35);
    align-self: center;
}
.hud-session-mode.is-cloud {
    color: var(--hud-phosphor, #7dcea0);
    border-color: rgba(125, 206, 160, 0.45);
}
.hud-session-mode.is-demo {
    color: var(--hud-gold, #d4ae57);
}

/* Plano de Voo: mesma coluna do livro de horas, card de licença largo */
body.co-calm[data-co-view="plano_voo"] #viewContainer > .view-section.active,
body.co-calm[data-co-view="plano_voo_leitura"] #viewContainer > .view-section.active {
    max-width: none;
    width: 100%;
}

body.co-calm[data-co-view="plano_voo"] #viewContainer .co-home,
body.co-calm[data-co-view="plano_voo"] #viewContainer .flight-plan-calm,
body.co-calm[data-co-view="plano_voo"] #viewContainer .co-focus-card,
body.co-calm[data-co-view="plano_voo"] #viewContainer .kd-dash,
body.co-calm[data-co-view="plano_voo_leitura"] #viewContainer .co-home,
body.co-calm[data-co-view="plano_voo_leitura"] #viewContainer .flight-plan-calm,
body.co-calm[data-co-view="plano_voo_leitura"] #viewContainer .co-focus-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

body.co-calm[data-co-view="plano_voo"] #viewContainer .fp-license,
body.co-calm[data-co-view="plano_voo"] #viewContainer .fp-gates {
    display: grid !important;
    width: 100%;
}

body.co-calm[data-co-view="plano_voo"] #viewContainer .fp-disc,
body.co-calm[data-co-view="plano_voo"] #viewContainer .ev-profile,
body.co-calm[data-co-view="plano_voo"] #viewContainer .estilo-voo-hangar {
    display: block !important;
    width: 100%;
    max-width: none;
}

body.co-calm[data-co-view="plano_voo"] #viewContainer .fp-kicker {
    color: #c9a227 !important;
}

body.co-calm[data-co-view="plano_voo"] #viewContainer .fp-cta-row,
body.co-calm[data-co-view="plano_voo"] #viewContainer .fp-license-hole {
    display: flex !important;
}

body.co-calm[data-co-view="radar"] #viewContainer .co-radar-context,
body.co-calm[data-co-view="radar"] #viewContainer .kd-more,
body.co-calm[data-co-view="radar"] #viewContainer .co-radar-drawer-body {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body.co-calm[data-co-view="radar"] #viewContainer details[open] .co-radar-context,
body.co-calm[data-co-view="radar"] #viewContainer details[open] .kd-more {
    display: block !important;
}

body.co-calm[data-co-view="radar"] #viewContainer .co-radar-context .co-am-stats,
body.co-calm[data-co-view="radar"] #viewContainer .ap-funil {
    display: grid !important;
    width: 100%;
    max-width: none;
}

body.co-calm[data-co-view="radar"] #viewContainer .co-radar-context .co-home-actions {
    display: flex !important;
    justify-content: center;
}

body.co-calm[data-co-view="radar"] #viewContainer .ap-funil-cell {
    display: flex !important;
}

body.co-calm[data-co-view="desempenho"] #viewContainer > .view-section.active {
    max-width: none;
    width: 100%;
}

body.co-calm[data-co-view="desempenho"] #viewContainer .co-home,
body.co-calm[data-co-view="desempenho"] #viewContainer .td-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

body.co-calm[data-co-view="desempenho"] #viewContainer .td-health,
body.co-calm[data-co-view="desempenho"] #viewContainer .td-direct,
body.co-calm[data-co-view="desempenho"] #viewContainer .td-list,
body.co-calm[data-co-view="desempenho"] #viewContainer .td-summary {
    display: grid !important;
    width: 100%;
    max-width: none;
}

body.co-calm[data-co-view="desempenho"] #viewContainer .td-ring-col {
    display: flex !important;
}

body.co-calm[data-co-view="desempenho"] #viewContainer .td-ring {
    display: grid !important;
}

body.co-calm[data-co-view="desempenho"] #viewContainer .td-ring-hole {
    display: flex !important;
}

body.co-calm[data-co-view="aprovacoes"] #viewContainer > .view-section.active,
body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer > .view-section.active {
    max-width: none;
    width: 100%;
}

body.co-calm[data-co-view="aprovacoes"] #viewContainer .co-home,
body.co-calm[data-co-view="aprovacoes"] #viewContainer .co-fila,
body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .co-home,
body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .co-am-painel {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

body.co-calm[data-co-view="aprovacoes"] #viewContainer .co-fila-stage,
body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .co-am-stage {
    display: grid !important;
    width: 100%;
    max-width: none;
}

body.co-calm[data-co-view="aprovacoes"] #viewContainer .co-focus-card,
body.co-calm[data-co-view="aprovacoes"] #viewContainer .co-sugest-card,
body.co-calm[data-co-view="aprovacoes"] #viewContainer .co-am-board,
body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .co-focus-card,
body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .co-am-board {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

body.co-calm[data-co-view="aprovacoes"] #viewContainer .co-sugest-item .co-meta-line,
body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .co-sugest-item .co-meta-line {
    width: auto !important;
    max-width: none !important;
    margin-left: 0;
    margin-right: 0;
}

body.co-calm[data-co-view="aprovacoes"] #viewContainer .co-focus-text,
body.co-calm[data-co-view="aprovacoes"] #viewContainer .co-am-board h2,
body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .co-focus-text,
body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .co-am-board h2 {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* —— Canvas cheio: todas as views, Hangar / AM / Torre / ADM —— */
body.co-calm #viewContainer > .view-section.active,
body.co-adm-space #viewContainer > .view-section.active,
body.hud-skin #viewContainer > .view-section.active {
    max-width: none !important;
    width: 100% !important;
}

body.co-calm[data-co-view] #viewContainer .co-home,
body.co-calm[data-co-view] #viewContainer .tr-wrap,
body.co-calm[data-co-view] #viewContainer .td-wrap,
body.co-calm[data-co-view] #viewContainer .kd-dash,
body.co-calm[data-co-view] #viewContainer .kd-more,
body.co-calm[data-co-view] #viewContainer .flight-plan-calm,
body.co-calm[data-co-view] #viewContainer .co-academia,
body.co-calm[data-co-view] #viewContainer .me-hangar-calm,
body.co-calm[data-co-view] #viewContainer .crew-calm,
body.co-calm[data-co-view] #viewContainer .adm-home,
body.co-calm[data-co-view] #viewContainer .co-branding-page,
body.co-calm[data-co-view] #viewContainer .acmd,
body.co-calm[data-co-view] #viewContainer .co-radar-context,
body.co-calm[data-co-view] #viewContainer .co-roi-page,
body.co-adm-space #viewContainer .adm-home,
body.co-adm-space #viewContainer .co-home,
body.hud-skin #viewContainer .co-home {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-items: stretch !important;
    box-sizing: border-box;
}

body.co-calm[data-co-view] #viewContainer .co-focus-card,
body.co-calm[data-co-view] #viewContainer .co-aula-hero,
body.co-calm[data-co-view] #viewContainer .tr-hero,
body.co-calm[data-co-view] #viewContainer .tr-card,
body.co-calm[data-co-view] #viewContainer .crew-form-card,
body.co-calm[data-co-view] #viewContainer .fp-license,
body.co-calm[data-co-view] #viewContainer .av-session,
body.co-calm[data-co-view] #viewContainer .ap-atencao,
body.co-calm[data-co-view] #viewContainer .ap-contexto,
body.co-adm-space #viewContainer .adm-card,
body.hud-skin #viewContainer .co-focus-card {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

body.co-calm[data-co-view] #viewContainer .co-home > .co-meta-line,
body.co-calm[data-co-view] #viewContainer .co-home > h1,
body.co-calm[data-co-view] #viewContainer .co-home > p,
body.co-calm[data-co-view] #viewContainer .co-home > .co-focus-card,
body.co-calm[data-co-view] #viewContainer .co-home > .co-details,
body.co-calm[data-co-view] #viewContainer .co-home > .co-flow,
body.co-calm[data-co-view] #viewContainer .co-home > .co-list,
body.co-calm[data-co-view] #viewContainer .co-home > .co-aula-hero {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

body.co-calm[data-co-view] #viewContainer .co-focus-text,
body.co-calm[data-co-view] #viewContainer .co-acad-lead,
body.co-calm[data-co-view] #viewContainer .tr-why {
    max-width: none !important;
    width: 100%;
}

body.co-calm[data-co-view] #viewContainer .co-focus-cta {
    max-width: 320px;
}

body.co-calm[data-co-view="rituais"] #viewContainer .tr-hero {
    display: grid !important;
}

body.co-calm[data-co-view="rituais"] #viewContainer .tr-suggest {
    display: grid !important;
    width: 100%;
}

@media (min-width: 900px) {
    body.co-calm[data-co-view="rituais"] #viewContainer .tr-suggest {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    }
}

body.co-calm[data-co-view="radar"] #viewContainer .kd-radar-end,
body.co-calm[data-co-view="radar"] #viewContainer .kd-split,
body.co-calm[data-co-view="radar"] #viewContainer .co-radar-drawers {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-sizing: border-box;
}

body.co-calm[data-co-view="radar"] #viewContainer .kd-roi,
body.co-calm[data-co-view="adm_home"] #viewContainer .kd-roi,
body.co-adm-space #viewContainer .kd-roi {
    width: min(560px, 100%) !important;
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    box-sizing: border-box;
}

body.co-calm[data-co-view="radar"] #viewContainer .kd-roi p,
body.co-calm[data-co-view="adm_home"] #viewContainer .kd-roi p,
body.co-adm-space #viewContainer .kd-roi p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.co-calm[data-co-view="radar"] #viewContainer .co-radar-drawers {
    display: grid !important;
}

body.co-calm[data-co-view="radar"] #viewContainer .co-radar-drawer {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

body.co-calm[data-co-view="radar"] #viewContainer .co-radar-drawer-sum {
    display: grid !important;
}

body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .kd-dash--am {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .kd-lanes {
    display: grid !important;
    width: 100% !important;
}

body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .am-ctx-rack {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
}

body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .am-ctx-drawer,
body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .co-radar-drawer {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(212, 174, 87, 0.34) !important;
    border-radius: 16px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 174, 87, 0.12), transparent 55%),
        rgba(10, 16, 26, 0.92) !important;
    overflow: hidden;
}

body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .co-radar-drawer-sum {
    display: grid !important;
}

body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .kd-board--3,
body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .co-am-stats {
    display: grid !important;
}

body.co-calm[data-co-view="radar"] #viewContainer .kd-split--alerts > div {
    display: block !important;
}

body.co-calm[data-co-view="aprovacoes"] #viewContainer .am-val-lanes,
body.co-calm[data-co-view="aprovacoes"] #viewContainer .co-am-val-stage,
body.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .am-val-lanes {
    display: grid !important;
}

body.co-calm[data-co-view="aprovacoes"] #viewContainer .am-val-chart {
    display: flex !important;
    flex-direction: column !important;
}

body.co-calm[data-co-view="aprovacoes"] #viewContainer .am-val-lane,
body.co-calm[data-co-view="aprovacoes"] #viewContainer .am-val-evo {
    display: flex !important;
}

body.co-calm[data-co-view="aprovacoes"] #viewContainer .am-val-evo-cap {
    display: block !important;
    position: relative !important;
    margin-top: 12px !important;
}

body.co-calm[data-co-role="AM"][data-co-view="academia"] #viewContainer .am-cat-ops,
body.co-calm[data-co-role="AM"][data-co-view="academia"] #viewContainer .am-cat-play,
body.co-calm[data-co-role="AM"][data-co-view="academia"] #viewContainer .am-cat-backlog,
body.co-calm[data-co-role="AM"][data-co-view="academia"] #viewContainer .am-cat-cal {
    width: 100% !important;
    max-width: none !important;
    text-align: left !important;
}

body.co-calm[data-co-role="AM"][data-co-view="academia"] #viewContainer .am-cat-steps,
body.co-calm[data-co-role="AM"][data-co-view="academia"] #viewContainer .am-cat-stage,
body.co-calm[data-co-role="AM"][data-co-view="academia"] #viewContainer .am-cal-grid {
    display: grid !important;
}

body.co-calm[data-co-role="AM"][data-co-view="academia"] #viewContainer .am-cat-step,
body.co-calm[data-co-role="AM"][data-co-view="academia"] #viewContainer .am-cal-day {
    display: flex !important;
}

body.co-calm[data-co-role="AM"][data-co-view="academia"] #viewContainer .co-aula-hero--start {
    display: none !important;
}

body.co-calm[data-co-view="branding"] #viewContainer .admin-branding-form,
body.co-calm[data-co-view="adm_home"] #viewContainer .adm-base-car,
body.co-adm-space #viewContainer .adm-base-car {
    display: grid !important;
}

body.co-calm[data-co-view="adm_home"] #viewContainer .adm-base-actions,
body.co-adm-space #viewContainer .adm-base-actions {
    display: flex !important;
}

/* —— Modo claro: papel, marinho e ouro (o HUD escuro não pinta por cima) —— */
body.hud-skin.light-mode {
    --hud-bezel: #e7e1d4;
    --hud-ink: #f6f3ec;
    --hud-gold: #8a6d2f;
    --hud-gold-dim: #c4b48a;
    --hud-phosphor: #1f6b45;
    --hud-lcd: #ffffff;
    --hud-text: #1c2430;
    --hud-muted: #5c6b7a;
    background: #f6f3ec !important;
    color: #1c2430 !important;
}

body.hud-skin.light-mode #appLayout,
body.hud-skin.light-mode .main-wrapper,
body.hud-skin.light-mode .content,
body.hud-skin.light-mode #viewContainer {
    background:
        radial-gradient(80% 40% at 50% -10%, rgba(12, 43, 91, 0.05), transparent 55%),
        #f6f3ec !important;
    color: #1c2430 !important;
}

body.hud-skin.light-mode .sidebar {
    background: #ffffff !important;
    border-right: 1px solid rgba(12, 43, 91, 0.1) !important;
    box-shadow: none;
}

body.hud-skin.light-mode .sidebar-brand {
    color: #0c2b5b !important;
}

body.hud-skin.light-mode .sidebar-kicker {
    color: #8a6d2f !important;
}

body.hud-skin.light-mode .nav-item,
body.hud-skin.light-mode .menu-premium-item,
body.hud-skin.light-mode .co-menu-group__title {
    color: #3d4c5c !important;
}

body.hud-skin.light-mode .nav-item:hover,
body.hud-skin.light-mode .menu-premium-item:hover {
    color: #0c2b5b !important;
    border-color: rgba(12, 43, 91, 0.16) !important;
    background: rgba(12, 43, 91, 0.04) !important;
}

body.hud-skin.light-mode .nav-item.active {
    color: #0c2b5b !important;
    border-color: #a6863c !important;
    background: rgba(166, 134, 60, 0.1) !important;
    box-shadow: none;
}

body.hud-skin.light-mode .co-menu-group {
    border-color: rgba(12, 43, 91, 0.1) !important;
}

body.hud-skin.light-mode #viewContainer .co-focus-card,
body.hud-skin.light-mode #viewContainer .card,
body.hud-skin.light-mode #viewContainer .co-fila-card,
body.hud-skin.light-mode .me-modal,
body.hud-skin.light-mode .landing-card,
body.hud-skin.light-mode .adm-card,
body.hud-skin.light-mode.co-calm .co-focus-card {
    border: 1px solid rgba(12, 43, 91, 0.12) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 28px rgba(12, 43, 91, 0.06) !important;
    color: #1c2430 !important;
}

body.hud-skin.light-mode #viewContainer .co-home h1,
body.hud-skin.light-mode #viewContainer .co-focus-card h1,
body.hud-skin.light-mode .me-modal-head h2,
body.hud-skin.light-mode #viewContainer h1,
body.hud-skin.light-mode #viewContainer h2,
body.hud-skin.light-mode #viewContainer h3 {
    color: #0c2b5b !important;
    text-shadow: none !important;
}

body.hud-skin.light-mode #viewContainer .co-focus-text,
body.hud-skin.light-mode #viewContainer .co-home p,
body.hud-skin.light-mode #viewContainer .co-am-role,
body.hud-skin.light-mode #viewContainer p,
body.hud-skin.light-mode #viewContainer li {
    color: #3d4c5c !important;
}

body.hud-skin.light-mode #viewContainer .co-meta-line,
body.hud-skin.light-mode #viewContainer .co-focus-step {
    color: #8a6d2f !important;
}

body.hud-skin.light-mode .btn-gold,
body.hud-skin.light-mode .co-focus-cta,
body.hud-skin.light-mode .landing-btn {
    background: #0c2b5b !important;
    border-color: #0c2b5b !important;
    color: #f6f3ec !important;
    box-shadow: none !important;
}

body.hud-skin.light-mode .btn-gold:hover,
body.hud-skin.light-mode .co-focus-cta:hover {
    background: #163a73 !important;
    border-color: #163a73 !important;
    color: #ffffff !important;
}

body.hud-skin.light-mode .btn-outline,
body.hud-skin.light-mode .btn-small {
    background: #ffffff !important;
    border-color: rgba(12, 43, 91, 0.18) !important;
    color: #0c2b5b !important;
}

body.hud-skin.light-mode .btn-outline:hover {
    border-color: #0c2b5b !important;
    color: #0c2b5b !important;
}

body.hud-skin.light-mode .co-pilot-steps li,
body.hud-skin.light-mode .co-am-stat,
body.hud-skin.light-mode .fp-gauge,
body.hud-skin.light-mode .co-list li,
body.hud-skin.light-mode .co-details {
    background: #f7f5f0 !important;
    border-color: rgba(12, 43, 91, 0.12) !important;
    color: #1c2430 !important;
}

body.hud-skin.light-mode .co-pilot-steps li.is-on {
    background: rgba(166, 134, 60, 0.14) !important;
    border-color: #a6863c !important;
}

body.hud-skin.light-mode .co-pilot-step-btn span,
body.hud-skin.light-mode .co-pilot-steps span {
    color: #1f6b45 !important;
}

body.hud-skin.light-mode .co-am-stat b,
body.hud-skin.light-mode .fp-gauge strong,
body.hud-skin.light-mode .co-details summary {
    color: #0c2b5b !important;
}

body.hud-skin.light-mode #loginScreen.voe-login-gate {
    background:
        radial-gradient(70% 50% at 50% 0%, rgba(166, 134, 60, 0.16), transparent 55%),
        #f6f3ec !important;
}

body.hud-skin.light-mode #loginScreen.voe-login-gate .login-box {
    background: #ffffff !important;
    border: 1px solid rgba(12, 43, 91, 0.12) !important;
    box-shadow: 0 18px 48px rgba(12, 43, 91, 0.08) !important;
    color: #1c2430 !important;
}

body.hud-skin.light-mode .login-brand { color: #0c2b5b !important; }
body.hud-skin.light-mode .login-os-line,
body.hud-skin.light-mode .login-hero-tagline { color: #8a6d2f !important; }

body.hud-skin.light-mode #loginScreen.voe-login-gate .voe-login-form > .oswald,
body.hud-skin.light-mode #loginScreen.voe-login-gate .voe-login-more > summary {
    color: #5c6b7a !important;
}

body.hud-skin.light-mode #loginScreen.voe-login-gate .voe-login-form input {
    background: #ffffff !important;
    color: #1c2430 !important;
    border-color: rgba(12, 43, 91, 0.16) !important;
}

body.hud-skin.light-mode .me-close {
    background: #ffffff !important;
    color: #0c2b5b !important;
    border-color: rgba(12, 43, 91, 0.16) !important;
}

body.hud-skin.light-mode #viewContainer input,
body.hud-skin.light-mode #viewContainer select,
body.hud-skin.light-mode #viewContainer textarea {
    background: #ffffff !important;
    color: #1c2430 !important;
    border-color: rgba(12, 43, 91, 0.16) !important;
}

body.hud-skin.light-mode .co-sugest-item,
body.hud-skin.light-mode .co-am-board-form input,
body.hud-skin.light-mode .co-am-board-form textarea,
body.hud-skin.light-mode #viewContainer input,
body.hud-skin.light-mode #viewContainer textarea {
    background: #f7f5f0 !important;
    color: #1c2430 !important;
    border-color: rgba(12, 43, 91, 0.14) !important;
}

body.hud-skin.light-mode .co-sugest-item strong {
    color: #0c2b5b !important;
}

body.hud-skin.light-mode.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .am-ctx-drawer,
body.hud-skin.light-mode.co-calm[data-co-role="AM"][data-co-view="cockpit"] #viewContainer .co-radar-drawer,
body.hud-skin.light-mode #viewContainer .co-radar-drawer {
    background: #ffffff !important;
    border-color: rgba(12, 43, 91, 0.12) !important;
    color: #1c2430 !important;
}

body.hud-skin.light-mode .leg-spread {
    background: #fffdf8 !important;
    color: #1c2430 !important;
}
body.hud-skin.light-mode .leg-proof { background: #f7f3ea !important; }
body.hud-skin.light-mode .leg-page h1,
body.hud-skin.light-mode .leg-ink strong,
body.hud-skin.light-mode .leg-wait,
body.hud-skin.light-mode .leg-radio { color: #0c2b5b !important; }
body.hud-skin.light-mode #viewContainer .leg-write input,
body.hud-skin.light-mode #viewContainer .leg-return input {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(12, 43, 91, 0.28) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Claro: papel no plano, no DISC e nos campos — texto marinho, 11px mínimo nos rótulos */
body.hud-skin.light-mode .fp-license,
body.hud-skin.light-mode .estilo-voo-hangar,
body.hud-skin.light-mode .ev-profile,
body.hud-skin.light-mode .fp-gate,
body.hud-skin.light-mode .am-val-lane,
body.hud-skin.light-mode #viewContainer .co-sugest-item,
body.hud-skin.light-mode #viewContainer .co-am-board-form {
    background: #ffffff !important;
    border-color: rgba(12, 43, 91, 0.12) !important;
    box-shadow: 0 8px 24px rgba(12, 43, 91, 0.05) !important;
    color: #1c2430 !important;
}

body.co-calm #viewContainer { padding-bottom: 56px; }

body.hud-skin.light-mode .co-pilot-home .estilo-voo-hangar,
body.hud-skin.light-mode .fp-stage {
    width: min(980px, 100%);
    margin-left: auto;
    margin-right: auto;
    max-width: 980px;
}

body.hud-skin.light-mode .fp-license h2,
body.hud-skin.light-mode .fp-license-col--next strong,
body.hud-skin.light-mode .fp-license-hole b,
body.hud-skin.light-mode .estilo-voo-title,
body.hud-skin.light-mode .estilo-voo-flight,
body.hud-skin.light-mode .ev-title,
body.hud-skin.light-mode .ev-mark b,
body.hud-skin.light-mode .am-val-lane b,
body.hud-skin.light-mode .am-val-lane-label {
    color: #0c2b5b !important;
    text-shadow: none !important;
}

body.hud-skin.light-mode .fp-objective,
body.hud-skin.light-mode .fp-license-hint,
body.hud-skin.light-mode .fp-cta-hint,
body.hud-skin.light-mode .fp-gate,
body.hud-skin.light-mode .fp-gate em,
body.hud-skin.light-mode .estilo-voo-copy,
body.hud-skin.light-mode .estilo-voo-hint,
body.hud-skin.light-mode .ev-copy,
body.hud-skin.light-mode .ev-tagline,
body.hud-skin.light-mode .am-val-lane-hint,
body.hud-skin.light-mode #viewContainer .co-sugest-item span {
    color: #3d4c5c !important;
}

body.hud-skin.light-mode .fp-license-hole,
body.hud-skin.light-mode .ev-mark b {
    background: #f6f3ec !important;
}

body.hud-skin.light-mode .fp-kicker,
body.hud-skin.light-mode .estilo-voo-kicker,
body.hud-skin.light-mode .ev-kicker,
body.hud-skin.light-mode .fp-license-hole span,
body.hud-skin.light-mode .fp-license-flag,
body.hud-skin.light-mode .fp-gate b {
    font-size: 11px !important;
    color: #8a6d2f !important;
}

body.hud-skin.light-mode .fp-map-radar {
    background:
        radial-gradient(circle, rgba(12, 43, 91, 0.05), transparent 66%),
        #f7f5f0 !important;
    border-color: rgba(12, 43, 91, 0.16) !important;
}

body.hud-skin.light-mode .fp-map-orbit {
    border-color: rgba(12, 43, 91, 0.16) !important;
}

body.hud-skin.light-mode .fp-map-pole,
body.hud-skin.light-mode .fp-map-you span,
body.hud-skin.light-mode .fp-map-copy,
body.hud-skin.light-mode .fp-map-kicker {
    color: #0c2b5b !important;
}

body.hud-skin.light-mode .td-stack-legend {
    margin: 10px 0 14px;
    font-size: 12px !important;
    color: #3d4c5c !important;
}

body.hud-skin.light-mode .td-bar {
    font-size: 13px !important;
}

body.hud-skin.light-mode #viewContainer input,
body.hud-skin.light-mode #viewContainer textarea,
body.hud-skin.light-mode #viewContainer .co-am-board-form input,
body.hud-skin.light-mode #viewContainer .co-am-board-form textarea {
    background: #ffffff !important;
    color: #1c2430 !important;
    border: 1px solid rgba(12, 43, 91, 0.18) !important;
    font-size: 15px !important;
    font-family: Merriweather, Georgia, serif !important;
}

body.hud-skin.light-mode #viewContainer input::placeholder,
body.hud-skin.light-mode #viewContainer textarea::placeholder {
    color: #6b7280 !important;
    opacity: 1 !important;
}

body.hud-skin.light-mode #viewContainer .leg-write input,
body.hud-skin.light-mode #viewContainer .leg-return input {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(12, 43, 91, 0.28) !important;
    border-radius: 0 !important;
    font-size: 16px !important;
}

body.hud-skin.light-mode .td-card,
body.hud-skin.light-mode .td-card--atraso,
body.hud-skin.light-mode .td-card--atencao,
body.hud-skin.light-mode .td-card--aplica,
body.hud-skin.light-mode .ap-funil-cell,
body.hud-skin.light-mode .evgal-chart,
body.hud-skin.light-mode .evgal-chart-stats,
body.hud-skin.light-mode .co-roi-stat {
    background: #ffffff !important;
    border-color: rgba(12, 43, 91, 0.12) !important;
    color: #1c2430 !important;
    box-shadow: 0 8px 24px rgba(12, 43, 91, 0.05) !important;
}

body.hud-skin.light-mode .td-card h2,
body.hud-skin.light-mode .ap-funil-cell b,
body.hud-skin.light-mode .evgal-chart-stats b,
body.hud-skin.light-mode .co-roi-stat-value {
    color: #0c2b5b !important;
    text-shadow: none !important;
}

body.hud-skin.light-mode .td-cargo,
body.hud-skin.light-mode .td-reason,
body.hud-skin.light-mode .td-counts,
body.hud-skin.light-mode .ap-funil-cell span,
body.hud-skin.light-mode .evgal-chart-stats span,
body.hud-skin.light-mode .evgal-chart-col span,
body.hud-skin.light-mode .evgal-chart-legend {
    color: #3d4c5c !important;
}

body.hud-skin.light-mode .ap-funil-cell strong,
body.hud-skin.light-mode .co-roi-stat-label {
    color: #8a6d2f !important;
}

body.hud-skin.light-mode .td-counts b {
    color: #0c2b5b !important;
}

/* Hangar vivo, livro centrado, cabine e boletim */
.hangar-pulse {
    width: min(980px, 100%);
    margin: 0 auto 22px;
    padding: 28px 24px 24px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid rgba(212, 174, 87, 0.35);
    background: rgba(10, 8, 6, 0.45);
}
.hangar-pulse-kicker {
    margin: 0;
    font-family: Cinzel, serif;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d4ae57;
}
.hangar-pulse h2 {
    margin: 8px 0;
    font-family: Cinzel, serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    color: #f2e6c8;
}
.hangar-pulse-text {
    max-width: 36em;
    margin: 0 auto 18px;
    font-family: Merriweather, Georgia, serif;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(246, 243, 236, 0.78);
}
.hangar-pulse-acts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
body.light-mode .hangar-pulse {
    background: #ffffff !important;
    border-color: rgba(12, 43, 91, 0.12) !important;
}
body.light-mode .hangar-pulse h2 { color: #0c2b5b !important; }
body.light-mode .hangar-pulse-text { color: #3d4c5c !important; }

.leg-hours.co-details {
    width: min(980px, 100%) !important;
    margin: 8px auto 24px !important;
    border-radius: 16px !important;
}
.leg-hours > summary {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px;
    padding: 28px 24px !important;
    cursor: pointer;
    list-style: none;
}
.leg-hours > summary::-webkit-details-marker { display: none; }
.leg-hours-title {
    font-family: Cinzel, serif !important;
    font-size: 22px !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
}
.leg-hours-now {
    font-family: Merriweather, Georgia, serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
body.hud-skin .leg-hours-title { color: #d4ae57 !important; }
body.hud-skin .leg-hours-now { color: #f6f3ec !important; }
body.light-mode .leg-hours-title { color: #0c2b5b !important; }
body.light-mode .leg-hours-now { color: #3d4c5c !important; }
body.light-mode .leg-hours.co-details { background: #ffffff !important; }

body.co-calm[data-co-view="academia"] #viewContainer .co-focus-card,
body.co-calm[data-co-view="academia"] #viewContainer .co-flow,
body.co-calm[data-co-view="academia"] #viewContainer .co-list,
body.co-calm[data-co-view="academia"] #viewContainer .acad-path,
body.co-calm[data-co-view="academia"] #viewContainer .acad-aside {
    width: min(820px, 100%) !important;
    max-width: 820px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.co-calm[data-co-view="academia"] #viewContainer .acad-stage h1,
body.co-calm[data-co-view="academia"] #viewContainer .co-aula-title {
    font-family: Cinzel, serif !important;
    font-size: clamp(28px, 4vw, 40px) !important;
    font-weight: 400 !important;
    text-align: center !important;
}
.acad-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 18px auto 0;
    padding: 0;
}
.acad-path li {
    padding: 16px 10px;
    border-radius: 14px;
    border: 1px solid rgba(212, 174, 87, 0.28);
    text-align: center;
}
.acad-path b {
    display: block;
    font-family: Cinzel, serif;
    font-size: 18px;
    font-weight: 400;
    color: #d4ae57;
}
.acad-path span {
    font-family: Merriweather, Georgia, serif;
    font-size: 15px;
}
body.light-mode .acad-path li {
    background: #ffffff;
    border-color: rgba(12, 43, 91, 0.12);
}
body.light-mode .acad-path span { color: #1c2430; }
.acad-aside { margin: 16px 0 0; text-align: center; }

.boletim-home {
    width: min(980px, 100%);
    margin: 0 auto;
    text-align: center;
}
.boletim-head h1 {
    margin: 6px 0 8px;
    font-family: Cinzel, serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 400;
}
.boletim-head p,
.boletim-lead,
.boletim-empty,
.boletim-card p {
    font-family: Merriweather, Georgia, serif;
    font-size: 16px;
    line-height: 1.55;
}
.boletim-kicker {
    margin: 0 0 8px;
    font-family: Cinzel, serif;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a6863c;
}
.boletim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 22px;
    text-align: left;
}
.boletim-card {
    margin: 0 0 12px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(212, 174, 87, 0.28);
    background: rgba(10, 8, 6, 0.55);
    color: #f6f3ec;
}
.boletim-card summary {
    cursor: pointer;
    list-style: none;
}
.boletim-card summary::-webkit-details-marker { display: none; }
.boletim-card summary span {
    display: block;
    font-family: Cinzel, serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4ae57;
}
.boletim-card summary strong {
    display: block;
    margin-top: 6px;
    font-family: Cinzel, serif;
    font-size: 20px;
    font-weight: 400;
}
body.light-mode .boletim-card {
    background: #ffffff;
    border-color: rgba(12, 43, 91, 0.12);
    color: #1c2430;
}
body.light-mode .boletim-head h1,
body.light-mode .boletim-card summary strong { color: #0c2b5b; }

body.hud-skin .leg-spread.is-sheet,
body.hud-skin.light-mode .leg-spread.is-sheet,
body.hud-skin .leg-spread.is-sheet .leg-proof,
body.hud-skin.light-mode .leg-spread.is-sheet .leg-proof {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    min-height: 0 !important;
}
body.hud-skin .leg-resume,
body.hud-skin.light-mode .leg-resume { color: #8a6d2f !important; }
body.hud-skin.dark-mode .leg-resume { color: #d4ae57 !important; }
body.hud-skin .leg-bar-link {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
body.hud-skin.light-mode #viewContainer .leg-bar p,
body.hud-skin.light-mode #viewContainer .leg-inkline { color: #6b5a38 !important; }
body.hud-skin .leg-hours.co-details {
    width: min(1040px, 100%) !important;
    margin: 40px auto 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
body.hud-skin .leg-hours > summary {
    padding: 8px 0 12px !important;
}
body.hud-skin .leg-hours-title {
    font-size: 13px !important;
    letter-spacing: 0.16em !important;
}
body.light-mode .leg-hours.co-details { background: transparent !important; }
body.hud-skin #viewContainer .leg-write input,
body.hud-skin #viewContainer .leg-return input,
body.hud-skin #viewContainer .leg-tomorrow input {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(12, 43, 91, 0.28) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: Merriweather, Georgia, serif !important;
    font-size: 20px !important;
    padding: 12px 0 !important;
}
body.hud-skin.dark-mode #viewContainer .leg-write input,
body.hud-skin.dark-mode #viewContainer .leg-return input,
body.hud-skin.dark-mode #viewContainer .leg-tomorrow input {
    color: #f6f3ec !important;
    border-bottom-color: rgba(212, 174, 87, 0.45) !important;
}

.acad-lesson {
    width: min(820px, 100%);
    margin: 8px auto 0;
}
.acad-lesson h1,
.boletim-head h1 {
    margin: 0 0 12px;
    font-family: Cinzel, serif;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
}
.acad-lesson h1,
.acad-room .leg-bar p,
.acad-room .leg-bar-link,
.boletim-head h1,
.boletim-kicker {
    opacity: 1;
}
body.hud-skin.light-mode .acad-lesson h1,
body.hud-skin.light-mode #viewContainer .acad-lesson h1,
body.hud-skin.light-mode .boletim-head h1,
body.hud-skin.light-mode .boletim-note summary strong {
    color: #0c2b5b !important;
}
body.hud-skin.light-mode .acad-lesson .leg-lead,
body.hud-skin.light-mode .boletim-empty,
body.hud-skin.light-mode .boletim-note p {
    color: #1c2430 !important;
}
body.hud-skin.light-mode .acad-room .leg-bar-link,
body.hud-skin.light-mode .boletim-kicker,
body.hud-skin.light-mode .boletim-note summary span {
    color: #8a6d2f !important;
}
.acad-lesson .leg-lead { max-width: 38em; }
.acad-lesson .leg-frame {
    margin-top: 22px;
    aspect-ratio: 16 / 9;
    background: #0c2b5b;
}
.acad-lesson .leg-frame iframe { width: 100%; height: 100%; border: 0; }
.acad-next {
    margin: 18px 0 0;
    font-family: Merriweather, Georgia, serif;
    font-size: 17px;
}
.boletim-home {
    width: min(680px, 100%) !important;
    margin: 8px auto 0 !important;
    text-align: left !important;
}
.boletim-head { text-align: left; }
.boletim-head h1 {
    margin: 0;
    font-family: Cinzel, serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
}
.boletim-letter { margin-top: 28px; }
.boletim-note { border-top: 1px solid rgba(12, 43, 91, 0.12); }
.boletim-note details { padding: 18px 0 6px; }
.boletim-note summary { cursor: pointer; list-style: none; }
.boletim-note summary::-webkit-details-marker { display: none; }
.boletim-note summary span {
    display: block;
    margin-bottom: 4px;
    font-family: Cinzel, serif;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a6d2f;
}
.boletim-note summary strong {
    font-family: Cinzel, serif;
    font-size: 22px;
    font-weight: 400;
}
.boletim-note p,
.boletim-empty {
    margin: 12px 0 0;
    font-family: Merriweather, Georgia, serif;
    font-size: 17px;
    line-height: 1.6;
}
.boletim-write { margin-top: 28px; }
body.dark-mode .boletim-note { border-top-color: rgba(255, 255, 255, 0.1); }
body.dark-mode .acad-lesson h1,
body.dark-mode .boletim-head h1,
body.dark-mode .boletim-note summary strong { color: #f6f3ec; }

.boletim-home { width: min(1120px, 100%) !important; }
.bol-mast {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(166, 134, 60, 0.45);
}
.bol-year {
    margin: 0 0 6px;
    font-family: Cinzel, serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #a6863c;
}
.bol-spread {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.7fr);
    gap: 18px;
    margin-top: 18px;
    align-items: stretch;
}
.bol-lp {
    margin: 0;
    padding: 28px 32px 26px;
    background: #fffdf8;
    border: 1px solid rgba(12, 43, 91, 0.12);
    border-top: 3px solid #a6863c;
}
.bol-lp h2 {
    margin: 6px 0 12px;
    font-family: Cinzel, serif;
    font-weight: 400;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.12;
    color: #0c2b5b;
}
.bol-lp--empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bol-lp--empty h2 { font-size: clamp(24px, 2.6vw, 32px); }
.bol-lp-lead,
.bol-lp-body,
.bol-day-empty,
.bol-cal-cap {
    margin: 0 0 12px;
    max-width: 42em;
    font-family: Merriweather, Georgia, serif;
    font-size: 17px;
    line-height: 1.6;
    color: #3d4c5c;
}
.bol-lp .btn-gold { margin-top: 8px; align-self: flex-start; }
.bol-rail { min-width: 0; }
.bol-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 390px;
    margin-top: 0;
    overflow: auto;
    scrollbar-width: thin;
}
.bol-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    padding: 12px 14px;
    text-align: left;
    border: 1px solid rgba(12, 43, 91, 0.12);
    border-radius: 0;
    background: #fff;
    color: #1c2430;
    cursor: pointer;
    font: inherit;
}
.bol-card span {
    font-family: Cinzel, serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a6d2f;
}
.bol-card strong {
    font-family: Cinzel, serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    color: #0c2b5b;
}
.bol-card em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: Merriweather, Georgia, serif;
    font-style: normal;
    font-size: 13px;
    line-height: 1.4;
    color: #3d4c5c;
}
.bol-card.is-on { border-color: #a6863c; background: #f7f3ea; }
.bol-cal {
    margin-top: 18px;
    padding: 16px 16px 12px;
    background: #fffdf8;
    border: 1px solid rgba(12, 43, 91, 0.12);
}
.bol-cal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.bol-cal-top .boletim-kicker { margin: 0; }
.bol-cal-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bol-cal-nav strong {
    font-family: Cinzel, serif;
    font-size: 18px;
    font-weight: 400;
    color: #0c2b5b;
}
.bol-chev {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid rgba(166, 134, 60, 0.55);
    border-radius: 0;
    background: transparent;
    color: #a6863c;
    font-family: Cinzel, serif;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.bol-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}
.bol-cal-head {
    font-family: Cinzel, serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    color: #8a6d2f;
}
.bol-cal-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-height: 52px;
    padding: 7px 2px 5px;
    border: 1px solid rgba(12, 43, 91, 0.1);
    border-radius: 0;
    background: #fff;
    color: #0c2b5b;
    cursor: pointer;
    font: inherit;
}
.bol-cal-day b {
    font-family: Cinzel, serif;
    font-size: 16px;
    font-weight: 400;
}
.bol-cal-day.is-out { opacity: 0.35; }
.bol-cal-day.is-today { border-color: #a6863c; }
.bol-cal-day.has-event { background: #f7f3ea; }
.bol-cal-day.is-on { border-color: #0c2b5b; background: #f7f3ea; }
.bol-cal-dots { display: flex; gap: 3px; min-height: 6px; }
.bol-cal-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a6863c;
}
.bol-cal-cap { margin: 12px 0 0; }
body.dark-mode .bol-mast { border-bottom-color: rgba(212, 174, 87, 0.35); }
body.dark-mode .bol-year,
body.dark-mode .bol-chev,
body.dark-mode .bol-cal-nav strong { color: #d4ae57; }
body.dark-mode .bol-lp,
body.dark-mode .bol-card,
body.dark-mode .bol-cal,
body.dark-mode .bol-cal-day {
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(212, 174, 87, 0.28);
    color: #f6f3ec;
}
body.dark-mode .bol-lp { border-top-color: #d4ae57; }
body.dark-mode .bol-lp h2,
body.dark-mode .bol-card strong { color: #f6f3ec; }
body.dark-mode .bol-lp-lead,
body.dark-mode .bol-lp-body,
body.dark-mode .bol-cal-cap,
body.dark-mode .bol-card em { color: #c5ced8; }
body.dark-mode .bol-cal-day.is-today,
body.dark-mode .bol-cal-day.is-on,
body.dark-mode .bol-card.is-on { border-color: #d4ae57; }
body.dark-mode .bol-cal-day.has-event,
body.dark-mode .bol-cal-day.is-on,
body.dark-mode .bol-card.is-on { background: rgba(212, 174, 87, 0.12); }
body.hud-skin.light-mode .bol-lp h2,
body.hud-skin.light-mode .bol-card strong,
body.hud-skin.light-mode .bol-cal-nav strong { color: #0c2b5b !important; }
body.hud-skin.light-mode .bol-lp-lead,
body.hud-skin.light-mode .bol-lp-body,
body.hud-skin.light-mode .bol-card em,
body.hud-skin.light-mode .bol-cal-cap { color: #3d4c5c !important; }
@media (max-width: 800px) {
    .bol-spread { grid-template-columns: 1fr; }
    .bol-cards { max-height: none; }
}

@media (max-width: 800px) {
    .boletim-grid,
    .acad-path { grid-template-columns: 1fr; }
}

.agora-home {
    width: 100%;
    max-width: none;
    margin: 8px 0 0;
}
.agora-home .leg-bar { width: 100%; margin-bottom: 22px; justify-content: flex-start; gap: 28px; }
.agora-hero h1 {
    margin: 0 0 12px;
    font-family: Cinzel, serif;
    font-weight: 400;
    font-size: clamp(34px, 4.4vw, 52px);
    line-height: 1.08;
    color: #0c2b5b;
}
.agora-deck {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin-top: 28px;
}
.leg-criterion {
    margin: 0 0 12px;
    font-family: Merriweather, Georgia, serif;
    font-size: 16px;
    line-height: 1.45;
    color: #f6f3ec;
}
.leg-criterion em {
    display: block;
    margin-bottom: 4px;
    font-family: Cinzel, serif;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4ae57;
}
@media (max-width: 800px) {
    .agora-deck { grid-template-columns: 1fr; }
    .agora-disc { display: none; }
    .agora-hero h1 { font-size: 32px; }
    .leg-write input,
    .leg-return input { font-size: 16px; }
}
.agora-disc {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle, rgba(166, 134, 60, 0.16) 0%, #fffdf8 68%);
    border: 1px solid rgba(166, 134, 60, 0.45);
}
.agora-sweep {
    position: absolute;
    inset: -2%;
    background: conic-gradient(from 0deg, transparent 0 72%, rgba(166, 134, 60, 0.38) 100%);
    animation: agoraSweep 8s linear infinite;
}
.agora-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(12, 43, 91, 0.16);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.agora-ring--1 { width: 38%; height: 38%; }
.agora-ring--2 { width: 64%; height: 64%; }
.agora-ring--3 { width: 88%; height: 88%; }
.agora-cross {
    position: absolute;
    background: rgba(12, 43, 91, 0.12);
}
.agora-cross--h { left: 8%; right: 8%; top: 50%; height: 1px; }
.agora-cross--v { top: 8%; bottom: 8%; left: 50%; width: 1px; }
.agora-blip {
    position: absolute;
    z-index: 2;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    padding: 0;
    border: 2px solid #a6863c;
    border-radius: 50%;
    background: #a6863c;
    cursor: pointer;
}
.agora-blip.is-soon,
.agora-blip.is-watch { background: transparent; }
.agora-blip.is-watch { border-color: rgba(166, 134, 60, 0.45); }
.agora-blip.is-on { box-shadow: 0 0 0 5px rgba(166, 134, 60, 0.28); }
.agora-count {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 72px;
    margin: 0;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}
.agora-count b {
    display: block;
    font-family: Cinzel, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    color: #0c2b5b;
}
.agora-count span {
    display: block;
    margin-top: 4px;
    font-family: Cinzel, serif;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a6d2f;
}
.agora-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.agora-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    text-align: left;
    border: 1px solid rgba(12, 43, 91, 0.12);
    border-radius: 0;
    background: #fff;
    color: #0c2b5b;
    cursor: pointer;
    font: inherit;
}
.agora-row.is-on { border-color: #a6863c; background: #f7f3ea; }
.agora-row em {
    display: block;
    font-family: Cinzel, serif;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a6d2f;
}
.agora-row strong {
    display: block;
    margin-top: 4px;
    font-family: Cinzel, serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.25;
}
.agora-dot {
    flex: none;
    width: 8px;
    height: 8px;
    margin-top: 4px;
    border: 2px solid #a6863c;
    border-radius: 50%;
    background: #a6863c;
}
.agora-dot.is-soon,
.agora-dot.is-watch { background: transparent; }
.agora-clear {
    margin: 0;
    font-family: Merriweather, Georgia, serif;
    font-size: 17px;
    color: #3d4c5c;
}
body.dark-mode .agora-hero h1,
body.dark-mode .agora-count b,
body.dark-mode .agora-row,
body.dark-mode .agora-row strong { color: #f6f3ec; }
body.dark-mode .agora-disc {
    background: radial-gradient(circle, rgba(212, 174, 87, 0.16) 0%, rgba(0, 0, 0, 0.45) 70%);
    border-color: rgba(212, 174, 87, 0.4);
}
body.dark-mode .agora-ring { border-color: rgba(212, 174, 87, 0.28); }
body.dark-mode .agora-cross { background: rgba(212, 174, 87, 0.22); }
body.dark-mode .agora-row {
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(212, 174, 87, 0.28);
}
body.dark-mode .agora-row.is-on {
    border-color: #d4ae57;
    background: rgba(212, 174, 87, 0.12);
}
body.dark-mode .agora-clear { color: #c5ced8; }
body.hud-skin.light-mode .agora-hero h1,
body.hud-skin.light-mode .agora-row strong,
body.hud-skin.light-mode .agora-count b { color: #0c2b5b !important; }
@media (prefers-reduced-motion: reduce) {
    .agora-sweep { animation: none; }
}
@keyframes agoraSweep { to { transform: rotate(360deg); } }
.chk-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.chk-head .leg-kicker { margin: 0; }
.chk-meter {
    font-family: Cinzel, serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a6d2f;
}
.chk-track {
    height: 2px;
    margin: 10px 0 14px;
    background: rgba(12, 43, 91, 0.12);
    overflow: hidden;
}
.chk-track i {
    display: block;
    height: 100%;
    width: 0;
    background: #a6863c;
    transition: width 0.35s ease;
}
.chk-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.chk-row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 13px 14px;
    text-align: left;
    border: 1px solid rgba(12, 43, 91, 0.12);
    background: #fff;
    color: #0c2b5b;
    cursor: pointer;
    font: inherit;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.chk-row:hover {
    border-color: #a6863c;
    background: #f7f3ea;
    transform: translateX(3px);
}
.chk-row.is-on {
    border-color: #a6863c;
    box-shadow: inset 3px 0 0 #a6863c;
    background: #f7f3ea;
}
.chk-box {
    width: 18px;
    height: 18px;
    border: 1.5px solid #a6863c;
    display: grid;
    place-items: center;
}
.chk-row.is-done .chk-box::after {
    content: "";
    width: 8px;
    height: 4px;
    border-left: 2px solid #a6863c;
    border-bottom: 2px solid #a6863c;
    transform: rotate(-45deg) translate(0, -1px);
}
.chk-row.is-done .chk-box { background: transparent; }
.chk-body { min-width: 0; }
.chk-body em {
    display: block;
    font-family: Cinzel, serif;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a6d2f;
}
.chk-body strong {
    display: block;
    margin-top: 3px;
    font-family: Cinzel, serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.25;
}
.chk-body small {
    display: block;
    margin-top: 3px;
    font-family: Merriweather, Georgia, serif;
    font-size: 13px;
    color: #3d4c5c;
}
.chk-go {
    font-family: Cinzel, serif;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a6d2f;
}
.chk-row.is-done strong,
.chk-row.is-done small { opacity: 0.72; }
body.dark-mode .chk-meter,
body.dark-mode .chk-go,
body.dark-mode .chk-body em { color: #d4ae57; }
body.dark-mode .chk-track { background: rgba(212, 174, 87, 0.18); }
body.dark-mode .chk-track i { background: #d4ae57; }
body.dark-mode .chk-row {
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(212, 174, 87, 0.28);
    color: #f6f3ec;
}
body.dark-mode .chk-row:hover,
body.dark-mode .chk-row.is-on {
    border-color: #d4ae57;
    background: rgba(212, 174, 87, 0.12);
}
body.dark-mode .chk-row.is-on { box-shadow: inset 3px 0 0 #d4ae57; }
body.dark-mode .chk-box { border-color: #d4ae57; }
body.dark-mode .chk-row.is-done .chk-box::after { border-color: #d4ae57; }
body.dark-mode .chk-body strong { color: #f6f3ec; }
body.dark-mode .chk-body small { color: #c5ced8; }
body.hud-skin.light-mode .chk-body strong { color: #0c2b5b !important; }
@media (max-width: 800px) {
    .agora-deck { grid-template-columns: 1fr; }
    .agora-disc { width: 220px; height: 220px; }
    .chk-row:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .chk-row, .chk-track i { transition: none; }
}

/* Uma voz em todos os perfis: Cinzel no título, Oswald na ação, Merriweather no texto. */
body.hud-skin #viewContainer h1,
body.hud-skin #viewContainer h2,
body.hud-skin #viewContainer h3 {
    font-family: Cinzel, serif;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #f6f3ec;
}
body.hud-skin #viewContainer p,
body.hud-skin #viewContainer li,
body.hud-skin #viewContainer .adm-lead,
body.hud-skin #viewContainer .co-focus-text,
body.hud-skin #viewContainer .leg-lead,
body.hud-skin #viewContainer .co-fila-obj,
body.hud-skin #viewContainer .adm-missao {
    font-family: Merriweather, Georgia, serif;
    color: #e7e0d4;
}
body.hud-skin #viewContainer button,
body.hud-skin #viewContainer .btn-gold,
body.hud-skin #viewContainer .btn-outline,
body.hud-skin #viewContainer label.oswald,
body.hud-skin #viewContainer .oswald,
body.hud-skin #viewContainer .co-meta-line {
    font-family: Oswald, sans-serif;
}
body.hud-skin #viewContainer .btn-gold {
    background: var(--ouro, #d4ae57);
    color: #1a1408;
    border: 0;
    border-radius: 4px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body.hud-skin #viewContainer .btn-outline {
    background: transparent;
    color: var(--ouro, #d4ae57);
    border: 1px solid var(--ouro, #d4ae57);
    border-radius: 4px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body.hud-skin #viewContainer .adm-card,
body.hud-skin #viewContainer .co-focus-card,
body.hud-skin #viewContainer .co-fila-card {
    background: #14110e;
    border: 1px solid rgba(212, 174, 87, 0.28);
    border-radius: 12px;
    color: #f3ead7;
}
body.hud-skin #viewContainer input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.hud-skin #viewContainer textarea,
body.hud-skin #viewContainer select {
    background: #1a1612;
    color: #f3ead7;
    border: 1px solid rgba(212, 174, 87, 0.35);
    border-radius: 6px;
    font-family: Merriweather, Georgia, serif;
}

/* Menu lateral — ícone e rótulo legíveis em Hangar, Torre, AM e Super ADM */
body.hud-skin .nav-item,
body.hud-skin .menu-premium-item,
body.co-calm .co-menu-slim .nav-item,
body.co-adm-space .co-menu-slim .nav-item {
    font-size: 17px !important;
    letter-spacing: 0.06em;
    line-height: 1.2;
    gap: 14px;
    padding: 14px 18px;
}
body.hud-skin .nav-icon,
body.co-calm .nav-icon,
body.co-adm-space .nav-icon {
    width: 28px;
    height: 28px;
}
body.hud-skin .nav-icon svg,
body.co-calm .nav-icon svg,
body.co-adm-space .nav-icon svg {
    width: 26px;
    height: 26px;
}
body.hud-skin .nav-title,
body.hud-skin .co-menu-group__title,
body.co-calm .co-menu-slim .nav-title,
body.co-adm-space .co-menu-slim .nav-title,
body.co-calm .co-menu-group__title,
body.co-adm-space .co-menu-group__title {
    font-size: 13px !important;
    letter-spacing: 0.12em;
}
#appLayout.sidebar-retracted .sidebar:not(:hover) .nav-item {
    min-height: 48px;
    padding: 12px 0;
}
