@font-face {
  font-family: 'Manrope';
  src: url("../website/assets/Manrope.946beb949095.ttf") format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Only the appearance bar affects both modes. Existing page styles stay intact. */
:root { --cp-appearance-height: 80px; }
.cp-appearance-bar {
  box-sizing: border-box; position: relative; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; width: 100%; min-height: 80px; padding: 16px 28px;
  background: #111; color: #fff; border-bottom: 1px solid #353535;
  font: 14px/1.5 'Manrope', sans-serif; text-align: left;
}
.cp-appearance-brand { display: flex; align-items: center; gap: 18px; min-width: 220px; }
.cp-appearance-brand img { display: block; width: 85px; height: 24px; object-fit: contain; }
.cp-appearance-divider { height: 26px; width: 1px; background: #636363; }
.cp-appearance-product { font-size: 22px; font-weight: 500; letter-spacing: -.7px; color: #fff; }
.cp-appearance-product > span { color: #a3e635; }
.cp-appearance-options { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid #636363; border-radius: 10px; }
.cp-appearance-options button {
  appearance: none; min-height: 44px; padding: 9px 16px; margin: 0;
  border: 1px solid transparent; border-radius: 6px; background: transparent;
  color: #ddd; font: 600 13px/1.5 'Manrope', sans-serif; cursor: pointer;
  white-space: nowrap; transition: background-color 180ms, color 180ms;
}
.cp-appearance-options button:hover { background: #333; color: #fff; }
.cp-appearance-options button[aria-pressed='true'] { background: #fff; color: #111; }
html[data-cp-theme='axis'] .cp-appearance-options button[aria-pressed='true'] { background: #a3e635; color: #111; }
.cp-appearance-options button:focus-visible { outline: 2px solid #a3e635; outline-offset: 3px; }
.cp-appearance-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The original login navigation is fixed; reserve space for the new bar. */
html[data-cp-theme] .navbar { top: var(--cp-appearance-height); }
html[data-cp-theme] .nav-mobile { top: calc(var(--cp-appearance-height) + 66px); }
html[data-cp-theme] body > .app { height: calc(100dvh - var(--cp-appearance-height)); }
html[data-cp-theme] body > .menu-footer-btn.absolute { top: calc(var(--cp-appearance-height) + 30px); }

/* AXIS palette. Legacy variable aliases keep the existing interactions and layouts. */
html[data-cp-theme='axis'] {
  color-scheme: light;
  --bg: #f4f4f4; --bg2: #f4f4f4; --bg-soft: #f4f4f4; --bg-card: #fff;
  --panel: #fff; --panel-2: #f4f4f4; --surface: #fff; --surface2: #f4f4f4;
  --navy: #f4f4f4; --navy-2: #fff; --navy-3: #fff;
  --text: #111; --white: #111; --muted: #636363; --muted-2: #636363; --muted2: #636363; --gray: #636363;
  --line: #dedede; --line-strong: #999; --border: #dedede; --border-soft: #e8e8e8;
  --blue: #4d7c0f; --blue-2: #365807; --primary: #4d7c0f; --cyan: #365807;
  --green: #4d7c0f; --success: #4d7c0f; --yellow: #925b00; --amber: #925b00; --warn: #925b00;
  --red: #b42318; --danger: #b42318; --orange: #9a4b00; --purple: #6941a5; --pink: #a12c6a;
  --shadow: 0 4px 20px rgb(17 17 17 / 5%);
  --radius-xl: 14px; --radius-lg: 12px; --radius-md: 10px; --radius-sm: 8px;
}
html[data-cp-theme='axis'] body { background: #f4f4f4 !important; color: #111 !important; font-family: 'Manrope', sans-serif; }
html[data-cp-theme='axis'] :is(h1,h2,h3,h4,p,label,input,select,textarea,button,.mono,.num,.brand,.back,.topbar-link,.btn,.tab,.kpi .val) {
  font-family: 'Manrope', sans-serif !important;
}
html[data-cp-theme='axis'] :is(h1,h2,h3) { font-weight: 500; letter-spacing: -.025em; }
html[data-cp-theme='axis'] :is(.hero h1 em,.sec-head h2 em) { font-family: inherit; font-style: normal; color: #636363; }
html[data-cp-theme='axis'] :is(.topbar,.header,.navbar.scrolled,.nav-mobile) { background: #fff; border-color: #dedede; }
html[data-cp-theme='axis'] :is(.card,.panel,.kpi,.hero,.filters,.table-wrap,.list,.trip-list,.modal-card,.modal-box,.modal-content,.login-box,.form-card,.section-card,.bg-white,.mock,.mock-bar,.mock-foot) {
  background: #fff !important; color: #111 !important; border-color: #dedede !important;
  border-radius: 12px; box-shadow: 0 4px 20px rgb(17 17 17 / 4%);
}
html[data-cp-theme='axis'] :is(.mini-card,.stat,.info-card,.panel-card,.gps-pill,.trip-body,.trip-item,.list-head,.modal-head,.modal-foot,.modal-header,.modal-footer,.bg-gray-200,.resumo-card,.search-box,.info) {
  background: #f4f4f4 !important; color: #111; border-color: #dedede !important;
}
html[data-cp-theme='axis'] :is(.card,.kpi,.panel)::before,
html[data-cp-theme='axis'] .panel::after { display: none; }
html[data-cp-theme='axis'] :is(.fx-grid,.fx-scan,.fx-vignette) { display: none; }
html[data-cp-theme='axis'] :is(.kpi,.panel) { animation: none; }
html[data-cp-theme='axis'] .kpi .val { color: #111; font-variant-numeric: tabular-nums; }
html[data-cp-theme='axis'] .kpi::after { background: #a3e635; }
html[data-cp-theme='axis'] .card { border: 1px solid #dedede; transition: border-color 180ms, box-shadow 180ms; }
html[data-cp-theme='axis'] .card:hover { border-color: #4d7c0f; box-shadow: 0 8px 24px rgb(17 17 17 / 8%); }
html[data-cp-theme='axis'] .card:hover .card-body h2 { transform: none; }
html[data-cp-theme='axis'] .card-arrow { background: #f4f4f4; color: #111; border-color: #dedede; }
html[data-cp-theme='axis'] .card:hover .card-arrow { background: #a3e635; color: #111; }
html[data-cp-theme='axis'] :is(.brand-icon,.brand .logo) { background: #111; color: #a3e635; box-shadow: none; }
html[data-cp-theme='axis'] .hero { margin-top: 24px; }
html[data-cp-theme='axis'] .hero .sub { color: #636363; }
html[data-cp-theme='axis'] :is(.mono,.topbar-link,.back,.num) { letter-spacing: .04em; }
html[data-cp-theme='axis'] .topbar { flex-wrap: wrap; }
html[data-cp-theme='axis'] .topbar-right { flex-wrap: wrap; gap: 12px; }
html[data-cp-theme='axis'] :is(.btn-primary,.btn-apply,.bg-primary,.bg-secondary,.bg-blue-500,.bg-blue-600,.period a.active,.tab.active,.pagination .active,.page-btn.active) {
  background: #a3e635 !important; color: #111 !important; border-color: #a3e635 !important;
}
html[data-cp-theme='axis'] :is(.btn-primary,.btn-apply,.bg-primary,.bg-secondary):hover { background: #91d127 !important; color: #111 !important; }
html[data-cp-theme='axis'] :is(.btn,.tb-btn,.btn-ghost,.menu-footer-btn,.back-btn,.btn-clear) { border-radius: 8px; min-height: 44px; }
html[data-cp-theme='axis'] :is(.btn-ghost,.tb-btn,.menu-footer-btn,.back-btn,.btn-clear) { color: #111 !important; background: #fff !important; border: 1px solid #999; }
html[data-cp-theme='axis'] :is(input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='submit']):not([type='button']),select,textarea) {
  background: #fff !important; color: #111 !important; border-color: #999 !important;
  border-radius: 8px; min-height: 44px; accent-color: #4d7c0f;
}
html[data-cp-theme='axis'] :is(input,textarea)::placeholder { color: #636363 !important; opacity: 1; }
/* !important: várias telas têm regra própria de option/optgroup escura (ex.: #informeSelect option
   em enviar_mensagem.html) que ganhava desta e deixava texto preto em fundo azul-escuro. */
html[data-cp-theme='axis'] :is(option, optgroup) { background: #fff !important; color: #111 !important; }
html[data-cp-theme='axis'] optgroup { font-weight: 700; }
html[data-cp-theme='axis'] option:checked { background: #edf3e3 !important; color: #111 !important; }
html[data-cp-theme='axis'] :is(a,button,input,select,textarea,summary):focus-visible { outline: 2px solid #4d7c0f !important; outline-offset: 3px; box-shadow: none !important; }
html[data-cp-theme='axis'] .cp-appearance-options button:focus-visible { outline-color: #a3e635 !important; }
html[data-cp-theme='axis'] :is(.text-primary,.text-gray-700,.text-gray-800,.text-gray-900,.icon-action,.gps-pill .v) { color: #111 !important; }
html[data-cp-theme='axis'] :is(.text-gray-400,.text-gray-500,.text-gray-600,.gps-pill .k) { color: #636363 !important; }
html[data-cp-theme='axis'] :is(.text-red-400,.text-red-500,.text-red-600,.erro,.falta,.modal-status.error,.pill.ERROR) { color: #b42318 !important; }
html[data-cp-theme='axis'] :is(.text-green-400,.text-green-500,.text-green-600,.ok,.modal-status.success,.badge.live) { color: #4d7c0f !important; }
html[data-cp-theme='axis'] :is(.text-yellow-400,.text-yellow-500,.text-yellow-600,.aviso,.badge.warn,.pill.WARNING) { color: #925b00 !important; }
html[data-cp-theme='axis'] :is(.badge.off,.pill.INFO) { color: #636363; }
html[data-cp-theme='axis'] :is(.text-blue-400,.text-blue-500,.text-blue-600,.trip-details[open] .arrow) { color: #4d7c0f !important; }
html[data-cp-theme='axis'] :is(.bg-red-500,.bg-red-600) { background: #b42318 !important; color: #fff !important; }
html[data-cp-theme='axis'] :is(.bg-green-500,.bg-green-600) { background: #4d7c0f !important; color: #fff !important; }
html[data-cp-theme='axis'] :is(.bg-yellow-500,.bg-yellow-600) { background: #925b00 !important; color: #fff !important; }
html[data-cp-theme='axis'] :is(th,td,.border,.border-t) { border-color: #dedede !important; }
html[data-cp-theme='axis'] thead { background: #f4f4f4 !important; color: #636363 !important; }
html[data-cp-theme='axis'] :is(tbody tr:hover,.trip-summary:hover,.trip-details[open] .trip-summary) { background: #edf3e3 !important; }
html[data-cp-theme='axis'] :is(.progress-fill,.bar-fill) { background: #4d7c0f; }
html[data-cp-theme='axis'] .opcao.selecionada { background: #edf3e3; border-color: #4d7c0f; }
html[data-cp-theme='axis'] ::selection { background: #a3e635; color: #111; }
@media (max-width: 640px) {
  .cp-appearance-bar { padding: 14px 16px; gap: 12px; }
  .cp-appearance-options { margin-left: auto; }
  html[data-cp-theme='axis'] .topbar-right { gap: 10px; }
  html[data-cp-theme='axis'] .hero { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-appearance-options button { transition: none; }
  html[data-cp-theme='axis'] *, html[data-cp-theme='axis'] *::before, html[data-cp-theme='axis'] *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  html[data-cp-theme='axis'] .reveal { opacity: 1; transform: none; }
}
@media print { .cp-appearance-bar { display: none !important; } }
/* Special page shells and details that predate shared color tokens. */
.cp-appearance-bar { position: sticky; top: 0; flex-shrink: 0; }
html[data-cp-theme] body.cp-centered-page { display: flex; flex-direction: column; justify-content: flex-start; padding: 0; margin: 0; min-height: 100dvh; }
body.cp-centered-page > :is(.box,.container,.card) { margin: auto; max-width: min(480px, calc(100% - 32px)); }
html[data-cp-theme='axis'] .cp-centered-page > :is(.box,.container) { background: #fff; color: #111; border: 1px solid #dedede; box-shadow: var(--shadow); }
html[data-cp-theme='axis'] .cp-centered-page :is(p,.footer) { color: #636363; }
html[data-cp-theme='axis'] :is(.central-map-stage,.central-empty,.central-map-side,.login-modal-content) { background: #fff; border-color: #dedede; }
html[data-cp-theme='axis'] :is(.submit,.login-submit) { background: #a3e635; color: #111; border-radius: 8px; }
html[data-cp-theme='axis'] :is(.login-feedback.error,.msg.error) { color: #b42318; }
html[data-cp-theme='axis'] :is(.login-feedback.success,.msg.success) { color: #4d7c0f; }
html[data-cp-theme='axis'] .brand-text h1 { font-weight: 500; }
html[data-cp-theme='axis'] .hero:has(.hero-topbar) { border-radius: 14px; }
html[data-cp-theme='axis'] :is(.login-modal-content,.modal-card,.modal-box) { box-shadow: 0 16px 64px rgb(17 17 17 / 15%); }
/* Operational home: calmer hierarchy, separated cards, compact scanning. */
html[data-cp-theme='axis'] .cp-menu-page .page { width: 100%; max-width: none; padding: 0 32px; }
html[data-cp-theme='axis'] .cp-menu-page .topbar { background: transparent; padding: 22px 0; }
html[data-cp-theme='axis'] .cp-menu-page .topbar > .brand { font-size: 13px; letter-spacing: 0; text-transform: none; }
html[data-cp-theme='axis'] .cp-menu-page .hero { background: transparent !important; box-shadow: none; padding: 36px 0 40px; margin-top: 0; }
html[data-cp-theme='axis'] .cp-menu-page .hero h1 { font-size: clamp(34px, 4.5vw, 60px); line-height: 1.15; }
html[data-cp-theme='axis'] .cp-menu-page .hero .kicker { margin-bottom: 18px; }
html[data-cp-theme='axis'] .cp-menu-page .hero .sub { font-size: 16px; max-width: 600px; margin-top: 18px; }
html[data-cp-theme='axis'] .cp-menu-page .grid { gap: 16px; background: transparent; border: 0; }
html[data-cp-theme='axis'] .cp-menu-page .grid-head { margin-bottom: 16px; }
html[data-cp-theme='axis'] .cp-menu-page .card { min-height: 248px; padding: 26px; animation: none; }
html[data-cp-theme='axis'] .cp-menu-page .card h2 { font-size: 25px; line-height: 1.2; }
html[data-cp-theme='axis'] .cp-menu-page .card.wide h2 { font-size: 30px; }
html[data-cp-theme='axis'] .cp-menu-page .card p { font-size: 14px; color: #636363; }
html[data-cp-theme='axis'] .cp-menu-page .card-icon { color: #636363; }
html[data-cp-theme='axis'] .cp-menu-page .card-icon svg { width: 36px; height: 36px; }
html[data-cp-theme='axis'] .cp-menu-page .card:first-child { border-top: 3px solid #a3e635 !important; }
@media (max-width: 640px) {
  html[data-cp-theme='axis'] .cp-menu-page .page { padding: 0 16px; }
  html[data-cp-theme='axis'] .cp-menu-page .card { min-height: 220px; padding: 24px; }
  html[data-cp-theme='axis'] .cp-menu-page .card.wide h2 { font-size: 25px; }
}
html[data-cp-theme='axis'] :is(.kpi .val,.brand h1,.head-meta h2) { text-shadow: none; }
html[data-cp-theme='axis'] :is(.ticker .sep,.section-head .accent,.op-item .r) { box-shadow: none; }
html[data-cp-theme='axis'] .scope { display: none; }
html[data-cp-theme='axis'] .ticker { background: #fff; }
html[data-cp-theme='axis'] .delta.up { color: #4d7c0f; }
html[data-cp-theme='axis'] .delta.down { color: #b42318; }
html[data-cp-theme='axis'] :is(.btn:not(.btn-ghost):not(.btn-secondary):not(.btn-danger),.btn.btn-success) { background: #a3e635; color: #111; box-shadow: none; }
html[data-cp-theme='axis'] :is(.chip.active,.chip.selected,.btn-paginacao-atual) { background: #edf3e3; color: #365807 !important; border-color: #4d7c0f; }
html[data-cp-theme='axis'] :is(.stat-icon,.action-menu,.btn-paginacao) { background: #fff; color: #111 !important; border-color: #dedede; }
html[data-cp-theme='axis'] :is(.badge-wa-autorizado,.badge-ativo,.badge-email-enviado) { color: #4d7c0f; background: #edf3e3; }
html[data-cp-theme='axis'] .badge-wa-enviado { color: #925b00; background: #fff4d6; }
html[data-cp-theme='axis'] .badge-inativo { color: #b42318; background: #fce9e7; }
html[data-cp-theme='axis'] :is(.badge-wa-pendente,.badge-email-pendente) { color: #636363; background: #f4f4f4; }
html[data-cp-theme='axis'] .toolbar > * { min-width: 0; }
html[data-cp-theme='axis'] .toolbar .muted-small { white-space: normal; }
html[data-cp-theme='axis'] .tabs { max-width: 100%; overflow-x: auto; }
html[data-cp-theme='axis'] .tabs .tab { flex-shrink: 0; min-height: 44px; }
html[data-cp-theme='axis'] .panel:has(> table) { overflow-x: auto; }
html[data-cp-theme='axis'] .section-head { flex-wrap: wrap; }
/* The shared AXIS signature replaces duplicated legacy logos in forms. */
html[data-cp-theme='axis'] div:has(> img[src$='/img/logo.png']) { display: none; }
@media (max-width: 640px) {
  html[data-cp-theme='axis'] .hero-topbar { flex-wrap: wrap; }
  html[data-cp-theme='axis'] .hero .brand { min-width: 0; }
  html[data-cp-theme='axis'] .hero .brand-text h1 { overflow-wrap: anywhere; }
  html[data-cp-theme='axis'] :is(input,select,textarea) { font-size: 16px; }
  html[data-cp-theme='axis'] .form-field { min-width: 0; }
}
html[data-cp-theme='axis'] :is(.badge-green,.badge-sent,.badge-online,.pill-gps-on,.toast.sucesso,.wa-provedor .atual.oficial) { color: #4d7c0f; }
html[data-cp-theme='axis'] :is(.badge-red,.badge-error,.pill-gps-off,.erro-detalhe,.modal-erro,.toast.erro) { color: #b42318; }
html[data-cp-theme='axis'] :is(.badge-yellow,.wa-aviso,.wa-provedor .atual.zapi) { color: #925b00; }
html[data-cp-theme='axis'] :is(.badge-blue,.pill-ativo,.btn-acao.iniciar,.campo-sentido button.ativo) { color: #365807; background: #edf3e3; border-color: #4d7c0f; }
html[data-cp-theme='axis'] :is(.btn-primario,.modal-btn.confirmar) { background: #a3e635; color: #111; border-color: #4d7c0f; }
html[data-cp-theme='axis'] .btn.btn-secondary { background: #fff; color: #111; box-shadow: none; border: 1px solid #999; }
html[data-cp-theme='axis'] *, html[data-cp-theme='axis'] *::before, html[data-cp-theme='axis'] *::after { box-sizing: border-box; }
html[data-cp-theme='axis'] :is(h1,h2,h3) em { font-family: inherit; font-style: normal; }
html[data-cp-theme='axis'] .toolbar-actions { flex-wrap: wrap; }
html[data-cp-theme='axis'] .footer-col { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { html[data-cp-theme='axis'] .footer-grid { grid-template-columns: 1fr; } }
