:root {
  --black: #111111;
  --black-2: #181818;
  --black-3: #262626;
  --yellow: #ffbd00;
  --yellow-soft: #ffd65b;
  --paper: #f3f2ee;
  --white: #ffffff;
  --line: #deddd8;
  --muted: #717171;
  --muted-2: #9b9b9b;
  --green: #2aa66a;
  --red: #d04b3f;
  --shadow: 0 18px 60px rgba(17, 17, 17, .08);
  --sidebar-w: clamp(240px, 22vw, 300px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-h: 0px;
}
* { box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
.app-shell {
  height: 100dvh;
  max-height: 100dvh;
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  overflow: hidden;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  background: var(--black);
  color: white;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 10;
  overflow: hidden;
}
.brand-wrap {
  padding: 0 4px 14px;
  border-bottom: 1px solid #2d2d2d;
  flex: 0 0 auto;
  position: relative;
}
.sidebar-close { display: none !important; }
.sidebar-backdrop,
.mobile-topbar,
.mobile-filters,
.mobile-result,
.mobile-tabbar,
#mapStatePicker,
#mobileSolutionsBtn,
.mobile-result-cta,
.mobile-result-head { display: none !important; }
body.layout-desktop .mobile-topbar,
body.layout-desktop .mobile-filters,
body.layout-desktop .mobile-result,
body.layout-desktop #mapStatePicker,
body.layout-desktop #mapProductPicker,
body.layout-desktop #mobileSolutionsBtn,
body.layout-desktop .mobile-result-cta,
body.layout-desktop .mobile-result-head,
body.layout-desktop .sidebar-backdrop,
body.layout-desktop .sidebar-close {
  display: none !important;
}
.desktop-map-movers:empty { display: none; }
#mapProductPicker { display: none !important; }
.brand { width: 186px; max-width: 100%; display: block; }
.product-label { display: block; color: var(--yellow); font-size: 9px; letter-spacing: .22em; font-weight: 800; margin-top: 9px; }
.nav {
  display: flex;
  gap: 6px;
  padding: 16px 0 0;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
}
.nav-item {
  appearance: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  text-align: left;
  padding: 10px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 750;
  transition: .2s ease;
}
.nav-item:hover { color: var(--black); border-color: #cfcfcf; }
.nav-item.active { color: var(--black); background: var(--yellow); border-color: transparent; }
.nav-icon { width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 0; flex: 0 0 auto; }
.nav-icon svg { width: 14px; height: 14px; stroke-width: 2.2; }
.sidebar-offers {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr 1fr 1fr;
  gap: 10px;
}
.sidebar-offers-kicker {
  display: block;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .95;
  color: var(--yellow);
  text-transform: uppercase;
  padding: 2px 2px 10px;
}
.offer-block {
  appearance: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid #2c2c2c;
  background: #171717;
  color: #f2f2f2;
  border-radius: 16px;
  padding: 18px 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: .16s ease;
  align-content: stretch;
}
.offer-block:hover {
  border-color: #454545;
  background: #1d1d1d;
  transform: translateY(-1px);
}
.offer-block-hot {
  background: var(--yellow);
  border-color: transparent;
  color: var(--black);
}
.offer-block-hot:hover {
  background: var(--yellow-soft);
  border-color: transparent;
}
.offer-block-light {
  background: #f7f6f2;
  border-color: transparent;
  color: var(--black);
}
.offer-block-light:hover {
  background: #ffffff;
  border-color: transparent;
}
.offer-block-light span { color: #5c5c5c; }
.offer-block-light em { color: var(--black); }
.offer-block strong {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
  text-transform: uppercase;
}
.offer-block span {
  font-size: 12px;
  line-height: 1.45;
  color: #a3a3a3;
  align-self: start;
}
.offer-block-hot span { color: rgba(0,0,0,.7); }
.offer-block em {
  margin-top: auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 850;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.offer-block em svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}
.offer-block-hot em { color: var(--black); }
.main {
  min-width: 0;
  min-height: 0;
  height: 100dvh;
  padding: 0 clamp(16px, 2vw, 28px) 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.topbar { min-height: 126px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.eyebrow, .section-kicker, .panel-kicker { font-size: 9px; font-weight: 850; letter-spacing: .18em; color: var(--muted); }
.topbar h1 { font-size: clamp(27px, 3vw, 40px); line-height: 1; margin: 9px 0 0; letter-spacing: -.04em; }
.top-actions { display: flex; gap: 10px; }
.ghost-btn, .primary-btn { border: 0; border-radius: 9px; padding: 12px 16px; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ghost-btn { background: white; border: 1px solid var(--line); color: var(--black); }
.ghost-btn svg, .primary-btn svg { width: 14px; height: 14px; stroke-width: 2.2; flex: 0 0 auto; }
.primary-btn { background: var(--black); color: white; }
.primary-btn:hover { background: #000; }
.notice { margin-top: 22px; display: flex; align-items: center; gap: 12px; background: #fff8df; border: 1px solid #f0d275; padding: 12px 14px; border-radius: 12px; font-size: 11px; color: #6d5a18; }
.notice-icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--black); background: var(--yellow); flex: 0 0 auto; }
.notice-icon svg { width: 15px; height: 15px; stroke-width: 2.4; }
.notice strong { color: #3c3210; margin-right: 4px; }
.notice .cta-analysis { margin-left: auto; }
.cta-analysis { border: 0; background: var(--yellow); color: var(--black); border-radius: 9px; padding: 12px 16px; font-size: 10px; font-weight: 900; white-space: nowrap; transition: .18s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.cta-analysis svg { width: 14px; height: 14px; stroke-width: 2.4; color: var(--black); flex: 0 0 auto; }
.cta-analysis:hover { background: var(--yellow-soft); transform: translateY(-1px); }
.section { display: none; padding: 12px 0 8px; animation: enter .25s ease; }
.active-section {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
@keyframes enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 25px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(24px, 2.8vw, 39px); letter-spacing: -.045em; max-width: 760px; line-height: 1.06; }
.period-chip { border: 1px solid var(--line); background: white; padding: 9px 12px; border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 750; display: inline-flex; align-items: center; gap: 7px; }
.period-chip svg { width: 13px; height: 13px; stroke-width: 2.2; }
.kpi-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 10px;
  flex: 0 0 auto;
}
.kpi {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: clamp(12px, 1.4vh, 18px) clamp(12px, 1.2vw, 18px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.025);
}
.kpi-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.kpi span, .kpi small { display: block; }
.kpi span { color: var(--muted); font-size: 10px; font-weight: 750; }
.label-with-help { display: inline-flex !important; align-items: center; gap: 6px; width: auto; }
.help-tip {
  position: relative;
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  display: inline-grid;
  place-items: center;
  opacity: .72;
  flex: 0 0 auto;
}
.help-tip:hover, .help-tip:focus-visible, .help-tip.is-open { opacity: 1; outline: none; }
.help-tip-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: min(240px, 70vw);
  padding: 10px 11px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .15s ease;
  z-index: 40;
}
.help-tip-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #111;
}
.help-tip:hover .help-tip-bubble,
.help-tip:focus-visible .help-tip-bubble,
.help-tip.is-open .help-tip-bubble {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dark-kpi .help-tip, .map-panel .help-tip, .state-detail .help-tip { color: #cfcfcf; }
.dark-kpi .help-tip:hover, .map-panel .help-tip:hover, .state-detail .help-tip:hover { color: var(--yellow); }
.product-volume .label-with-help { color: var(--muted); font-size: 9px; font-weight: 750; }
.state-metrics .label-with-help { color: inherit; }
.data-table th .label-with-help { display: inline-flex; }
.kpi-icon { width: 16px; height: 16px; stroke-width: 2.2; color: var(--muted-2); flex: 0 0 auto; }
.kpi strong { display: block; margin: 6px 0 2px; font-size: clamp(22px, 2.4vw, 36px); letter-spacing: -.055em; }
.kpi small { color: var(--muted-2); font-size: 9px; }
.dark-kpi { background: var(--black); color: white; border-color: var(--black); }
.dark-kpi span, .dark-kpi small { color: #a5a5a5; }
.dark-kpi .kpi-icon { color: var(--yellow); }
.kpi-accent { position: absolute; width: 76px; height: 76px; border: 15px solid var(--yellow); border-radius: 50%; right: -25px; bottom: -28px; }
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .72fr);
  gap: 12px;
  margin-top: 10px;
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 5px 24px rgba(0,0,0,.03);
  overflow: hidden;
  min-height: 0;
}
.panel-head { padding: 14px 16px 10px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex: 0 0 auto; }
.panel-head h3 { font-size: 18px; margin: 6px 0 0; letter-spacing: -.025em; }
.product-head { padding-bottom: 8px; }
.map-picker-head { align-items: center; gap: 18px; }
.machine-picker { position: relative; margin: 0 16px 14px; z-index: 5; }
.machine-picker-compact { margin: 0; min-width: min(260px, 100%); flex: 0 1 280px; }
.machine-picker-trigger { width: 100%; appearance: none; border: 1px solid var(--line); background: var(--paper); color: var(--black); border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; align-items: center; gap: 12px; text-align: left; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease; }
.machine-picker-trigger:hover, .machine-picker.open .machine-picker-trigger { border-color: #d4b24a; background: #fffdf4; box-shadow: 0 0 0 3px rgba(255, 189, 0, .16); }
.machine-picker-focus { margin: 0 16px 16px; }
.machine-picker-focus .machine-picker-trigger {
  min-height: 64px;
  padding: 14px 16px;
  border: 0;
  background: var(--yellow);
  color: var(--black);
  box-shadow: none;
}
.machine-picker-focus .machine-picker-trigger:hover,
.machine-picker-focus.open .machine-picker-trigger {
  border: 0;
  background: var(--yellow-soft);
  box-shadow: none;
  transform: translateY(-1px);
}
.machine-picker-focus .machine-picker-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--black);
  color: var(--yellow);
}
.machine-picker-focus .machine-picker-icon svg { width: 18px; height: 18px; }
.machine-picker-focus .machine-picker-copy small {
  color: rgba(17, 17, 17, .62);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
}
.machine-picker-focus .machine-picker-copy strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--black);
}
.machine-picker-focus .machine-picker-caret {
  width: 18px;
  height: 18px;
  color: var(--black);
}
.machine-picker-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--black); color: var(--yellow); display: grid; place-items: center; }
.machine-picker-icon svg { width: 16px; height: 16px; stroke-width: 2.2; }
.machine-picker-copy { min-width: 0; display: grid; gap: 2px; }
.machine-picker-copy small { color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.machine-picker-copy strong { font-size: 13px; font-weight: 850; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.machine-picker-caret { width: 16px; height: 16px; color: var(--muted); stroke-width: 2.2; }
.machine-picker-menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(17,17,17,.14); padding: 10px; z-index: 20; display: grid; gap: 8px; }
.machine-picker-menu[hidden] { display: none !important; }
.machine-picker-list { max-height: 280px; overflow: auto; display: grid; gap: 2px; }
.machine-picker-option { appearance: none; width: 100%; border: 0; background: transparent; color: var(--black); border-radius: 10px; padding: 11px 12px; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.machine-picker-option:hover, .machine-picker-option:focus-visible { background: #fff8df; outline: none; }
.machine-picker-option.is-active { background: #111; color: white; }
.machine-picker-option.is-active .machine-picker-option-meta { color: #bdbdbd; }
.machine-picker-option-index { color: var(--muted-2); font-size: 9px; font-weight: 800; }
.machine-picker-option.is-active .machine-picker-option-index { color: var(--yellow); }
.machine-picker-option-title { font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.machine-picker-option-title small { display: block; margin-top: 2px; font-size: 9px; font-weight: 650; color: var(--muted); }
.machine-picker-option-meta { font-size: 10px; font-weight: 750; color: var(--muted); white-space: nowrap; }
.machine-picker-empty { padding: 22px 12px; text-align: center; color: var(--muted); font-size: 11px; }
.map-panel,
.product-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}
.map-panel { background: var(--black); border-color: var(--black); color: white; }
.product-panel { overflow: auto; }
.map-panel .panel-kicker { color: var(--yellow); }
.map-head { position: relative; z-index: 2; flex: 0 0 auto; }
.map-machine-picker {
  margin: 0 16px 10px;
  z-index: 6;
  flex: 0 0 auto;
}
.map-panel .map-machine-picker .machine-picker-trigger {
  background: #1c1c1c;
  border-color: #333;
  color: white;
}
.map-panel .map-machine-picker .machine-picker-trigger:hover,
.map-panel .map-machine-picker.open .machine-picker-trigger {
  background: #252525;
  border-color: #d4b24a;
  box-shadow: 0 0 0 3px rgba(255, 189, 0, .14);
}
.map-panel .map-machine-picker .machine-picker-copy small { color: #8a8a8a; }
.map-panel .map-machine-picker .machine-picker-copy strong { color: white; }
.map-panel .map-machine-picker .machine-picker-caret { color: #bdbdbd; }
.map-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.map-clear-filter {
  border: 1px solid #3a3a3a;
  background: #1c1c1c;
  color: #f2f2f2;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: .16s ease;
}
.map-clear-filter svg { width: 12px; height: 12px; stroke-width: 2.2; color: var(--yellow); }
.map-clear-filter:hover { border-color: #555; background: #252525; }
.map-clear-filter[hidden] { display: none !important; }
.map-mode { background: #252525; padding: 3px; border-radius: 8px; display: flex; }
.mode-btn { border: 0; background: transparent; color: #8a8a8a; padding: 7px 9px; border-radius: 6px; font-size: 9px; font-weight: 800; display: inline-flex; align-items: center; gap: 5px; }
.mode-btn svg { width: 12px; height: 12px; stroke-width: 2.2; }
.mode-btn.active { color: var(--black); background: var(--yellow); }
.map-stage {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, .68fr) minmax(0, 1.15fr) 118px;
  align-items: center;
  padding: 0 8px 8px 18px;
  overflow: hidden;
  gap: 10px;
}
.brand-rail {
  position: relative;
  z-index: 3;
  align-self: stretch;
  width: 118px;
  height: 100%;
  min-height: 280px;
  max-height: 100%;
  overflow: visible;
}
.brand-rail[hidden] { display: none !important; }
.brand-rail-viewport {
  position: absolute;
  inset: 0 0 52px 0;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 90%, transparent);
}
.brand-rail.is-static .brand-rail-viewport {
  mask-image: none;
  -webkit-mask-image: none;
  overflow: auto;
}
.brand-rail-source {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  margin: 0;
  padding: 0 2px;
  color: #6e6e6e;
  font-size: 7.5px;
  line-height: 1.35;
  letter-spacing: .01em;
  max-height: 50px;
  overflow: hidden;
}
.brand-rail-tip {
  position: absolute;
  top: 4px;
  right: 8px;
  z-index: 6;
  color: #9a9a9a;
  width: auto;
  height: auto;
  border: 0;
  display: block;
  opacity: 1;
  background: transparent;
}
.brand-rail-tip-btn {
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  padding: 0;
  display: inline-grid;
  place-items: center;
  opacity: .72;
  cursor: pointer;
}
.brand-rail-tip-btn:hover,
.brand-rail-tip.is-open .brand-rail-tip-btn {
  opacity: 1;
  color: var(--yellow);
}
.brand-rail-tip .help-tip-bubble {
  left: auto;
  right: 0;
  bottom: auto;
  top: calc(100% + 8px);
  transform: none;
  width: min(220px, 68vw);
}
.brand-rail-tip .help-tip-bubble::after {
  top: auto;
  bottom: 100%;
  left: auto;
  right: 8px;
  transform: none;
  border-top-color: transparent;
  border-bottom-color: #111;
}
.brand-rail-track {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 4px;
  will-change: transform;
  animation: brand-rail-scroll 36s linear infinite;
}
.brand-rail.is-static .brand-rail-track {
  animation: none;
  will-change: auto;
  justify-content: flex-start;
  gap: 18px;
  padding: 36px 4px 8px;
  transform: none;
}
.brand-rail.is-carousel:hover .brand-rail-track,
.brand-rail.is-carousel:has(.brand-rail-tip.is-open) .brand-rail-track {
  animation-play-state: paused;
}
@keyframes brand-rail-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.brand-chip {
  display: grid;
  grid-template-rows: auto auto;
  justify-items: start;
  gap: 6px;
  width: 100%;
  min-height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}
.brand-chip .brand-name {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #ececec;
  line-height: 1.15;
  text-transform: uppercase;
}
.brand-chip .brand-pulse {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .02em;
  color: #6a6a6a;
  opacity: .9;
  transition: color .2s ease, opacity .2s ease;
}
.brand-chip .brand-pulse .arrow { font-size: 10px; opacity: .85; }
.brand-chip.up .brand-pulse { color: #6dca8b; opacity: 1; }
.brand-chip.down .brand-pulse { color: #e07a6e; opacity: 1; }
.brand-chip.flat .brand-pulse { color: #666; opacity: .55; }
.brand-saiba-mais {
  display: inline;
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--yellow);
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}
.brand-raw-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.72);
  display: grid;
  place-items: center;
  padding: 16px;
}
.brand-raw-modal[hidden] { display: none !important; }
.brand-raw-panel {
  width: min(920px, 100%);
  height: min(80vh, 720px);
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.brand-raw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #2a2a2a;
  color: #bbb;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: lowercase;
}
.brand-raw-head button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.brand-raw-body {
  margin: 0;
  flex: 1 1 auto;
  overflow: auto;
  padding: 12px;
  color: #d6d6d6;
  background: #0d0d0d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.map-stage::before { content: ""; position: absolute; width: 480px; height: 480px; border: 1px solid #252525; border-radius: 50%; right: -40px; top: 50%; transform: translateY(-50%); box-shadow: 0 0 0 48px rgba(255,255,255,.012), 0 0 0 96px rgba(255,255,255,.009); }
.map-copy { position: relative; z-index: 2; }
.map-big-number { font-size: clamp(56px, 8vw, 104px); line-height: .84; font-weight: 900; letter-spacing: -.09em; color: var(--yellow); }
.map-big-label { font-size: 11px; font-weight: 850; letter-spacing: .11em; line-height: 1.45; margin-top: 15px; }
.map-copy p { max-width: 240px; color: #8c8c8c; font-size: 10px; line-height: 1.55; }
.map-movers { margin-top: 18px; max-width: 280px; }
.map-movers[hidden] { display: none !important; }
.map-movers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.map-movers-grid[hidden] { display: none !important; }
.map-movers-kicker { display: block; font-size: 8px; font-weight: 850; letter-spacing: .14em; color: #7a7a7a; margin-bottom: 8px; }
.map-movers-list { display: grid; gap: 7px; }
.map-mover {
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline;
  padding: 0; border: 0; background: transparent; color: inherit; text-align: left; width: 100%; cursor: pointer;
}
.map-mover strong { font-size: 11px; font-weight: 750; color: #f2f2f2; line-height: 1.25; }
.map-mover span { font-size: 10px; font-weight: 850; white-space: nowrap; }
.map-mover.up span { color: #6dca8b; }
.map-mover.down span { color: #e07a6e; }
.map-mover.volume span { color: var(--yellow); }
.map-movers-empty { margin: 0; color: #7a7a7a; font-size: 10px; line-height: 1.4; }
.map-movers-empty[hidden] { display: none !important; }
.map-movers-list .map-movers-empty { display: block; }
.map-movers-cta {
  display: grid;
  gap: 10px;
  padding: 12px 0 2px;
  max-width: 280px;
}
.map-movers-cta[hidden] { display: none !important; }
.map-movers-cta p {
  margin: 0;
  color: #5c5c5c;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 650;
}
.map-movers-cta-btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: #111;
  color: #ffbd00;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  padding: 11px 14px;
  cursor: pointer;
  text-align: left;
  transition: transform .14s ease, background .14s ease;
}
.map-movers-cta-btn:hover {
  background: #000;
  transform: translateY(-1px);
}
.brazil-map { position: relative; z-index: 2; width: 100%; height: 100%; min-height: 0; max-height: none; display: grid; place-items: center; }
.brazil-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 20px rgba(0,0,0,.34)); }
.brazil-map path { fill: #343434; stroke: #111; stroke-width: 1.4px; cursor: pointer; transition: fill .18s ease, transform .18s ease, filter .18s ease; transform-box: fill-box; transform-origin: center; }
.brazil-map path:hover { fill: #5b5b5b; filter: brightness(1.15); }
.brazil-map path.selected-state { fill: var(--yellow) !important; transform: scale(1.025); }
.map-tooltip { position: fixed; pointer-events: none; opacity: 0; z-index: 50; background: white; color: var(--black); border-radius: 8px; padding: 9px 11px; font-size: 10px; box-shadow: 0 12px 35px rgba(0,0,0,.22); transform: translate(12px, 12px); }
.map-tooltip.show { opacity: 1; }
.map-legend { flex: 0 0 auto; border-top: 1px solid #292929; display: flex; align-items: center; gap: 18px; padding: 12px 20px; color: #7e7e7e; font-size: 9px; }
.legend-dot { width: 9px; height: 9px; display: inline-block; border-radius: 3px; margin-right: 6px; background: #343434; }
.legend-dot.selected { background: var(--yellow); }
.map-data-status { margin-left: auto; color: var(--yellow); text-transform: uppercase; font-weight: 800; letter-spacing: .1em; }
.map-cta { flex: 0 0 auto; margin-top: auto; border-top: 1px solid #292929; background: #161616; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.map-cta-copy strong { display: block; font-size: 12px; color: white; }
.map-cta-copy span { display: block; color: #8c8c8c; font-size: 10px; margin-top: 3px; }
.state-cta { width: 100%; margin-top: 14px; justify-content: space-between; padding: 14px 16px; font-size: 11px; }
.product-panel { display: flex; flex-direction: column; overflow: visible; }
.product-volume { padding: 8px 20px 14px; border-bottom: 1px solid var(--line); }
.product-volume span, .product-volume small { color: var(--muted); font-size: 9px; font-weight: 750; }
.product-volume strong { font-size: 48px; letter-spacing: -.07em; margin: 0 7px; }
.score-row { padding: 16px 20px 7px; display: grid; grid-template-columns: 96px 1fr; align-items: end; gap: 16px; }
.score-row span { display: block; color: var(--muted); font-size: 9px; }
.score-row strong { font-size: 22px; }
.score-bar { height: 8px; background: var(--paper); border-radius: 10px; overflow: hidden; margin-bottom: 5px; }
.score-bar i { display: block; width: 0; height: 100%; background: var(--yellow); border-radius: inherit; transition: width .4s ease; }
.product-meta-grid { padding: 10px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product-meta-grid div { background: var(--paper); border-radius: 9px; padding: 10px; }
.product-meta-grid span { display: block; color: var(--muted); font-size: 8px; margin-bottom: 4px; }
.product-meta-grid strong { font-size: 11px; }
.term-stack { padding: 9px 20px 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.term-chip { background: #fff8df; color: #725f1c; border: 1px solid #f1dc91; border-radius: 999px; padding: 6px 8px; font-size: 8px; font-weight: 700; }
.action-btn { margin: auto 20px 20px; border: 0; background: var(--black); color: white; border-radius: 9px; padding: 12px 14px; font-size: 10px; font-weight: 850; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.action-btn svg { width: 15px; height: 15px; color: var(--yellow); stroke-width: 2.4; flex: 0 0 auto; }
.insight-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; margin-top: 14px; }
.text-btn { border: 0; background: transparent; color: var(--black); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; display: inline-flex; align-items: center; gap: 4px; }
.text-btn svg { width: 14px; height: 14px; stroke-width: 2.4; color: var(--muted); }
.text-btn:hover { color: var(--black); }
.text-btn:hover svg { color: var(--black); }
.nav-list { padding: 0 12px 14px; display: grid; gap: 4px; }
.nav-list-row { appearance: none; width: 100%; border: 0; background: transparent; text-align: left; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 14px; align-items: center; gap: 10px; padding: 11px 10px; border-radius: 10px; cursor: pointer; transition: background .16s ease, transform .16s ease; color: inherit; }
.nav-list-row:hover, .nav-list-row:focus-visible { background: #fff8df; outline: none; }
.nav-list-row:active { transform: scale(.995); }
.nav-list-index { color: var(--muted-2); font-size: 9px; font-weight: 800; }
.nav-list-body { min-width: 0; display: grid; gap: 5px; }
.nav-list-title { font-size: 11px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-list-track { height: 6px; border-radius: 10px; overflow: hidden; background: var(--paper); }
.nav-list-track > i { display: block; height: 100%; background: var(--yellow); border-radius: inherit; }
.nav-list-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.nav-list-value { font-size: 11px; font-weight: 850; }
.nav-list-hint { font-size: 8px; color: var(--muted-2); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.nav-list-chevron { width: 14px; height: 14px; color: var(--muted-2); stroke-width: 2.2; }
.nav-list-row:hover .nav-list-chevron { color: var(--black); }
.list-toolbar { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: min(320px, 100%); }
.panel-toolbar { padding: 0 16px 10px; display: grid; gap: 8px; }
.panel-toolbar .list-meta { text-align: left; }
.list-meta { color: var(--muted); font-size: 10px; font-weight: 700; text-align: right; }
.empty-state { display: grid; place-items: center; gap: 6px; padding: 48px 20px; text-align: center; color: var(--muted); }
.empty-state-compact { padding: 28px 16px 32px; }
.empty-state[hidden] { display: none !important; }
.empty-state svg { width: 28px; height: 28px; stroke-width: 1.8; color: var(--muted-2); margin-bottom: 4px; }
.empty-state strong { color: var(--black); font-size: 13px; }
.empty-state span { font-size: 11px; }
.nav-list[hidden] { display: none !important; }
.empty-state-dark { color: #8c8c8c; width: 100%; }
.empty-state-dark strong { color: white; }
.empty-state-dark svg { color: #666; }
.map-detail-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 14px; }
.expanded-map-panel { min-height: 650px; overflow: visible; }
.expanded-map { height: 550px; position: relative; padding: 25px; background: radial-gradient(circle at 50% 48%, #fff 0, #f8f7f4 46%, #efeee9 100%); }
.expanded-map svg { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); }
.expanded-map path { fill: #dedcd5; stroke: white; stroke-width: 1.6px; cursor: pointer; transition: .18s ease; transform-box: fill-box; transform-origin: center; }
.expanded-map path:hover { fill: #b9b6ac; transform: translateY(-1px); }
.expanded-map path.selected-state { fill: var(--yellow) !important; transform: scale(1.018); }
.state-detail { padding: 26px; min-height: 650px; background: var(--black); color: white; border-color: var(--black); }
.state-detail .panel-kicker { color: var(--yellow); }
.state-code { font-size: 116px; line-height: .9; letter-spacing: -.09em; font-weight: 950; color: var(--yellow); margin-top: 48px; }
.state-detail h3 { font-size: 26px; margin: 15px 0 8px; }
.state-detail p { color: #969696; font-size: 11px; line-height: 1.6; }
.state-metrics { margin-top: 38px; display: grid; gap: 10px; }
.state-metrics div { border-bottom: 1px solid #303030; padding: 12px 0; display: flex; justify-content: space-between; }
.state-metrics span { color: #8b8b8b; font-size: 9px; }
.state-metrics strong { font-size: 12px; }
.state-terms { padding: 14px 0 4px; }
.state-detail .term-chip { background: #242019; color: #f0d27a; border-color: #3d3420; }
.data-requirement { background: #1d1d1d; border: 1px solid #303030; border-radius: 12px; padding: 15px; margin-top: 34px; }
.data-requirement strong, .data-requirement code, .data-requirement span { display: block; }
.data-requirement strong { font-size: 10px; color: var(--yellow); }
.data-requirement code { margin: 10px 0; color: white; font-size: 10px; }
.data-requirement span { color: #777; font-size: 9px; line-height: 1.5; }
.search-box { display: flex; align-items: center; gap: 8px; background: white; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; transition: border-color .16s ease, box-shadow .16s ease; }
.search-box:focus-within { border-color: #d4b24a; box-shadow: 0 0 0 3px rgba(255, 189, 0, .18); }
.search-box > svg { width: 15px; height: 15px; color: var(--muted); stroke-width: 2.2; flex: 0 0 auto; }
.search-box input { border: 0; outline: 0; background: transparent; font-size: 12px; min-width: 0; flex: 1; color: var(--black); }
.search-box input::placeholder { color: var(--muted-2); }
.search-box input[type="search"]::-webkit-search-decoration,
.search-box input[type="search"]::-webkit-search-cancel-button,
.search-box input[type="search"]::-webkit-search-results-button,
.search-box input[type="search"]::-webkit-search-results-decoration { -webkit-appearance: none; appearance: none; display: none; }
.search-clear { appearance: none; border: 0; background: var(--paper); color: var(--muted); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; padding: 0; flex: 0 0 auto; }
.search-clear[hidden] { display: none !important; }
.search-clear svg { width: 12px; height: 12px; stroke-width: 2.4; }
.search-clear:hover { color: var(--black); background: #ebeae5; }
.machine-table-wrap { overflow-x: auto; }
.machine-cards { display: none; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { text-align: left; padding: 14px 16px; background: #f9f8f5; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.data-table td { padding: 15px 16px; border-bottom: 1px solid #efeee9; font-size: 10px; }
.data-table tbody tr { transition: background .16s ease; cursor: pointer; }
.data-table tbody tr:hover { background: #fff9e8; }
.table-machine { font-weight: 850; }
.table-machine small { display: block; margin-top: 3px; font-size: 9px; font-weight: 650; color: var(--muted); text-transform: none; letter-spacing: 0; }
.competition-pill { display: inline-flex; border-radius: 999px; padding: 5px 7px; font-size: 8px; font-weight: 850; }
.competition-pill.high { background: #ffe8e4; color: #a83e32; }
.competition-pill.medium { background: #fff5d4; color: #896b00; }
.competition-pill.low { background: #e1f5e9; color: #287c4b; }
.table-score { font-weight: 900; }
.table-btn { border: 0; background: var(--black); color: var(--yellow); border-radius: 7px; padding: 7px 10px; font-size: 8px; font-weight: 850; display: inline-flex; align-items: center; gap: 5px; }
.table-btn svg { width: 12px; height: 12px; stroke-width: 2.4; }
.keyword-board-toolbar { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr) auto; gap: 12px; align-items: center; margin-bottom: 14px; }
.keyword-board-toolbar .machine-picker { margin: 0; }
.keyword-board-toolbar .list-meta { white-space: nowrap; }
.keyword-board { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 14px; }
.keyword-board-list, .keyword-board-map, .keyword-history, .keyword-cities { overflow: visible; }
.keyword-scroll { max-height: 480px; overflow: auto; padding-bottom: 10px; }
.keyword-scroll .nav-list-row,
.keyword-cities .nav-list-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
.keyword-board-list .empty-state { min-height: 180px; }
.keyword-mini-map { height: 360px; display: grid; place-items: center; padding: 12px 18px 4px; background: radial-gradient(circle at 50% 48%, #fff 0, #f8f7f4 46%, #efeee9 100%); }
.keyword-mini-map svg { width: 100%; height: 100%; }
.keyword-mini-map path { fill: #dedcd5; stroke: white; stroke-width: 1.5px; cursor: pointer; transition: fill .18s ease, transform .18s ease; transform-box: fill-box; transform-origin: center; }
.keyword-mini-map path:hover { filter: brightness(1.05); transform: translateY(-1px); }
.keyword-mini-map path.selected-state { stroke: var(--black); stroke-width: 2.2px; transform: scale(1.02); }
.temp-legend { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.temp-scale { width: 72px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #eceae4, #ffe08a, #ffbd00, #111111); display: block; }
.keyword-map-foot { border-top: 1px solid var(--line); padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.keyword-map-foot strong { font-size: 14px; }
.keyword-map-foot span { color: var(--muted); font-size: 11px; text-align: right; }
.keyword-history { margin-top: 14px; }
.history-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 10px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.history-chip svg { width: 13px; height: 13px; stroke-width: 2.2; }
.history-chart { position: relative; height: 240px; padding: 8px 18px 4px; }
.history-chart canvas { width: 100% !important; height: 100% !important; }
.history-foot { padding: 0 18px 16px; color: var(--muted); font-size: 11px; }
.keyword-cities { margin-top: 14px; }
.keyword-cities-head { align-items: center; }
.keyword-cities-head .machine-picker { margin: 0; min-width: min(260px, 100%); }
.overview-plan { margin-top: 28px; }
.plan-hero {
  min-height: 0;
  padding: clamp(12px, 1.6vh, 18px) clamp(14px, 1.8vw, 22px);
  border-radius: 14px;
  background: var(--yellow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.plan-hero-top { margin-bottom: 10px; align-items: center; }
.plan-hero-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; flex: 1; }
.plan-overline { font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.plan-hero h3 { font-size: clamp(22px, 3.2vw, 36px); line-height: .92; letter-spacing: -.06em; margin: 4px 0 4px; text-transform: uppercase; }
.plan-hero p { max-width: 580px; margin: 0; font-size: 11px; line-height: 1.35; }
.plan-demand { min-width: 130px; background: var(--black); color: white; border-radius: 12px; padding: 10px 14px; align-self: center; display: flex; flex-direction: column; justify-content: center; }
.plan-demand span, .plan-demand small { display: block; color: #8c8c8c; font-size: 8px; }
.plan-demand strong { display: block; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.05em; color: var(--yellow); margin: 4px 0; }
.plan-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.plan-step { min-height: 230px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 15px; position: relative; overflow: hidden; }
.plan-step-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-step-num { font-size: 42px; font-weight: 950; color: #eceae4; line-height: 1; }
.plan-step-icon { width: 34px; height: 34px; border-radius: 10px; background: #fff8df; color: #8a6d00; display: grid; place-items: center; }
.plan-step-icon svg { width: 16px; height: 16px; stroke-width: 2.2; }
.plan-step h4 { font-size: 16px; margin: 22px 0 9px; }
.plan-step p { font-size: 10px; line-height: 1.55; color: var(--muted); }
.plan-step::after { content: ""; position: absolute; width: 36px; height: 5px; background: var(--yellow); left: 20px; bottom: 20px; }
.closing-cta { margin-top: 14px; background: var(--black); color: white; border-radius: 17px; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.closing-cta-kicker { color: var(--yellow); font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.closing-cta h3 { font-size: 27px; margin: 8px 0; }
.closing-cta p { color: #8b8b8b; max-width: 650px; font-size: 10px; line-height: 1.5; margin: 0; }
.footer {
  margin-top: 8px;
  flex: 0 0 auto;
  min-height: 0;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}
#overview.active-section { padding-top: 10px; }
.brazil-map { min-height: 0; height: 100%; max-height: 100%; }
.toast { position: fixed; right: 24px; bottom: 24px; transform: translateY(20px); opacity: 0; background: var(--black); color: white; padding: 13px 16px; border-radius: 10px; font-size: 10px; font-weight: 700; box-shadow: 0 15px 45px rgba(0,0,0,.2); transition: .2s ease; z-index: 100; }
.toast.show { opacity: 1; transform: none; }
@media (max-width: 1180px) {
  .app-shell { grid-template-columns: minmax(220px, 240px) minmax(0, 1fr); }
  .sidebar { padding-inline: 12px; }
  .main { padding-inline: 16px; }
  #overview.active-section { overflow-y: auto; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; overflow: visible; flex: none; }
  .map-panel, .product-panel { height: auto; max-height: none; }
  .map-stage { min-height: 360px; }
  .brazil-map { min-height: 300px; height: 340px; }
  .plan-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-height: 860px) and (min-width: 761px) {
  .plan-hero p { display: none; }
  .kpi small { display: none; }
  .kpi { padding: 10px 12px; }
  .kpi strong { font-size: clamp(20px, 2vw, 28px); margin: 4px 0 0; }
  .map-cta-copy span { display: none; }
  .map-legend { padding: 8px 14px; }
  .product-volume strong { font-size: 36px; }
  .timeline-line-wrap { height: 100px; }
  .sidebar-offers-kicker { font-size: 22px; }
  .offer-block { padding: 12px; gap: 6px; }
  .offer-block span { font-size: 11px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 760px) {
  :root { --tabbar-h: 0px; }
  body {
    overflow: hidden;
    overscroll-behavior: none;
  }
  .app-shell {
    display: block;
    height: 100dvh;
    max-height: 100dvh;
    position: relative;
  }

  .mobile-topbar {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    z-index: 30;
    margin: 0 -14px;
    padding: calc(8px + var(--safe-top)) 14px 8px;
    background: #111;
    border-bottom: 1px solid #2a2a2a;
    color: white;
  }
  #mobileSolutionsBtn {
    display: inline-flex !important;
  }
  .mobile-topbar-logo { width: 84px; height: auto; display: block; }
  .mobile-topbar-copy { min-width: 0; flex: 1; display: grid; gap: 1px; }
  .mobile-topbar-copy strong {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -.02em;
    text-transform: uppercase;
    color: var(--yellow);
  }
  .mobile-topbar-copy span {
    color: #9b9b9b;
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-topbar-solutions {
    appearance: none;
    border: 1px solid #333;
    border-radius: 999px;
    background: #1c1c1c;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    font-size: 11px;
    font-weight: 850;
    flex: 0 0 auto;
  }
  .mobile-topbar-solutions svg { width: 14px; height: 14px; stroke-width: 2.2; color: var(--yellow); }

  .mobile-filters {
    display: grid !important;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr);
    gap: 8px;
    flex: 0 0 auto;
    padding: 10px 0 8px;
    position: relative;
    z-index: 25;
  }
  #mapStatePicker,
  #mapProductPicker {
    display: block !important;
  }
  .mobile-filters > .machine-picker {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
  }
  .mobile-filters .map-machine-picker {
    margin: 0;
    min-width: 0;
  }
  .mobile-filters .machine-picker-trigger {
    min-height: 46px;
    background: var(--yellow);
    border: 0;
    color: var(--black);
    box-shadow: none;
    overflow: hidden;
  }
  .mobile-filters .machine-picker-icon {
    background: var(--black);
    color: var(--yellow);
  }
  .mobile-filters .machine-picker-copy {
    min-width: 0;
  }
  .mobile-filters .machine-picker-copy small {
    color: rgba(17,17,17,.62);
    font-weight: 850;
  }
  .mobile-filters .machine-picker-copy strong {
    color: var(--black);
    font-size: 13px;
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-filters .machine-picker-caret { color: var(--black); }
  .mobile-filters .map-machine-picker .machine-picker-menu,
  .mobile-filter-state .machine-picker-menu {
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
  }
  .mobile-filters .map-machine-picker .machine-picker-menu {
    left: 0;
    right: auto;
    width: min(92vw, 340px);
    max-width: calc(100vw - 28px);
  }
  .mobile-filters .machine-picker-menu .search-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  .mobile-filters .machine-picker-menu .search-box input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    font-size: 16px;
  }
  .mobile-filters .map-machine-picker .machine-picker-option {
    grid-template-columns: 28px minmax(0, 1fr);
    max-width: 100%;
  }
  .mobile-filters .map-machine-picker .machine-picker-option-meta {
    display: none;
  }
  .mobile-filters .map-machine-picker .machine-picker-option-title {
    min-width: 0;
  }
  .mobile-filters .map-machine-picker .machine-picker-option-title small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-filter-state { margin: 0; min-width: 0; }
  .mobile-filter-state .machine-picker-trigger {
    min-height: 46px;
    background: white;
    border: 1px solid var(--line);
    overflow: hidden;
  }
  .mobile-filter-state.has-uf .machine-picker-trigger {
    border-color: #111;
    background: #fffdf4;
  }
  .mobile-filter-state .machine-picker-icon {
    background: var(--black);
    color: var(--yellow);
  }
  .mobile-filter-state .machine-picker-copy {
    min-width: 0;
  }
  .mobile-filter-state .machine-picker-copy small {
    color: var(--muted);
    font-weight: 850;
  }
  .mobile-filter-state .machine-picker-copy strong {
    font-size: 13px;
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-filter-state .machine-picker-menu {
    left: auto;
    right: 0;
    width: min(92vw, 320px);
    max-width: calc(100vw - 28px);
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
  }
  .mobile-filter-state .machine-picker-option {
    grid-template-columns: 28px minmax(0, 1fr);
    max-width: 100%;
  }
  .mobile-filter-state .machine-picker-option-meta {
    display: none;
  }
  .mobile-filter-state .machine-picker-option-title {
    min-width: 0;
  }

  .sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: min(86dvh, 720px);
    max-height: 86dvh;
    z-index: 50;
    padding: 16px 14px calc(18px + var(--safe-bottom));
    gap: 12px;
    overflow: auto;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -18px 50px rgba(0,0,0,.35);
    transform: translateY(110%);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
  }
  body.offers-open .sidebar {
    transform: none;
    pointer-events: auto;
  }
  .sidebar-close {
    display: grid !important;
    place-items: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #222;
    color: white;
  }
  .sidebar-close svg { width: 18px; height: 18px; }
  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    border: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  body.offers-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  .brand-wrap { padding: 0 44px 12px 2px; }
  .brand { width: 140px; }
  .product-label { font-size: 8px; margin-top: 5px; }
  .sidebar-offers {
    grid-template-rows: auto;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .sidebar-offers-kicker { font-size: 28px; padding-bottom: 4px; }
  .offer-block {
    min-height: 0;
    height: auto;
    padding: 14px;
    gap: 7px;
  }
  .offer-block strong { font-size: 16px; }
  .offer-block span { font-size: 12px; }

  .nav { display: none !important; }
  .main {
    height: 100dvh;
    max-height: 100dvh;
    padding: 0 14px calc(10px + var(--safe-bottom));
    overflow: hidden;
  }
  #overview.active-section {
    padding-top: 0;
    overflow: hidden;
    flex: 1 1 auto;
    min-height: 0;
  }
  .footer,
  .plan-hero-top,
  .kpi-grid,
  .product-panel,
  .map-head,
  .map-legend,
  .desktop-only-block,
  .desktop-map-movers { display: none !important; }

  .dashboard-grid {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    margin-top: 0;
  }
  .map-panel {
    display: flex !important;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: var(--black);
  }

  .map-stage {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    padding: 8px 10px 0;
    min-height: 0;
    flex: 1 1 52%;
    overflow: hidden;
  }
  .map-stage::before { display: none; }
  .map-copy {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 2px;
    flex: 0 0 auto;
  }
  .map-big-number { font-size: clamp(28px, 8vw, 36px); line-height: 1; }
  .map-big-label,
  .map-copy p { display: none !important; }
  .brazil-map {
    position: relative;
    min-height: 0;
    flex: 1 1 auto;
    height: auto;
    max-height: none;
  }
  .brand-rail {
    width: 100%;
    height: auto;
    min-height: 58px;
    max-height: none;
    order: 3;
    overflow: visible;
    display: grid;
    gap: 6px;
  }
  .brand-rail-viewport {
    position: relative;
    inset: auto;
    height: 58px;
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  }
  .brand-rail.is-static .brand-rail-viewport {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
  }
  .brand-rail-source {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-height: none;
    font-size: 8px;
    padding: 0 10px 2px;
  }
  .brand-rail-tip {
    top: 6px;
    left: 8px;
    right: auto;
  }
  /* Mobile: bubble fixa na tela — não corta no overflow do mapa */
  .brand-rail-tip .help-tip-bubble {
    position: fixed;
    left: 14px;
    right: 14px;
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: none;
    transform: none;
    z-index: 120;
  }
  .brand-rail-tip .help-tip-bubble::after {
    display: none;
  }
  .brand-rail-track {
    flex-direction: row;
    align-items: center;
    gap: 36px;
    padding: 8px 36px 8px 28px;
    animation-name: brand-rail-scroll-x;
    animation-duration: 32s;
  }
  .brand-rail.is-static .brand-rail-track {
    animation: none;
    gap: 20px;
    padding: 8px 12px;
    justify-content: flex-start;
    transform: none;
  }
  @keyframes brand-rail-scroll-x {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .brand-chip {
    width: auto;
    min-width: 88px;
    min-height: 0;
    gap: 4px;
  }
  .brand-chip .brand-name { font-size: 10px; }

  .mobile-result {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 40%;
    min-height: 0;
    overflow: hidden;
    background: #161616;
    border-top: 1px solid #2a2a2a;
    padding: 10px 12px calc(10px + var(--safe-bottom));
    gap: 8px;
    position: relative;
  }
  .mobile-result-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex: 0 0 auto;
  }
  .mobile-result-head .panel-kicker,
  .mobile-result-head p,
  #mobileResultHint { display: none !important; }
  .mobile-result-head h3 {
    margin: 0;
    font-size: 14px;
    letter-spacing: -.02em;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-result .map-movers {
    display: block;
    max-width: none;
    margin: 0;
    flex: 0 0 auto;
    max-height: 72px;
    overflow: auto;
  }
  .mobile-result .map-movers[hidden] { display: none !important; }
  .mobile-result .map-movers-cta p { display: none; }
  .mobile-result .map-movers-kicker { margin-bottom: 4px; }
  .mobile-result .map-mover strong { color: white; font-size: 11px; }
  .mobile-result .map-mover span { font-size: 10px; }
  .mobile-result-timeline {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .mobile-result-timeline .product-timeline {
    margin: 0;
    padding: 10px;
    border-radius: 12px;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .mobile-result-timeline .product-timeline-head {
    margin-bottom: 6px;
    flex: 0 0 auto;
  }
  .mobile-result-timeline .product-timeline-head .panel-kicker { display: none; }
  .mobile-result-timeline .product-timeline-head strong { font-size: 12px; }
  .mobile-result-timeline .timeline-note { display: none !important; }
  .mobile-result-timeline .timeline-line-wrap {
    flex: 1 1 auto;
    flex-grow: 1;
    flex-shrink: 1;
    min-height: 110px;
    max-height: 160px;
    height: 140px !important;
    position: relative;
    overflow: hidden;
    contain: layout paint;
  }
  .mobile-result-timeline .timeline-line-wrap canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
  }
  .mobile-result-cta {
    display: inline-flex !important;
    width: 100%;
    min-height: 42px;
    font-size: 11px;
    flex: 0 0 auto;
    padding: 10px 12px;
    position: relative;
    z-index: 2;
    margin-top: 0;
  }
  .mobile-topbar-copy span { display: none; }
  .mobile-filters { padding: 8px 0 6px; }
  .mobile-filters .machine-picker-trigger { min-height: 46px; }

  .machine-picker-trigger { min-height: 52px; }
  .machine-picker-option { min-height: 48px; }
  .machine-picker-menu { max-height: min(60dvh, 420px); }
  .machine-picker-list { max-height: min(48dvh, 320px); }
  .search-box input { font-size: 16px; }
  .cta-analysis { min-height: 48px; font-size: 12px; }
  .toast {
    left: 16px;
    right: 16px;
    bottom: calc(16px + var(--safe-bottom));
    font-size: 12px;
    text-align: center;
  }
}
@media (min-width: 761px) {
  .mobile-topbar,
  .mobile-filters,
  .mobile-result,
  #mapStatePicker,
  #mapProductPicker,
  #mobileSolutionsBtn,
  .mobile-result-cta,
  .mobile-result-head,
  .sidebar-backdrop,
  .sidebar-close {
    display: none !important;
  }
  .desktop-map-movers .map-movers {
    display: block;
    margin-top: 18px;
  }
}
@media print {
  .sidebar, .sidebar-offers, .top-actions, .notice, .nav, .footer, .ghost-btn, .primary-btn, .text-btn, .action-btn, .cta-analysis, .map-cta, .mobile-topbar, .mobile-filters, .mobile-result, .mobile-tabbar, .sidebar-backdrop, .sidebar-close { display: none !important; }
  .app-shell { display: block; height: auto; max-height: none; overflow: visible; }
  .main { padding: 0; height: auto; max-height: none; overflow: visible; }
  .section { display: block !important; break-before: page; padding: 25px 0; }
  #overview { break-before: auto; }
  body { background: white; overflow: visible; height: auto; }
  .panel, .kpi { box-shadow: none; break-inside: avoid; }
  .map-panel, .product-panel { display: flex !important; height: auto; max-height: none; }
}

/* ---- Linha do tempo anual (24/25/26) ---- */
.product-meta-grid-compact { grid-template-columns: 1fr 1fr; }
.product-timeline {
  margin: 4px 16px 16px;
  padding: 14px 14px 10px;
  border-radius: 12px;
  background: #111;
  color: white;
}
.product-timeline-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.product-timeline-head .panel-kicker { color: var(--yellow); display: block; margin-bottom: 4px; }
.product-timeline-head strong { font-size: 13px; letter-spacing: -.02em; }
.timeline-line-wrap { height: clamp(110px, 16vh, 150px); position: relative; flex: 0 0 auto; }
.product-timeline { flex: 0 0 auto; }
.product-timeline .timeline-note { padding: 8px 0 0; color: #8a8a8a; font-size: 9px; line-height: 1.45; max-width: 36rem; }
.product-timeline .trend-pill { padding: 5px 8px; font-size: 9px; }
.product-timeline .trend-pill.up { background: rgba(42,166,106,.18); }
.product-timeline .trend-pill.down { background: rgba(208,75,63,.18); }
.product-timeline .trend-pill.flat { background: rgba(140,140,140,.18); color: #bdbdbd; }
.timeline-trend { display: flex; align-items: center; }
.trend-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 7px 11px; font-size: 10px; font-weight: 850; }
.trend-pill svg { width: 13px; height: 13px; stroke-width: 2.4; }
.trend-pill.up { background: #e8f6ee; color: var(--green); }
.trend-pill.down { background: #fdecea; color: var(--red); }
.trend-pill.flat { background: #ececec; color: #666; }
.timeline-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 6px 20px 18px; align-items: end; }
.timeline-bar { display: grid; justify-items: center; gap: 8px; }
.timeline-bar-value { font-size: 17px; font-weight: 850; letter-spacing: -.03em; }
.timeline-bar-track { width: 100%; max-width: 130px; height: 120px; background: var(--paper); border-radius: 10px; display: flex; align-items: flex-end; overflow: hidden; }
.timeline-bar-track i { display: block; width: 100%; background: linear-gradient(180deg, var(--yellow-soft), var(--yellow)); border-radius: 10px 10px 0 0; transition: height .4s ease; }
.timeline-bar-year { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.timeline-bar-year small { color: var(--muted-2); font-weight: 700; margin-left: 4px; }
.timeline-bar-trend { min-height: 26px; }
.timeline-note { padding: 0 20px 18px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.state-timeline { margin-top: 14px; border-top: 1px solid #2b2b2b; padding-top: 14px; }
.state-timeline-title { display: block; color: var(--yellow); font-size: 8px; font-weight: 850; letter-spacing: .16em; margin-bottom: 10px; }
.state-timeline-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; }
.state-timeline .timeline-bar-value { font-size: 12px; color: white; }
.state-timeline .timeline-bar-track { height: 62px; background: #232323; border-radius: 7px; }
.state-timeline .timeline-bar-year { color: #8c8c8c; font-size: 9px; }

