/* Análise de ocorrências · Design System 2.0. Escopo próprio, sem CSS legado. */
.ao {
  --ao-accent: var(--palette-aguas-4);
  --ao-ink: #213442;
  --ao-muted: #5e7380;
  --ao-line: #d7e2e4;
  --ao-paper: #f3f7f7;
  --ao-deep: #0a2f42;
  --ao-dark-accent: #146580;
  color: var(--ao-ink);
  font-variant-numeric: tabular-nums;
}
.ao *, .ao *::before, .ao *::after { box-sizing: border-box; }
.ao h1, .ao h2, .ao h3, .ao h4, .ao p, .ao figure { margin: 0; }
.ao a { text-decoration: none; }
.ao button, .ao select { font: inherit; }
.ao button, .ao summary, .ao select { cursor: pointer; }
.ao [hidden] { display: none !important; }
.orc-public .ao :focus-visible { outline: 2px solid var(--ao-dark-accent); outline-offset: 5px; }
.orc-public .ao .ao-hero :focus-visible { outline-color: var(--palette-aguas-7); }
.ao .ao-container { max-width: 1600px; margin-inline: auto; }
.ao-eyebrow { display: block; font-size: 13px; font-weight: 500; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; }
.ao-hero { position: relative; z-index: 1; isolation: isolate; color: #eef7f8; background: #091f2a; padding: calc(var(--rail-h) + 86px) 0 36px; }
.orc-public .ao-hero .fundo-vivo { -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .4) 0%, #000 55%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .4) 0%, #000 55%); }
/* As rachaduras também se apagam no alto, para não riscar o menu e a logo. */
.orc-public .ao-hero .fundo-vivo--rachaduras { -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .4) 0%, #000 55%), linear-gradient(180deg, transparent 0, #000 30%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, rgba(0, 0, 0, .4) 0%, #000 55%), linear-gradient(180deg, transparent 0, #000 30%); mask-composite: intersect; }
.ao-hero > .ao-container { position: relative; z-index: 1; }
.ao-hero-texture { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 89% 24%, #2fa8c933, transparent 54%), linear-gradient(132deg, #091f2a, #12384a); }
.ao-hero-texture::after { content: ''; position: absolute; width: 58%; inset: 0 0 0 auto; opacity: .13; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), #acc5c8 8.333%); mask-image: linear-gradient(transparent, #000 35%, transparent 80%); }
.ao-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(48px, 9vw, 150px); padding-block: 34px 60px; }
.ao-intro > .ao-eyebrow { color: var(--palette-aguas-7); margin-bottom: 23px; }
.ao-intro h1 { font-size: clamp(44px, 4.35vw, 66px); font-weight: 500; line-height: 1.06; letter-spacing: -.05em; }
.ao-intro h1 em { font-style: normal; color: var(--ao-accent); }
.ao-intro > p { color: #bdd0d8; font-size: 15px; font-weight: 350; line-height: 1.7; margin-block: 25px 23px; }
.ao-text-link { display: inline-flex; align-items: center; gap: 22px; background: none; border: none; padding: 0; color: inherit; font-size: 14px; font-weight: 500; line-height: 1.6; }
.ao-text-link:hover { color: var(--ao-dark-accent); }
.ao-hero .ao-text-link:hover { color: var(--ao-accent); }
.ao-text-link > span { font-size: 18px; }
.ao-pulse { align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding-top: 16px; }
.ao-pulse-caption, .ao-pulse-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ao-pulse-caption { font-size: 13px; text-transform: uppercase; letter-spacing: .15em; color: #b5ccd5; }
.ao-pulse-caption > span:last-child { font-size: 14px; }
.ao-pulse-value { display: flex; align-items: center; gap: 22px; margin-block: 8px 22px; }
.ao-pulse-value > strong { font-size: clamp(76px, 7.7vw, 118px); font-weight: 400; line-height: 1.14; letter-spacing: -.065em; color: var(--palette-aguas-7); }
.ao-pulse-value > span { font-size: 14px; line-height: 1.6; color: #b5ccd5; }
.ao-spark { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(7px, 1.25vw, 20px); height: 107px; }
.ao-spark-column { position: relative; display: flex; align-items: end; height: 85px; border-bottom: 1px solid #7c909550; }
.ao-spark-column::before { content: ''; position: absolute; inset: 0 0 0; background: linear-gradient(transparent, #2fa8c90a); border-top: 1px solid #7c909525; }
.ao-spark-column > i { width: 100%; height: var(--bar); background: linear-gradient(0deg, #2fa8c955, var(--ao-accent)); border-top: 1px solid #c7f3e6; }
.ao-spark-column > small { position: absolute; top: calc(100% + 9px); left: 50%; transform: translateX(-50%); font-size: 12px; color: #acc5c8; font-weight: 400; }
.ao-spark-column.is-unavailable { opacity: .4; }
.ao-pulse-foot { margin-top: 26px; padding-top: 14px; border-top: 1px solid #7c909530; font-size: 13px; color: #acc5c8; }
.ao-pulse-foot > span:last-child { display: inline-flex; gap: 6px; align-items: center; }
.ao-filters { padding-top: 25px; }
.ao-filter-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 21px; }
.ao-filter-heading h2 { font-size: 15px; font-weight: 500; }
.ao-filter-heading > span { font-size: 13px; color: #acc5c8; }
.ao-filter-grid { display: grid; grid-template-columns: .72fr .72fr 1.4fr 1.45fr 1.9fr; gap: 20px; align-items: end; }
.ao-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: #bdd0d8; font-size: 13px; letter-spacing: .015em; }
.ao select { appearance: none; border: 1px solid #acc5c859; border-radius: 8px; background-color: #ffffff05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' stroke='%23acc5c8' stroke-width='1.3' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 10px; color: #eef7f8; width: 100%; min-width: 0; padding: 12px 32px 12px 13px; font-size: 14px; line-height: 1.4; text-overflow: ellipsis; transition: border-color .2s, background-color .2s; }
.ao select:hover { border-color: #c7f3e699; background-color: #ffffff09; }
.ao select:focus { outline: none; border-color: #7bc9a4; box-shadow: 0 0 0 2px #acc5c810; }
.ao select option { color: #eef7f8; background: #12384a; }
.ao-multi { position: relative; min-width: 0; }
.ao-multi[open] { z-index: 5; }
.ao-multi summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #acc5c859; border-radius: 8px; padding: 12px 13px; min-height: 46px; background: #ffffff05; color: #eef7f8; font-size: 14px; line-height: 1.4; list-style: none; }
.ao-multi summary::-webkit-details-marker { display: none; }
.ao-multi summary > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ao-multi summary > svg { width: 10px; height: 8px; flex-shrink: 0; fill: none; stroke: #acc5c8; stroke-width: 1.3; }
.ao-multi summary:hover, .ao-multi[open] summary { border-color: #acc5c899; background: #ffffff09; }
.ao-multi[open] summary > svg { transform: rotate(180deg); }
.ao-multi-panel { position: absolute; top: calc(100% + 7px); left: 0; width: 100%; min-width: min(320px, calc(100vw - 48px)); border: 1px solid #acc5c84d; border-radius: 10px; background: #0d2e3f; box-shadow: 0 12px 32px #0005; color: #eef7f8; overflow: hidden; }
.ao-multi-field:last-child .ao-multi-panel { left: auto; right: 0; }
.ao-multi-tools { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; border-bottom: 1px solid #acc5c824; }
.ao-multi-tools button { border: 0; background: none; padding: 4px 2px; color: #acc5c8; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #acc5c860; }
.ao-multi-tools button:hover { color: #c7f3e6; }
.ao-multi-options { margin: 0; padding: 6px; border: 0; min-width: 0; max-height: min(340px, 48dvh); overflow-y: auto; scrollbar-width: thin; }
.ao-multi-option { display: flex; align-items: center; gap: 11px; padding: 10px 8px; border-radius: 5px; cursor: pointer; font-size: 14px; line-height: 1.5; }
.ao-multi-option:hover, .ao-multi-option:has(input:focus-visible) { background: #acc5c814; }
.ao-multi-option input { width: 17px; height: 17px; margin: 0; flex-shrink: 0; color-scheme: dark; accent-color: #c7f3e6; cursor: pointer; }
.ao:not(.is-enhanced) .ao-multi-tools { display: none; }
.ao-period { border: 0; padding: 0; margin: 0; min-width: 0; }
.ao-period legend { font-size: 13px; color: #bdd0d8; margin-bottom: 8px; }
.ao-period > div { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.ao-period > div > span { font-size: 13px; color: #acc5c8; }
.ao-filter-bottom { display: flex; align-items: start; justify-content: space-between; gap: 26px; margin-top: 23px; }
.ao-territory-filter { width: min(570px, 59%); }
.ao-territory-filter summary { display: inline-flex; align-items: center; gap: 28px; list-style: none; padding: 10px 0; font-size: 14px; color: #c7f3e6; }
.ao-territory-filter summary::-webkit-details-marker { display: none; }
.ao-territory-filter summary > span { font-size: 20px; font-weight: 300; line-height: 1; transition: transform .15s; }
.ao-territory-filter[open] summary > span { transform: rotate(45deg); }
.ao-territory-fields { display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px; padding-top: 13px; }
.ao-filter-actions { display: flex; align-items: center; gap: 27px; flex-shrink: 0; }
.ao-filter-actions > a { color: #acc5c8; font-size: 13px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #acc5c850; }
.ao-button { display: flex; gap: 32px; align-items: center; padding: 13px 23px; border-radius: 999px; border: 1px solid transparent; color: #0a2f42; background: var(--palette-aguas-7); font-size: 14px !important; font-weight: 600 !important; transition: background .2s; }
.ao-button:hover { background: #d8f8ef; }
.ao-button > span { font-size: 18px; line-height: 1; }
.ao[aria-busy="true"] .ao-button { opacity: .6; cursor: progress; }
.ao-body { background: var(--ao-paper); padding-bottom: 30px; }
.ao-context { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-top: 49px; scroll-margin-top: 95px; outline: none !important; }
.ao-context .ao-eyebrow { color: var(--ao-dark-accent); }
.ao-context-actions { display: flex; gap: 30px; align-items: center; color: var(--ao-muted); }
.ao-scope { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 17px; margin-top: 22px; font-size: 13px; line-height: 1.6; }
.ao-scope > strong { font-weight: 500; }
.ao-scope > span { color: var(--ao-muted); }
.ao-coverage-note { margin-top: 7px !important; font-size: 13px; line-height: 1.7; color: var(--ao-muted); }
.ao-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 35px 36px; margin-top: 25px; border-top: 1px solid var(--ao-line); border-bottom: 1px solid var(--ao-line); }
.ao-metrics > div { border-left: 1px solid var(--ao-line); padding-left: 34px; }
.ao-metrics > div:first-child { border: none; padding-left: 0; }
.ao-metrics > div > span { display: block; font-size: 13px; line-height: 1.6; color: var(--ao-muted); }
.ao-metrics strong { display: block; color: var(--ao-dark-accent); font-size: clamp(38px, 3.6vw, 52px); font-weight: 400; line-height: 1.35; letter-spacing: -.045em; }
.ao-metrics strong > small { font-size: .48em; margin-left: 3px; }
.ao-metrics p { font-size: 13px; line-height: 1.6; color: var(--ao-muted); }
.ao-section { padding-block: 65px; border-bottom: 1px solid var(--ao-line); scroll-margin-top: 90px; }
.ao-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.ao-section-heading .ao-eyebrow { color: var(--ao-dark-accent); margin-bottom: 12px; }
.ao-section h2 { font-size: clamp(24px, 2.45vw, 35px); line-height: 1.2; font-weight: 450; letter-spacing: -.045em; }
.ao-section-lead { max-width: 690px; margin-top: 17px !important; font-size: 14px; line-height: 1.8; color: var(--ao-muted); }
.ao-legend { display: flex; gap: 19px; align-items: center; flex-shrink: 0; font-size: 13px; }
.ao-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.ao-legend i { width: 8px; height: 8px; background: var(--ao-dark-accent); border-radius: 2px; }
.ao-legend .is-reference { background: #a6bbc5; }
.ao-chart-layout { display: grid; grid-template-columns: minmax(0, 2.8fr) minmax(220px, 1fr); gap: 6%; margin-top: 39px; }
.ao-chart-toolbar { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--ao-muted); margin-bottom: 28px; }
.ao-month-chart { position: relative; height: 245px; padding-left: 35px; }
.ao-chart-scale { position: absolute; inset: 0 auto 26px 0; display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; color: #718996; transform: translateY(-5px); }
.ao-month-columns { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; height: 100%; position: relative; }
.ao-month-columns::before { content: ''; position: absolute; inset: 0 0 26px; pointer-events: none; border-top: 1px solid #d7e2e4aa; border-bottom: 1px solid var(--ao-line); background: linear-gradient(transparent calc(50% - .5px), #dbe5e7 50%, transparent calc(50% + .5px)); }
.ao-month { position: relative; display: flex; flex-direction: column; min-width: 0; }
.ao-month-bars { height: calc(100% - 26px); display: flex; align-items: end; justify-content: center; gap: 3px; }
.ao-bar { display: block; width: 40%; max-width: 23px; height: var(--bar); background: var(--ao-dark-accent); border-radius: 3px 3px 0 0; min-height: 1px; transition: background .2s; }
.ao-bar.is-reference { background: #a6bbc5; }
.ao-month:hover .ao-bar:not(.is-reference) { background: #2fa8c9; }
.ao-month-label { text-align: center; font-size: 13px; margin-top: 12px; color: var(--ao-muted); }
.ao-month.is-unavailable .ao-month-bars { margin-inline: 12%; background: repeating-linear-gradient(135deg, transparent, transparent 7px, #d7e2e436 7px, #d7e2e436 8px); }
.ao-month.is-unavailable .ao-month-label { opacity: .5; }
.ao-chart-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--ao-deep); color: #fff; padding: 9px 12px; border-radius: 6px; font-size: 13px; line-height: 1.6; white-space: nowrap; pointer-events: none; opacity: 0; z-index: 3; box-shadow: 0 5px 15px #0a2f4215; }
.ao-month:hover .ao-chart-tip, .ao-month:focus-visible .ao-chart-tip { opacity: 1; }
.ao-chart-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 28px; margin-top: 23px; font-size: 13px; line-height: 1.7; color: var(--ao-muted); }
.ao-chart-foot > span { max-width: 340px; }
.ao-chart-foot a { color: var(--ao-dark-accent); flex-shrink: 0; }
.ao-insight { border-left: 1px solid var(--ao-line); padding-left: 28px; }
.ao-insight .ao-eyebrow { color: var(--ao-dark-accent); }
.ao-insight > strong { display: block; font-size: 49px; font-weight: 400; letter-spacing: -.045em; line-height: 1.4; margin-top: 12px; }
.ao-insight > strong > span { font-size: 13px; color: var(--ao-muted); letter-spacing: 0; }
.ao-insight h3 { font-size: 19px; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; margin-block: 9px 13px; }
.ao-insight p { font-size: 14px; line-height: 1.8; color: var(--ao-muted); }
.ao-insight > a { margin-top: 24px; color: var(--ao-dark-accent); font-size: 13px; }
.ao-history-heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-block: 45px 26px; }
.ao-history-heading h3 { font-size: 16px; font-weight: 500; letter-spacing: -.025em; }
.ao-history-heading p { font-size: 13px; color: var(--ao-muted); }
.ao-history-scroll { overflow-x: auto; scrollbar-width: thin; }
.ao-history { display: flex; gap: 22px; min-width: 720px; padding: 7px 3px; }
.ao-history-year { display: flex; flex-direction: column; align-items: center; gap: 9px; flex: 1; min-width: 0; font-size: 13px; color: var(--ao-muted); }
.ao-history-value { font-size: 13px; }
.ao-history-track { display: flex; align-items: end; height: 90px; width: 100%; max-width: 39px; background: #d7e2e44d; border-bottom: 1px solid #a6bbc5; }
.ao-history-track > i { display: block; width: 100%; height: var(--bar); min-height: 1px; background: #93b4c3; border-radius: 2px 2px 0 0; transition: background .2s; }
.ao-history-year.is-selected { color: var(--ao-dark-accent); font-weight: 600; }
.ao-history-year.is-selected i, .ao-history-year:hover i { background: var(--ao-dark-accent); }
.ao-history-year.is-unavailable .ao-history-track { background: repeating-linear-gradient(135deg, transparent, transparent 5px, #d7e2e440 5px, #d7e2e440 6px); }
.ao-chart-note { font-size: 13px; line-height: 1.8; color: var(--ao-muted); margin-top: 17px !important; }
.ao-profile-layout, .ao-territory-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr); gap: 8%; margin-top: 33px; }
.ao-type-head, .ao-type-row { display: grid; grid-template-columns: minmax(0, 1fr) 65px 99px; gap: 24px; align-items: center; }
.ao-type-head { font-size: 12px; color: var(--ao-muted); padding-bottom: 14px; border-bottom: 1px solid var(--ao-line); }
.ao-type-head > span:not(:first-child) { text-align: right; }
.ao-type-row { padding-block: 14px; border-bottom: 1px solid #d7e2e475; color: var(--ao-ink); }
.ao-type-row > div:first-child > span { font-size: 14px; font-weight: 500; }
.ao-type-track { position: relative; height: 4px; border-radius: 3px; background: #dce7e9; margin-top: 12px; }
.ao-type-track > i { display: block; height: 100%; background: var(--ao-dark-accent); border-radius: inherit; }
.ao-type-track > b { position: absolute; top: -3px; height: 10px; width: 2px; margin-left: -1px; background: #65808e; }
.ao-type-row:hover { color: var(--ao-dark-accent); }
.ao-type-row > div:nth-child(2) { text-align: right; }
.ao-type-row strong { font-size: 17px; font-weight: 450; }
.ao-type-row small { display: block; font-size: 12px; color: var(--ao-muted); margin-top: 3px; }
.ao-type-row .ao-delta { text-align: right; font-size: 13px; }
.ao-type-row .ao-delta > small { display: inline; }
.ao-profile-insight { padding-top: 4px; }
.ao-profile-insight > .ao-eyebrow { color: var(--ao-dark-accent); }
.ao-profile-insight h3 { font-size: clamp(25px, 2.6vw, 36px); font-weight: 450; letter-spacing: -.045em; margin-block: 16px; line-height: 1.15; }
.ao-profile-insight p, .ao-regions > p { color: var(--ao-muted); font-size: 14px; line-height: 1.85; }
.ao-profile-insight h4 { font-size: 13px; font-weight: 500; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--ao-line); }
.ao-composition { display: flex; width: 100%; height: 15px; gap: 2px; margin-block: 23px 18px; }
.ao-composition i { display: block; }
.ao-composition-legend { list-style: none; margin: 0; padding: 0; }
.ao-composition-legend li { display: flex; justify-content: space-between; gap: 18px; margin-block: 13px; font-size: 13px; line-height: 1.6; color: var(--ao-muted); }
.ao-composition-legend li > span { display: flex; align-items: center; gap: 8px; }
.ao-composition-legend i { display: inline-block; width: 7px; height: 7px; flex-shrink: 0; }
.ao-composition-legend strong { font-weight: 500; color: var(--ao-ink); }
.ao .is-risk { background-color: var(--ao-dark-accent); }
.ao .is-event { background-color: #a6bbc5; }
.ao .is-both { background-color: #8a8f35; }
.ao-sort { display: flex; flex-direction: column; align-items: end; gap: 7px; color: var(--ao-muted); font-size: 12px; flex-shrink: 0; }
.ao-sort select { background-color: transparent; color: var(--ao-ink); padding: 8px 29px 8px 0; border-width: 0 0 1px; border-radius: 0; font-size: 13px; }
.ao-sort select option { background: var(--ao-paper); color: var(--ao-ink); }
.ao-rank-row { display: grid; grid-template-columns: 23px minmax(0, 1fr) 62px 46px; gap: 16px; align-items: center; padding-block: 12px; border-bottom: 1px solid #d7e2e475; color: inherit; }
.ao-rank-number { font-size: 13px; color: #718996; }
.ao-rank-name > span { font-size: 14px; font-weight: 500; }
.ao-rank-name > i { display: block; width: var(--bar); height: 3px; border-radius: 2px; margin-top: 11px; background: #2b7e9e; transition: background .2s; }
.ao-rank-total { text-align: right; }
.ao-rank-total > strong { font-size: 17px; font-weight: 450; }
.ao-rank-total > small { display: block; font-size: 12px; color: var(--ao-muted); margin-top: 3px; }
.ao-rank-delta { text-align: right; font-size: 13px; color: var(--ao-muted); }
.ao-rank-row:hover { color: var(--ao-dark-accent); }
.ao-rank-row:hover .ao-rank-name > i { background: var(--ao-dark-accent); }
.ao-regions h3 { font-size: 20px; font-weight: 500; letter-spacing: -.025em; margin-bottom: 14px; }
.ao-regions > p { margin-bottom: 23px; }
.ao-region-row { display: grid; grid-template-columns: 77px 1fr 53px; align-items: center; gap: 17px; padding-block: 10px; font-size: 13px; color: var(--ao-muted); }
.ao-region-row > i { height: 4px; background: linear-gradient(to right, #2b7e9e var(--bar), #dce7e9 var(--bar)); border-radius: 2px; }
.ao-region-row > strong { font-size: 13px; font-weight: 450; color: var(--ao-ink); text-align: right; }
.ao-region-row small { font-size: 12px; }
.ao-region-row:hover { color: var(--ao-dark-accent); }
.ao-territory-note { display: flex; gap: 15px; padding-top: 23px; border-top: 1px solid var(--ao-line); margin-top: 22px; }
.ao-territory-note > span { font-size: 26px; color: var(--ao-dark-accent); font-weight: 300; }
.ao-territory-note p { font-size: 13px; line-height: 1.8; color: var(--ao-muted); }
.ao-data-table { margin-top: 22px; }
.ao-data-table summary { width: fit-content; font-size: 13px; color: var(--ao-dark-accent); padding-block: 8px; }
.ao-data-table summary::marker, .ao-method summary::marker { font-size: 12px; }
.ao-table-scroll { overflow-x: auto; margin-top: 15px; }
.ao-table-scroll--long { max-height: 400px; overflow: auto; }
.ao table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ao table caption { text-align: left; color: var(--ao-muted); font-size: 13px; padding-bottom: 14px; }
.ao th, .ao td { padding: 10px 13px; border-bottom: 1px solid var(--ao-line); text-align: right; white-space: nowrap; }
.ao th { font-weight: 500; }
.ao th:first-child { text-align: left; padding-left: 0; }
.ao tbody th { font-weight: 400; }
.ao table a { color: var(--ao-dark-accent); text-decoration: underline; text-underline-offset: 3px; }
.ao-method { display: grid; grid-template-columns: 1fr 1.7fr; gap: 11%; padding-block: 60px; }
.ao-method .ao-eyebrow { color: var(--ao-dark-accent); margin-bottom: 15px; }
.ao-method h2 { font-size: clamp(25px, 2.5vw, 36px); font-weight: 450; letter-spacing: -.04em; line-height: 1.2; }
.ao-method .ao-text-link { margin-top: 24px; font-size: 13px; color: var(--ao-dark-accent); }
.ao-method-copy p { font-size: 14px; line-height: 1.9; color: var(--ao-muted); margin-bottom: 16px; }
.ao-method-copy strong { font-weight: 500; color: var(--ao-ink); }
.ao-method summary { font-size: 13px; padding-block: 9px; }
.ao-quality { margin: 12px 0 24px; }
.ao-quality > div { display: flex; justify-content: space-between; align-items: baseline; gap: 23px; padding-block: 11px; border-bottom: 1px solid var(--ao-line); font-size: 13px; line-height: 1.7; }
.ao-quality dt { color: var(--ao-muted); }
.ao-quality dd { margin: 0; text-align: right; white-space: nowrap; }
.ao-empty { padding-block: 60px; border-bottom: 1px solid var(--ao-line); }
.ao-empty .ao-eyebrow { color: var(--ao-dark-accent); margin-bottom: 18px; }
.ao-empty h3 { font-size: 26px; font-weight: 450; letter-spacing: -.03em; }
.ao-empty p { font-size: 13px; color: var(--ao-muted); margin-top: 14px; }
.ao-empty a { margin-top: 24px; color: var(--ao-dark-accent); }
.ao-empty-inline { padding-block: 25px; font-size: 13px; color: var(--ao-muted); }
.ao-rain { position: relative; }
.ao-rain-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(260px, 1fr); gap: 8%; margin-top: 36px; }
.ao-scatter { display: block; width: 100%; height: auto; overflow: visible; }
.ao-scatter-grid { stroke: #d7e2e4; stroke-width: 1; }
.ao-scatter-tick { fill: var(--ao-muted); font-size: 14px; font-family: inherit; }
.ao-scatter-point { outline: none !important; cursor: pointer; }
.ao .ao-scatter-point .ao-scatter-hit { fill: transparent; stroke: none; pointer-events: all; }
.ao-scatter-point circle { fill: var(--ao-accent); fill-opacity: .8; stroke: var(--ao-dark-accent); stroke-width: 1.5; transition: fill .2s; }
.ao-scatter-point:hover circle, .ao-scatter-point:focus-visible circle { fill: var(--ao-dark-accent); fill-opacity: 1; stroke-width: 4; }
.ao-scatter-label { fill: var(--ao-dark-accent); font-family: inherit; font-size: 14px; font-weight: 500; }
.ao-rain-axis { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; color: var(--ao-muted); }
.ao-rain-insight { border-left: 1px solid var(--ao-line); padding-left: 32px; }
.ao-rain-insight > .ao-eyebrow { color: var(--ao-dark-accent); }
.ao-rain-ratio { display: block; color: var(--ao-dark-accent); font-size: clamp(70px, 6.4vw, 96px); line-height: 1.25; letter-spacing: -.07em; font-weight: 400; margin-block: 12px 2px; }
.ao-rain-ratio > small { font-size: .52em; font-weight: 300; margin-left: 4px; }
.ao-rain-insight h3 { font-size: 20px; font-weight: 450; line-height: 1.35; letter-spacing: -.03em; margin-top: 14px; }
.ao-rain-insight > p { font-size: 13px; line-height: 1.7; color: var(--ao-muted); margin-top: 12px; }
.ao-rain-averages { margin-top: 26px; }
.ao-rain-averages > div { display: grid; grid-template-columns: 87px 1fr 42px; gap: 12px; align-items: center; padding-block: 10px; font-size: 13px; }
.ao-rain-averages > div small { display: block; font-size: 12px; color: var(--ao-muted); margin-top: 4px; }
.ao-rain-averages > div > i { height: 7px; width: var(--bar); background: var(--ao-dark-accent); border-radius: 2px; }
.ao-rain-averages > div:nth-child(2) > i { background: #a6bbc5; }
.ao-rain-averages strong { text-align: right; font-weight: 500; }
.ao-rain-averages > small { display: block; margin-top: 10px; font-size: 12px; color: var(--ao-muted); }
.ao-rain-correlation { display: flex; align-items: center; gap: 12px; padding-top: 20px; margin-top: 22px; border-top: 1px solid var(--ao-line); font-size: 13px; color: var(--ao-muted); }
.ao-rain-correlation strong { color: var(--ao-ink); font-size: 17px; font-weight: 450; margin-left: 18px; }
.ao-rain-empty { padding-block: 32px 5px; }
.ao-rain-empty h3 { font-size: 19px; font-weight: 450; }
.ao-rain-empty p { color: var(--ao-muted); font-size: 14px; line-height: 1.8; margin-block: 13px 18px; }
.ao-sr-only, .ao-live:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ao-live:not(:empty) { position: fixed; z-index: 90; bottom: 22px; left: 50%; transform: translateX(-50%); background: #0a2f42; color: #fff; border: 1px solid #7c9095; border-radius: 999px; padding: 13px 23px; font-size: 14px; text-align: center; max-width: calc(100vw - 32px); box-shadow: 0 6px 25px #091f2a20; }
@media (min-width: 1700px) { .ao-hero { padding-top: calc(var(--rail-h) + 104px); } .ao-hero-grid { padding-bottom: 78px; } }
@media (max-width: 1100px) {
  .ao-filter-grid { grid-template-columns: 1fr 1fr 1.5fr; gap: 20px 16px; }
  .ao-filter-grid > .ao-field:last-child { grid-column: span 2; }
  .ao-hero-grid { gap: 7%; }
  .ao-chart-layout { gap: 4%; grid-template-columns: minmax(0, 2.5fr) minmax(210px, 1fr); }
  .ao-month-columns { gap: 8px; }
  .ao-profile-layout, .ao-territory-layout { gap: 5%; }
  .ao-type-head, .ao-type-row { gap: 13px; grid-template-columns: minmax(0, 1fr) 43px 89px; }
  .ao-chart-foot { flex-direction: column; gap: 6px; }
}
@media (max-width: 800px) {
  .ao-hero { padding-top: calc(var(--rail-h) + 75px); }
  .ao-hero-grid { grid-template-columns: 1fr 1fr; gap: 8%; padding-block: 25px 42px; }
  .ao-intro h1 { font-size: clamp(34px, 5.5vw, 44px); }
  .ao-intro > p { font-size: 14px; }
  .ao-desktop-break { display: none; }
  .ao-pulse-value { gap: 13px; flex-wrap: wrap; margin-bottom: 18px; }
  .ao-pulse-value > strong { font-size: 70px; }
  .ao-pulse-value > span { font-size: 13px; }
  .ao-pulse-foot { flex-direction: column; align-items: start; gap: 9px; }
  .ao-chart-layout, .ao-profile-layout, .ao-territory-layout, .ao-rain-layout { grid-template-columns: 1fr; gap: 32px; }
  .ao-rain-insight { padding: 25px 0 0; border-left: none; border-top: 1px solid var(--ao-line); }
  .ao-rain-averages { max-width: 390px; }
  .ao-insight { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--ao-line); }
  .ao-insight > strong { display: inline-block; margin-right: 26px; }
  .ao-insight h3 { display: inline-block; vertical-align: middle; }
  .ao-insight h3 br { display: none; }
  .ao-insight p { max-width: 590px; }
  .ao-profile-insight { border-top: 1px solid var(--ao-line); padding-top: 28px; }
  .ao-metrics { gap: 20px; }
  .ao-metrics > div { padding-left: 20px; }
  .ao-metrics > div > span { font-size: 13px; }
  .ao-metrics strong { font-size: 37px; }
  .ao-filter-actions { gap: 15px; }
  .ao-filter-bottom { gap: 16px; }
  .ao-territory-filter { width: 50%; }
  .ao-territory-fields { grid-template-columns: 1fr; }
  .ao-method { gap: 7%; grid-template-columns: 1fr 1.5fr; }
}
@media (max-width: 580px) {
  .ao-hero { padding-top: calc(var(--rail-h) + 70px); }
  .ao-hero-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 25px 32px; }
  .ao-intro h1 { font-size: 46px; }
  .ao-intro > .ao-eyebrow { margin-bottom: 18px; font-size: 12px; }
  .ao-intro > p { font-size: 13px; margin-block: 20px 17px; }
  .ao-pulse { border-top: 1px solid #acc5c82e; padding-top: 25px; }
  .ao-pulse-value { margin-block: 5px 13px; }
  .ao-pulse-value > strong { font-size: 84px; }
  .ao-pulse-value > span { font-size: 13px; }
  .ao-spark { height: 78px; gap: 13px; }
  .ao-spark-column { height: 60px; }
  .ao-spark-column > small { font-size: 12px; }
  .ao-pulse-foot { flex-direction: row; align-items: center; font-size: 12px; margin-top: 24px; }
  .ao-filter-heading { align-items: start; flex-direction: column; gap: 6px; }
  .ao-filter-grid { grid-template-columns: 1fr 1fr; }
  .ao-filter-grid > .ao-period, .ao-filter-grid > .ao-field:nth-child(4) { grid-column: span 2; }
  .ao-period > div { grid-template-columns: 1fr 15px 1fr; }
  .ao-filter-bottom { flex-direction: column; gap: 22px; }
  .ao-territory-filter { width: 100%; }
  .ao-territory-fields { grid-template-columns: 1fr; }
  .ao-filter-actions { width: 100%; justify-content: space-between; }
  .ao-button { padding-inline: 19px; gap: 26px; }
  .ao-context { padding-top: 36px; align-items: start; flex-direction: column; gap: 21px; }
  .ao-context-actions { gap: 29px; }
  .ao-scope { margin-top: 21px; gap: 6px 10px; }
  .ao-scope > strong { width: 100%; }
  .ao-metrics { grid-template-columns: 1fr; gap: 20px; padding-block: 26px; margin-top: 22px; }
  .ao-metrics > div { border: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px 22px; }
  .ao-metrics strong { grid-column: 2; grid-row: 1 / span 2; font-size: 35px; }
  .ao-metrics > div > span { font-size: 13px; }
  .ao-metrics p { font-size: 12px; }
  .ao-section { padding-block: 43px; }
  .ao-section-heading { flex-wrap: wrap; gap: 22px; }
  .ao-section h2 { font-size: 28px; }
  .ao-section-heading .ao-eyebrow { font-size: 12px; }
  .ao-legend { font-size: 13px; }
  .ao-chart-layout { margin-top: 26px; }
  .ao-chart-toolbar { flex-direction: column; gap: 7px; margin-bottom: 23px; }
  .ao-month-chart { height: 205px; padding-left: 26px; }
  .ao-month-columns { gap: 5px; }
  .ao-month-bars { gap: 2px; }
  .ao-month-label { font-size: 12px; }
  .ao-chart-scale { font-size: 12px; }
  .ao-scatter-tick { font-size: 19px; }
  .ao-scatter-label { font-size: 19px; }
  .ao-scatter .ao-scatter-tick { font-size: 28px; }
  .ao-scatter .ao-scatter-label { font-size: 24px; }
  .ao-rain-axis { font-size: 12px; }
  .ao-chart-tip { padding: 7px 9px; font-size: 12px; }
  .ao-month:nth-child(-n+2) .ao-chart-tip { left: 0; transform: none; }
  .ao-month:nth-last-child(-n+2) .ao-chart-tip { left: auto; right: 0; transform: none; }
  .ao-insight > strong { font-size: 42px; }
  .ao-insight h3 { font-size: 18px; }
  .ao-history-heading { flex-direction: column; gap: 9px; }
  .ao-history { min-width: 690px; }
  .ao-history-heading h3 { font-size: 15px; }
  .ao-type-head, .ao-type-row { grid-template-columns: minmax(0, 1fr) 42px 78px; gap: 12px; }
  .ao-type-head { font-size: 12px; }
  .ao-type-row > div:first-child > span { font-size: 13px; }
  .ao-type-row .ao-delta { font-size: 14px; }
  .ao-sort { align-items: start; }
  .ao-rank-row { grid-template-columns: 18px minmax(0, 1fr) 44px 38px; gap: 11px; }
  .ao-rank-name > span { font-size: 13px; }
  .ao-method { grid-template-columns: 1fr; gap: 30px; padding-block: 43px; }
  .ao-method h2 br { display: none; }
  .ao-method h2 { max-width: 270px; }
  .ao-quality > div { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .ao *, .ao *::before, .ao *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Leitura histórica e mapas nativos. Hero compacta, filtros automáticos. */
.ao-hero { padding: calc(var(--rail-h) + 76px) 0 24px; }
.ao-hero-grid { grid-template-columns: 1fr auto; gap: 40px; padding-block: 10px 29px; }
.ao-intro h1 { font-size: clamp(34px, 3.3vw, 48px); letter-spacing: -.045em; max-width: 760px; }
.ao-intro h1 em { color: var(--palette-aguas-7); }
.ao-intro > p { font-size: 13px; margin-block: 17px 0; }
.ao-hero-total { display: flex; align-items: center; gap: 19px; }
.ao-hero-total strong { color: var(--palette-aguas-7); font-size: clamp(40px, 4.2vw, 61px); line-height: 1; font-weight: 400; letter-spacing: -.06em; }
.ao-hero-total span { color: #acc5c8; font-size: 13px; line-height: 1.7; }
/* As colunas dos filtros, repetidas no rodapé: o período alinha com contexto e tipologia. */
.ao-filters { --ao-colunas: .82fr 1fr .9fr 1.3fr; }
.ao-filter-grid { grid-template-columns: var(--ao-colunas); gap: 18px; }
.ao-filter-grid > .ao-field:last-child { grid-column: auto; }
.ao-filter-actions { justify-content: end; margin-top: 17px; }
.ao.is-enhanced .ao-nojs-submit { display: none; }
.ao-filters { padding-top: 21px; }
.ao-territory-filter { margin-top: 7px; width: 270px; }
.ao-territory-filter summary { padding: 11px 0 0; font-size: 13px; gap: 15px; }
.ao-territory-filter > label { margin-top: 15px; }
.ao-context p { font-size: 13px; line-height: 1.6; color: var(--ao-muted); }
.ao-period-label { color: var(--ao-muted); font-size: 13px; }
.ao-history--full { width: max-content; min-width: 100%; padding-top: 29px; gap: 12px; }
.ao-history--full .ao-history-track { height: 175px; max-width: 45px; }
.ao-history--full .ao-history-value { font-size: 14px; margin-bottom: 5px; }
.ao-history--full .ao-history-year { min-width: 40px; font-size: 13px; }
.ao-history--full .ao-history-track > i { background: #9ebbc8; }
.ao-history--full .ao-history-year.is-selected .ao-history-track > i { background: var(--ao-dark-accent); }
.ao-seasonality { display: grid; grid-template-columns: 1fr 2.6fr; gap: 8%; margin-top: 37px; padding-top: 30px; border-top: 1px solid var(--ao-line); align-items: center; }
.ao-seasonality h3 { font-weight: 500; font-size: 18px; letter-spacing: -.025em; }
.ao-seasonality p { margin-top: 12px; color: var(--ao-muted); font-size: 13px; line-height: 1.7; }
.ao-season-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 19px; height: 105px; }
.ao-season-month { display: flex; position: relative; align-items: end; justify-content: center; height: 80px; border-bottom: 1px solid var(--ao-line); }
.ao-season-month > i { width: 75%; max-width: 28px; height: var(--bar); background: #4a91ad; border-radius: 2px 2px 0 0; }
.ao-season-month > small { position: absolute; top: calc(100% + 11px); font-size: 13px; color: var(--ao-muted); }
.ao-season-month:hover .ao-chart-tip, .ao-season-month:focus-visible .ao-chart-tip { opacity: 1; }
.ao-season-month:nth-child(-n+2) .ao-chart-tip { left: 0; transform: none; }
.ao-season-month:nth-last-child(-n+2) .ao-chart-tip { left: auto; right: 0; transform: none; }
.ao-spatial { padding-bottom: 47px; }
.ao-map-modes { display: flex; align-items: center; border: 1px solid #afc5cd; padding: 3px; border-radius: 999px; flex-shrink: 0; }
.ao-map-modes button { color: var(--ao-muted); background: none; border: 0; border-radius: inherit; padding: 8px 17px; font: inherit; font-size: 13px; }
.ao-map-modes button[aria-pressed="true"] { background: var(--ao-dark-accent); color: #fff; }
.ao-map figcaption { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 10px; }
.ao-map figcaption > div:first-child { display: flex; align-items: baseline; gap: 8px; font-size: 13px; line-height: 1.7; color: var(--ao-muted); }
.ao-map figcaption strong { font-size: 20px; font-weight: 450; color: var(--ao-dark-accent); }
.ao-map-stage { position: relative; overflow: hidden; }
.ao-heat-map { display: block; width: 100%; height: auto; max-height: 640px; padding: 12px; }
.ao-city-base { fill: #e1eaec; }
.ao-city-outline { fill: none; stroke: #4a6573; stroke-width: 1.4px; vector-effect: non-scaling-stroke; pointer-events: none; }
.ao-map-district > path:not(.ao-district-fill) { fill: #146580; fill-opacity: 0; stroke: #5e7380; stroke-opacity: .28; stroke-width: .65px; vector-effect: non-scaling-stroke; cursor: pointer; }
.ao-map-district:hover > path:not(.ao-district-fill), .ao-map-district:focus-visible > path:not(.ao-district-fill), .ao-map-district.is-selected > path:not(.ao-district-fill) { stroke: #0a2f42; stroke-opacity: .9; stroke-width: 1.5px; fill-opacity: .08; }
.ao-map-district .ao-district-fill { display: none; stroke: none; fill-opacity: .94; }
/* No calor, os bairros não respondem ao ponteiro. */
.ao-spatial:not(.is-district-mode) .ao-map-district { pointer-events: none; }
.ao-spatial.is-district-mode .ao-map-district .ao-district-fill { display: block; }
.ao-spatial.is-district-mode .ao-density-layer { display: none; }
/* O Chrome contorna o link SVG focado pelo clique com a caixa do bairro; o
   foco do teclado já aparece no traço do próprio bairro. */
.ao-map-district:focus, .ao-map-district:focus-visible { outline: none !important; }
.ao-map-selection { pointer-events: none; }
.ao-territory-outline { fill: none; stroke: #0a2f42; stroke-opacity: 1; stroke-width: 1.75px; vector-effect: non-scaling-stroke; }
.ao-map-readout { font-size: 13px; line-height: 1.7; min-height: 37px; padding-top: 12px; color: var(--ao-ink); }
.ao-map-foot { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--ao-line); padding-top: 10px; font-size: 12px; color: var(--ao-muted); line-height: 1.7; }
.ao-map-legend { display: flex; justify-content: start; align-items: center; gap: 12px; margin-top: 25px; font-size: 13px; color: var(--ao-muted); }
.ao-map-legend > i { display: block; width: 135px; height: 6px; border-radius: 5px; background: linear-gradient(90deg, #2fa8c9, #1b9a8a, #d6ea4e, #ffa400, #b23b2e); }
.ao-map-measure { font-size: 12px; line-height: 1.7; color: var(--ao-muted); margin-top: 11px !important; }
.ao-spatial.is-district-mode .ao-map-legend > i { background: linear-gradient(90deg, #ffdd50, #ffbe30, #ff991f, #ee6326, #d7382f); }
.ao-spatial.is-district-mode .ao-map-foot { visibility: hidden; }
.ao:not(.is-enhanced) .ao-map-modes, .ao:not(.is-enhanced) .ao-year-control { display: none; }
.ao-map-empty { position: absolute; left: 50%; top: 50%; width: 75%; transform: translate(-50%, -50%); text-align: center; color: var(--ao-muted); font-size: 14px; pointer-events: none; }
.ao-mixed-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 27px; margin-block: 24px 27px; font-size: 13px; color: var(--ao-muted); }
.ao-mixed-legend > span { display: flex; gap: 9px; align-items: center; }
.ao-mixed-legend i { display: inline-block; width: 16px; height: 3px; background: #146580; }
.ao-mixed-legend .ao-legend-rain { width: 8px; height: 10px; background: #98c5d8; }
.ao-mixed-axis-labels { display: flex; justify-content: space-between; font-size: 13px; color: var(--ao-muted); margin-bottom: 15px; }
.ao-mixed-scroll { overflow-x: auto; scrollbar-width: thin; }
.ao-mixed-svg { display: block; width: 100%; min-width: 1060px; height: 320px; max-width: none; }
.ao-rain-bar { fill: #98c5d8; fill-opacity: .8; }
.ao-calls-line { stroke: #146580; stroke-width: 2; fill: none; stroke-linejoin: round; pointer-events: none; }
.ao-year-divider { stroke: #d7e2e4; stroke-dasharray: 3 5; stroke-width: .5; }
.ao-mixed-hit { fill: transparent; pointer-events: all; cursor: crosshair; }
.ao-mixed-cursor { stroke: #0a2f42; stroke-width: 1; opacity: 0; pointer-events: none; }
.ao-mixed-month:hover .ao-mixed-cursor, .ao-mixed-month:focus-visible .ao-mixed-cursor { opacity: .6; }
.ao-mixed-month:focus-visible { outline: none !important; }
.ao-mixed-readout { padding-top: 16px; margin-top: 6px; border-top: 1px solid var(--ao-line); min-height: 37px; font-size: 13px; color: var(--ao-dark-accent); line-height: 1.7; }
.ao-recent { padding-bottom: 47px; }
.ao-recent-months { max-width: 1000px; }
.ao-recent-months .ao-history-heading { margin-block: 30px; }
.ao-recent-months .ao-month-chart { height: 220px; }
.ao-recent .ao-metrics { margin-top: 20px; border-bottom: none; padding-bottom: 0; }
.ao-type-row:hover .ao-type-track > i { background: #2fa8c9; }
.ao-method { padding-block: 45px; }
@media (min-width: 1700px) { .ao-hero { padding-top: calc(var(--rail-h) + 84px); } .ao-hero-grid { padding-bottom: 29px; } }
@media (max-width: 1100px) {
  .ao-filters { --ao-colunas: .9fr 1fr .9fr 1.2fr; }
  .ao-filter-grid > .ao-field:last-child { grid-column: auto; }
  .ao-hero-total { gap: 12px; }
  .ao-hero-total strong { font-size: 45px; }
  .ao-history--full { gap: 12px; }
  .ao-heat-map { padding: 8px; }
}
@media (max-width: 800px) {
  .ao-hero { padding-top: calc(var(--rail-h) + 70px); }
  .ao-hero-grid { grid-template-columns: 1fr auto; padding-block: 10px 25px; gap: 25px; }
  .ao-intro h1 { font-size: 35px; max-width: 370px; }
  .ao-hero-total { flex-direction: column; align-items: end; gap: 9px; }
  .ao-hero-total span { text-align: right; font-size: 12px; }
  .ao-hero-total strong { font-size: 39px; }
  .ao-filter-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
  .ao-filter-actions { padding: 0; }
  .ao-multi-field:nth-child(2) .ao-multi-panel { left: auto; right: 0; }
  .ao-territory-filter { width: 230px; }
  .ao-seasonality { grid-template-columns: 1fr; gap: 26px; }
  .ao-season-bars { gap: 18px; }
  .ao-map figcaption strong { font-size: 17px; }
  .ao-map-foot { flex-direction: column; gap: 4px; }
  .ao-heat-map { padding: 28px 4px 4px; }
}
@media (max-width: 580px) {
  .ao-hero { padding-top: calc(var(--rail-h) + 62px); }
  .ao-hero-grid { grid-template-columns: 1fr; gap: 19px; padding-block: 10px 20px; }
  .ao-intro h1 { font-size: 34px; line-height: 1.08; max-width: 330px; }
  .ao-intro > p { margin-block: 12px 0; font-size: 14px; }
  .ao-hero-total { flex-direction: row; justify-content: start; align-items: center; gap: 15px; }
  .ao-hero-total strong { font-size: 34px; }
  .ao-hero-total span { text-align: left; }
  .ao-filter-grid { grid-template-columns: 1fr 1fr; gap: 15px 12px; }
  .ao-filter-grid > .ao-field:nth-child(3) { grid-column: auto; }
  .ao-filter-grid > .ao-field:nth-child(4) { grid-column: auto; }
  .ao-filter-actions { justify-content: start; gap: 20px; }
  .ao-territory-filter { width: 100%; margin-top: 12px; }
  .ao-context { gap: 17px; }
  .ao-history--full { gap: 14px; }
  .ao-history--full .ao-history-track { height: 145px; }
  .ao-history--full .ao-history-value { font-size: 13px; }
  .ao-map-foot { flex-direction: row; gap: 15px; }
  .ao-heat-map { padding: 28px 0 0; max-height: 420px; }
  .ao-map-legend { font-size: 12px; gap: 8px; }
  .ao-map-legend > i { width: 65px; }
  .ao-map-modes button { font-size: 13px; padding: 7px 13px; }
  .ao-season-bars { gap: 10px; }
  .ao-season-month > small { font-size: 12px; }
  .ao-mixed-legend { gap: 12px 20px; font-size: 12px; }
  .ao-recent-months .ao-history-heading { flex-direction: row; gap: 20px; }
}

/* Período: dois controles sobre a escala anual, com o volume de cada ano ao fundo. */
.ao-filter-foot { display: grid; grid-template-columns: var(--ao-colunas); align-items: end; gap: 20px 18px; margin-top: 40px; }
.ao-filter-foot > .ao-range { grid-column: 1 / 3; }
.ao-filter-foot > .ao-filter-actions { grid-column: 3 / -1; justify-self: end; margin-top: 0; padding-bottom: 24px; }
.ao-range { --thumb: 20px; min-width: 0; color: #bdd0d8; font-size: 13px; letter-spacing: .015em; }
.ao-range-control { position: relative; height: 60px; touch-action: pan-y; cursor: pointer; }
.ao-range-bars, .ao-range-track, .ao-range-layer { position: absolute; left: calc(var(--thumb) / 2); right: calc(var(--thumb) / 2); }
.ao-range-bars { top: 0; height: 38px; }
.ao-range-bars > i { position: absolute; bottom: 0; width: max(3px, calc(var(--passo) * .56)); max-width: 18px; height: max(2px, var(--bar)); transform: translateX(-50%); border-radius: 2px 2px 0 0; background: #acc5c8; opacity: .2; transition: opacity .15s, background-color .15s; }
.ao-range-bars > i.is-active { background: var(--palette-aguas-7); opacity: .48; }
.ao-range-bars > i.is-hover { opacity: 1; }
.ao-range-track { top: 46px; height: 4px; border-radius: 4px; background: #acc5c830; }
.ao-range-track > i { position: absolute; top: 0; bottom: 0; border-radius: inherit; background: var(--palette-aguas-7); }
.ao-range-layer { top: 0; bottom: 0; pointer-events: none; }
.ao-range-hover { position: absolute; bottom: calc(100% + 8px); z-index: 4; }
.ao-range-hover > b { position: absolute; bottom: 0; left: 0; transform: translateX(-50%); padding: 5px 10px; border-radius: 6px; background: var(--palette-aguas-7); color: #0a2f42; font-size: 12px; font-weight: 500; line-height: 1.5; white-space: nowrap; box-shadow: 0 6px 18px #0004; }
.ao-range-hover.is-start > b { transform: translateX(calc(var(--thumb) / -2)); }
.ao-range-hover.is-end > b { transform: translateX(calc(-100% + var(--thumb) / 2)); }
.ao-range input[type="range"] { position: absolute; z-index: 2; top: 38px; left: 0; width: 100%; height: var(--thumb); margin: 0; padding: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.ao-range input[type="range"].is-near { z-index: 3; }
.orc-public .ao .ao-range input[type="range"]:focus-visible { outline: none; }
.ao-range input[type="range"]::-webkit-slider-runnable-track { height: var(--thumb); background: none; border: 0; }
.ao-range input[type="range"]::-moz-range-track { height: var(--thumb); background: none; border: 0; }
.ao-range input[type="range"]::-moz-range-progress { background: none; }
.ao-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: var(--thumb); height: var(--thumb); border: 3px solid #0d2e3f; border-radius: 50%; background: var(--palette-aguas-7); pointer-events: auto; cursor: grab; transition: box-shadow .15s, transform .15s; }
.ao-range input[type="range"]::-moz-range-thumb { box-sizing: border-box; width: var(--thumb); height: var(--thumb); border: 3px solid #0d2e3f; border-radius: 50%; background: var(--palette-aguas-7); pointer-events: auto; cursor: grab; transition: box-shadow .15s, transform .15s; }
.ao-range input[type="range"]:hover::-webkit-slider-thumb, .ao-range input[type="range"].is-near::-webkit-slider-thumb { box-shadow: 0 0 0 7px #c7f3e62b; }
.ao-range input[type="range"]:hover::-moz-range-thumb, .ao-range input[type="range"].is-near::-moz-range-thumb { box-shadow: 0 0 0 7px #c7f3e62b; }
.ao-range input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px #c7f3e640; transform: scale(1.1); cursor: grabbing; }
.ao-range input[type="range"]:active::-moz-range-thumb { box-shadow: 0 0 0 10px #c7f3e640; transform: scale(1.1); cursor: grabbing; }
.ao-range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px #0d2e3f, 0 0 0 4px var(--palette-aguas-7); }
.ao-range input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px #0d2e3f, 0 0 0 4px var(--palette-aguas-7); }
.ao-range-scale { position: relative; height: 18px; margin: 2px calc(var(--thumb) / 2) 0; }
.ao-range-scale > span { position: absolute; top: 0; transform: translateX(-50%); font-size: 12px; line-height: 1.5; color: #acc5c8; opacity: .55; transition: color .15s, opacity .15s; }
.ao-range-scale > span:first-child { transform: translateX(calc(var(--thumb) / -2)); }
.ao-range-scale > span:last-child { transform: translateX(calc(-100% + var(--thumb) / 2)); }
.ao-range-scale > span.is-active { color: #eef7f8; opacity: 1; }
.ao[aria-busy="true"] .ao-range-control { cursor: progress; }
@media (max-width: 800px) {
  .ao-filter-foot { grid-template-columns: 1fr; gap: 6px; }
  .ao-filter-foot > .ao-range { grid-column: auto; }
  .ao-filter-foot > .ao-filter-actions { grid-column: auto; justify-self: stretch; padding-bottom: 0; }
}
@media (max-width: 580px) {
  .ao-range { --thumb: 24px; }
  .ao-range-control { height: 64px; }
  .ao-range-track { top: 48px; }
}

/* Primeiro diagnóstico: o mapa do período e, ao lado, os destaques. */
.ao-overview { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(250px, 1fr); gap: 7%; align-items: start; padding-block: 30px 55px; border-bottom: 1px solid var(--ao-line); scroll-margin-top: 90px; }
.ao-highlights { margin: 0; padding-top: 44px; }
.ao-highlights > div { padding-block: 19px; border-top: 1px solid var(--ao-line); }
.ao-highlights > div:first-child { padding-top: 0; border-top: 0; }
.ao-highlights dt { font-size: 13px; line-height: 1.6; color: var(--ao-muted); }
.ao-highlights dd { margin: 5px 0 0; }
.ao-highlights dd > strong, .ao-highlights dd > a { display: block; width: fit-content; color: var(--ao-ink); font-size: 22px; font-weight: 450; line-height: 1.3; letter-spacing: -.03em; }
.ao-highlights div:first-child dd > strong { color: var(--ao-dark-accent); font-size: clamp(40px, 3.8vw, 54px); font-weight: 400; line-height: 1.2; letter-spacing: -.05em; }
.ao-highlights dd > a { color: var(--ao-dark-accent); text-decoration: underline; text-decoration-color: #14658038; text-underline-offset: 6px; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.ao-highlights dd > a:hover { text-decoration-color: currentColor; }
.ao-highlights dd > span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--ao-muted); }
@media (max-width: 800px) {
  .ao-overview { grid-template-columns: 1fr; gap: 34px; padding-bottom: 43px; }
  .ao-highlights { padding-top: 0; }
}

/* Dispersão dos meses fechados: pontos pequenos, reta e faixa de 95% em baixo contraste. */
.ao-rain-trend { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--ao-line); }
.ao-scatter-dot { fill: var(--ao-dark-accent); fill-opacity: .42; transition: fill-opacity .15s; }
.ao-scatter-dot:hover { fill-opacity: 1; }
.ao-scatter-guide { stroke: var(--ao-dark-accent); stroke-opacity: .35; stroke-width: 1; pointer-events: none; }
.ao-trend-band { fill: #146580; fill-opacity: .07; stroke: none; pointer-events: none; }
.ao-trend-line { fill: none; stroke: #146580; stroke-opacity: .38; stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.ao-trend-stats { margin: 22px 0 0; }
.ao-trend-stats > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-block: 11px; border-top: 1px solid var(--ao-line); font-size: 13px; line-height: 1.6; }
.ao-trend-stats dt { color: var(--ao-muted); }
.ao-trend-stats dd { margin: 0; color: var(--ao-ink); font-weight: 500; white-space: nowrap; }
@media (max-width: 580px) {
  .ao-rain-trend { margin-top: 40px; padding-top: 34px; }
}
