/* Home side panels (D64, D65): notification-style cards in the empty sides of the map, never over Brazil (D59). */
.hf-panel-side { position: absolute; z-index: 4; display: flex; flex-direction: column; gap: 8px; }
.hf-panel-side[hidden] { display: none; }
.hf-left { left: 24px; width: 268px; }
.hf-right { right: 24px; width: 320px; top: 76px; }
.hf-sec { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.hf-sec + .hf-sec { margin-top: 6px; }
.hf-note { margin: 0; padding: 0 4px; font-size: 11px; line-height: 1.35; color: var(--faint); }
.hf-tags { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 2px; }
.hf-tags i { font-style: normal; font-size: 9.5px; font-weight: 700; padding: 1px 6px; border-radius: 99px; background: #EEF1F4; color: #4A5763; }
.hf-tags i.off { background: #FFF4D6; color: #7A5A00; }
.hf-tags i.ok { background: #E3F4E8; color: #12803F; }
.hf-tags i.fin { background: #EAF2FB; color: #1F4E8C; }
.hf-tags.big i { font-size: 11px; padding: 2px 8px; }
.hf-amt.off { opacity: .55; }
.hf-content .hf-big.in { color: #12803F; }
.hf-offnote { background: #FFF8E6; border: 1px solid #F1DFA8; border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.hf-merged { margin-top: 10px; font-size: 13px; } .hf-merged ul { margin: 6px 0 0; padding-left: 18px; } .hf-merged li { margin: 0 0 4px; }
.hf-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 4px; }
.hf-h span { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.hf-h small { font-size: 11px; color: var(--faint); }
.hf-list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 2px; }
.hf-card { font: inherit; text-align: left; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center;
           padding: 7px 10px; border-radius: 14px; border: 1px solid rgba(227,231,236,.9); background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
           box-shadow: 0 4px 16px rgba(20,32,43,.08); transition: transform .12s, box-shadow .12s; }
.hf-card:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(20,32,43,.14); border-color: #C9D0D6; }
.hf-face { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: #EDF0F3; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--muted); }
.hf-ico { background: #FDECEA; color: #B41E25; } .hf-ico svg { width: 18px; height: 18px; }
.hf-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hf-kind { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.hf-kind.in { color: #12803F; } .hf-kind.out { color: #B41E25; }
.hf-title { font-size: 12.5px; line-height: 1.25; color: var(--ink); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hf-who { font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hf-amt { font-size: 13px; font-weight: 800; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.hf-amt small { display: block; font-size: 9.5px; font-weight: 600; color: var(--faint); }
.hf-amt.in { color: #12803F; } .hf-amt.out { color: #B41E25; }
.hf-sheet { position: fixed; inset: 0; z-index: 1100; } /* above the site header (z-index 1000) */
.hf-sheet[hidden] { display: none; }
.hf-back { position: absolute; inset: 0; background: rgba(238,242,245,.62); backdrop-filter: blur(3px); }
.hf-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(620px, calc(100% - 32px)); max-height: calc(100% - 48px); overflow: auto;
            background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; box-shadow: 0 30px 80px rgba(20,32,43,.22); }
.hf-x { position: absolute; right: 14px; top: 12px; font: inherit; border: 1px solid var(--line); background: var(--soft); border-radius: 99px; width: 32px; height: 32px; cursor: pointer; }
.hf-dh h3 { margin: 4px 40px 8px 0; font-size: 21px; letter-spacing: -.01em; }
.hf-content .hf-big { margin: 6px 0 10px; font-size: 28px; line-height: 1.15; font-weight: 800; color: #B41E25; } .hf-big small { display: block; font-size: 12px; font-weight: 600; color: var(--faint); }
.hf-content .hf-big.sm { font-size: 18px; color: var(--muted); }
.hf-content p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.hf-content blockquote { margin: 8px 0; padding: 8px 12px; border-left: 3px solid var(--line); color: var(--ink); font-size: 13.5px; background: var(--soft); border-radius: 0 8px 8px 0; }
.hf-src { font-size: 12px !important; } .hf-src a { color: var(--ink); }
.hf-people { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hf-people li { display: flex; gap: 8px; align-items: center; } .hf-people b { display: block; font-size: 13px; } .hf-people small { font-size: 11.5px; color: var(--faint); }
.hf-acts { font-size: 13px; color: var(--muted); padding-left: 18px; } .hf-acts a { color: var(--ink); }
/* Narrower than 1440 px: a strip right under the map, scandals on the left and recent decisions on the right. */
.hf-strip { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 1180px; margin: 0 auto; padding: 26px 24px 8px; }
/* D92: spending and income side by side with their sum, then the scandals in rows of cards. */
.hf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.hf-strip .hf-cols .hf-list { max-height: 560px; overflow-y: auto; }
.hf-sum { margin-top: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.hf-sum-row { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; font-size: 13px; color: var(--muted); }
.hf-sum-row b { font-size: 16px; } .hf-sum-row b.in { color: #12803F; } .hf-sum-row b.out { color: #B41E25; }
.hf-res { margin-left: auto; } .hf-res b { font-size: 20px; }
.hf-sum-h { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.hf-eq { max-width: 720px; }
.hf-line { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: baseline; padding: 5px 0; border-bottom: 1px dashed #E3E7EC; font-size: 13.5px; color: var(--muted); }
.hf-line b { font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; } .hf-line b.in { color: #12803F; } .hf-line b.out { color: #B41E25; } .hf-line b.muted { color: var(--muted); font-weight: 600; }
.hf-op { font-weight: 800; color: var(--faint); text-align: center; }
.hf-line.hf-total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 2px; padding-top: 8px; color: var(--ink); font-weight: 700; }
.hf-line.hf-total b { font-size: 20px; }
.hf-exact { font-size: 11px; font-weight: 600; color: var(--faint); margin-left: 4px; }
.hf-cake { max-width: 1180px; margin: 0 auto; padding: 8px 24px 26px; }
.hf-cake-in { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
.hf-cake-lead { margin: 6px 4px 12px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.hf-cake-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.hf-cake-grid figure { margin: 0; } .hf-cake-grid svg { width: 100%; height: auto; }
.hf-cake-grid .t1 { font: 800 22px 'Manrope', sans-serif; fill: #14202B; } .hf-cake-grid .t2 { font: 600 12px 'Manrope', sans-serif; fill: #6B7884; }
.hf-cake-legend { list-style: none; margin: 0; padding: 0; }
.hf-cake-legend li { display: grid; grid-template-columns: 14px 1fr auto 96px; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed #E3E7EC; font-size: 13.5px; color: var(--muted); }
.hf-cake-legend li i { width: 12px; height: 12px; border-radius: 3px; align-self: center; }
.hf-cake-legend li small { display: block; font-size: 11px; color: var(--faint); }
.hf-cake-legend li b { color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.hf-cake-legend li em { font-style: normal; text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hf-cake-legend li em small { font-weight: 500; }
.hf-cake-legend li.pol { background: #FFF8E6; } .hf-cake-legend li.pol span { color: var(--ink); font-weight: 700; }
.hf-cake-note { display: block; margin-top: 10px; font-size: 11px; line-height: 1.45; color: var(--faint); }
.hf-cake-grid figcaption { margin-top: 6px; font-size: 11px; line-height: 1.4; color: var(--faint); text-align: center; }
.hf-cake-grid path[data-slice] { cursor: pointer; } .hf-cake-grid path[data-slice]:hover { opacity: .82; }
.hf-slices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; }
.hf-slice { font: inherit; text-align: left; cursor: pointer; display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 2px;
  align-items: start; padding: 10px 12px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(20,32,43,.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.hf-slice:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(20,32,43,.12); border-color: #C9D0D6; }
.hf-slice i { grid-row: 1 / 3; width: 6px; height: 100%; min-height: 36px; border-radius: 4px; }
.hf-slice-t { font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.hf-slice-t small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: var(--faint); }
.hf-slice b { font-size: 13.5px; font-weight: 800; color: var(--ink); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.hf-slice em { grid-column: 2 / 4; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.hf-slice em small { font-weight: 500; color: var(--faint); margin-left: 4px; }
.hf-slice.pol { background: #FFF8E6; border-color: #F1DFA8; }
.hf-slices .hf-slice.extra { display: none; } .hf-slices.open .hf-slice.extra { display: grid; }
.hf-slice-more { grid-column: 1 / -1; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--soft); border: 1px dashed #C4CCD6; border-radius: 12px; padding: 10px; cursor: pointer; }
.hf-cake-neg { margin: 10px 4px 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.hf-content .hf-kicker { margin: 0 40px 4px 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.hf-content h3 { margin: 0 40px 4px 0; font-size: 20px; line-height: 1.25; color: var(--ink); }
.hf-content h4 { margin: 16px 0 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.hf-bars { list-style: none; margin: 0; padding: 0; }
.hf-bars li { display: grid; grid-template-columns: 74px 1fr 104px; gap: 8px; align-items: center; padding: 3px 0; font-size: 12px; color: var(--muted); }
.hf-bars li i { height: 10px; background: var(--soft); border-radius: 5px; overflow: hidden; } .hf-bars li i b { display: block; height: 100%; border-radius: 5px; }
.hf-bars li em { font-style: normal; text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hf-acts-list { list-style: none; margin: 0; padding: 0; }
.hf-acts-list li { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #E3E7EC; font-size: 13px; color: var(--ink); }
.hf-acts-list li span small { display: block; font-size: 10.5px; color: var(--faint); }
.hf-acts-list li b { white-space: nowrap; font-variant-numeric: tabular-nums; } .hf-acts-list li.rest { color: var(--muted); }
.hf-sum small { display: block; margin-top: 6px; font-size: 11px; line-height: 1.4; color: var(--faint); }
.hf-strip .hf-left .hf-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; }
.hf-cols .hf-sec + .hf-sec { margin-top: 0; }
.hf-strip .hf-left .hf-who { white-space: normal; }
.hf-strip[hidden] { display: none; }
.hf-strip .hf-panel-side { position: static; width: auto; }
.hf-strip .hf-list { overflow: visible; }
@media (max-width: 760px) {
  .hf-cake { padding: 4px 16px 18px; } .hf-cake-grid { grid-template-columns: 1fr; } .hf-cake-grid figure { max-width: 260px; margin: 0 auto; }
  .hf-cake-legend li { grid-template-columns: 14px 1fr auto; } .hf-cake-legend li em { grid-column: 2 / 4; text-align: left; }
  .hf-slices { grid-template-columns: 1fr; } .hf-bars li { grid-template-columns: 60px 1fr 92px; }
  .hf-cols { grid-template-columns: 1fr; } .hf-res { margin-left: 0; }
  .hf-strip { grid-template-columns: 1fr; padding: 20px 16px 4px; }
}
.hf-na { font-size: 11px; font-weight: 800; color: var(--faint); }
/* D110 (2026-10-07): "Por que falta dinheiro", six blocks under "Maiores escândalos", in reading order down two columns. */
.hw { max-width: 1180px; margin: 0 auto; padding: 8px 24px 18px; }
.hw[hidden] { display: none; }
.hw-in { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px 18px; }
.hw-lead { margin: 6px 4px 4px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.hw-per { margin: 0 4px 12px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.hw-grid { columns: 2; column-gap: 14px; }
.hw-b { break-inside: avoid; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #FBFCFD; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.hw-bh { display: flex; align-items: center; gap: 10px; }
.hw-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.hw-bh h4 { margin: 0; font-size: 16px; line-height: 1.3; color: var(--ink); }
.hw-s { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.hw-big { display: flex; align-items: baseline; gap: 8px; }
.hw-big b { font-size: 34px; font-weight: 800; color: #B41E25; line-height: 1; } .hw-big span { font-size: 13px; color: var(--muted); font-weight: 600; }
.hw-stack { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--soft); }
.hw-stack i { display: block; height: 100%; }
.hw-stack .s1, .hw-dot.s1 { background: #B41E25; } .hw-stack .s2, .hw-dot.s2 { background: #E8908A; } .hw-stack .s3, .hw-dot.s3 { background: #A9B3BD; }
.hw-stack .g1, .hw-dot.g1 { background: #14202B; } .hw-stack .g2, .hw-dot.g2 { background: #5B6773; } .hw-stack .g3, .hw-dot.g3 { background: #A9B3BD; }
.hw-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.hw-eq .hf-line { font-size: 13px; } .hw-eq .hf-line b { font-size: 14px; white-space: nowrap; } .hw-eq .hf-line.hf-total b { font-size: 17px; }
.hw-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hw-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hw-stats b { font-size: 19px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.hw-stats b .hf-exact { display: block; margin: 1px 0 0; }
.hw-stats span { font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.hw-sub { margin: 4px 0 0; font-size: 12px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.hw-bars, .hw-rates { list-style: none; margin: 0; padding: 0; }
.hw-bars li, .hw-rates li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(56px, 1fr) auto; gap: 10px; align-items: center; padding: 5px 0;
  border-bottom: 1px dashed #E3E7EC; font-size: 12.5px; line-height: 1.3; color: var(--ink); }
.hw-bars li span small, .hw-rates li span small { display: block; font-size: 10.5px; color: var(--faint); line-height: 1.3; }
.hw-bars li i, .hw-rates li i { height: 9px; background: var(--soft); border-radius: 5px; overflow: hidden; }
.hw-bars li i b, .hw-rates li i b { display: block; height: 100%; border-radius: 5px; background: #14202B; }
.hw-bars li em, .hw-rates li em { font-style: normal; font-weight: 800; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hw-bars li em .hf-exact { display: block; margin: 0; }
.hw-div { display: flex; flex-direction: column; gap: 7px; }
.hw-dv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(70px, 1.2fr) auto; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink); }
.hw-dv i { height: 12px; background: var(--soft); border-radius: 6px; overflow: hidden; } .hw-dv i b { display: block; height: 100%; border-radius: 6px; }
.hw-dv.in i b { background: #12803F; } .hw-dv.out i b { background: #B41E25; }
.hw-dv em { font-style: normal; font-weight: 800; white-space: nowrap; } .hw-dv.in em { color: #12803F; } .hw-dv.out em { color: #B41E25; }
.hw-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); } .hw-note a { color: var(--ink); font-weight: 700; }
.hw-fine { margin: 0; font-size: 11px; line-height: 1.45; color: var(--faint); }
.hw-src { margin: 2px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.5; color: var(--faint); } .hw-src a { color: var(--muted); }
/* D109, D111: "O que o Brasil vende", every product from the largest to the smallest, with its own period switch. */
@media (max-width: 760px) {
  .hw { padding: 4px 16px 14px; }
  .hw-in { padding: 14px 12px 16px; }
  .hw-grid { columns: 1; }
  .hw-b { padding: 12px 12px; }
  .hw-bars li, .hw-rates li { grid-template-columns: minmax(0, 1fr) auto; } .hw-bars li i, .hw-rates li i { grid-column: 1 / -1; grid-row: 2; }
  .hw-dv { grid-template-columns: minmax(0, 1fr) auto; } .hw-dv i { grid-column: 1 / -1; grid-row: 2; }
}
