:root { color-scheme: light; font-family: system-ui, sans-serif; color: #192d48; background: #f3f6fb; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.largura { width: min(100% - 2rem, 52rem); margin-inline: auto; }
.topo { background: #fff; border-bottom: 1px solid #d8e2ef; }
.marca { display: flex; align-items: center; gap: .65rem; min-height: 4rem; }
.marca a { margin-left: auto; color: #164f94; }
main { padding-block: 1.5rem 3rem; }
h1 { margin: 0; font-size: clamp(1.75rem, 5vw, 2.4rem); }
h2 { margin: 0; font-size: 1.15rem; }
p { line-height: 1.5; }
p:empty { display: none; }
.painel { margin-top: 1rem; padding: clamp(.75rem, 3vw, 1.25rem); background: #fff; border: 1px solid #d8e2ef; border-radius: .85rem; }
button, summary, input { font: inherit; }
button, summary { cursor: pointer; }
button, input, summary { padding: .55rem .75rem; min-height: 2.75rem; border: 1px solid #a9bfd8; border-radius: .5rem; }
button { color: #173f76; background: #edf4fe; font-weight: 600; }
button:disabled { opacity: .5; cursor: default; }
summary { color: #fff; background: #174b8b; font-weight: 700; }
:focus-visible { outline: 3px solid #996000; outline-offset: 2px; }
.filtro { margin-top: .75rem; }
.filtro input { display: block; width: 100%; margin-block: .35rem .55rem; }
.opcoes { display: grid; max-height: 16rem; overflow: auto; gap: .25rem; padding: .2rem; }
.opcoes button { text-align: left; overflow-wrap: anywhere; }
.navegacao { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.navegacao h2 { text-align: center; flex: 1; text-transform: capitalize; }
.navegacao button { min-width: 2.75rem; }
#atual { margin-left: auto; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; }
th, td { text-align: center; padding: .2rem; }
td { height: 3.45rem; border: 1px solid #e0e8f3; }
td[aria-current="date"] { box-shadow: inset 0 0 0 2px #457dbb; }
td button { padding: .25rem .1rem; width: 100%; line-height: 1.1; }
td small { display: block; font-size: .7rem; margin-top: .2rem; }
.lista-visitas { padding: 0; margin-bottom: 0; list-style: none; }
.lista-visitas li { padding: .75rem 0; border-top: 1px solid #d8e2ef; }
.lista-visitas li:focus { background: #edf4fe; }
@media (max-width: 32rem) {
  .largura { width: calc(100% - 1rem); }
  #atual { flex-basis: 100%; }
  th { font-size: .78rem; }
}

.objetivo-visita { white-space: pre-wrap; overflow-wrap: anywhere; }

#calendario-ajuda { color: #465b75; margin-bottom: 0; }
#detalhes-dia { margin-top: .75rem; padding: .75rem 1rem; border: 1px solid #a9bfd8; border-radius: .65rem; background: #f4f8ff; }
#detalhes-data { margin: 0; font-size: 1.05rem; }
#detalhes-visitas { margin-top: .65rem; }
td button[aria-expanded="true"] { background: #174b8b; color: white; }

.painel-visitas > summary { cursor: pointer; font-weight: 700; }
.painel-visitas[open] > summary { margin-bottom: .75rem; }
