/* V20: lavoura ao entardecer, painel em perspectiva e dados de demonstração. */
.tax-stage {
  background:
    linear-gradient(90deg, #031b17c7 0%, #05241c8f 31%, #051d18a8 60%, #031710be 100%),
    url('/_home/20261027-home-pwa/assets/tax-field-sunset-v20b.png') center center / cover no-repeat;
}
.tax-stage::before { display: none; }
.tax-stage::after { background: linear-gradient(0deg, #0315108c, transparent 18%, transparent 80%, #03151065); }
.tax-showcase { perspective: 1700px; }
.tax-showcase.shell { grid-template-columns: minmax(0, .33fr) minmax(0, .67fr); gap: clamp(19px, 2vw, 34px); }
.tax-scene-copy { position: relative; z-index: 2; align-self: center; }
.tax-scene-copy h2 { text-shadow: 0 4px 22px #00150ed9; }
.tax-scene-lead { text-shadow: 0 2px 12px #00150ee6; }
.tax-scene-points li { text-shadow: 0 2px 8px #00150ed9; }
.tax-dashboard {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: min(715px, calc(100svh - 46px));
  transform: rotateY(-3.5deg) rotateZ(-.45deg);
  transform-origin: left center;
  border-color: #68d596;
  box-shadow: 0 32px 85px #00110be0, 0 0 0 1px #79ffad42, inset 0 1px #d9ffe276;
}
.tax-dashboard-top { min-height: 58px; gap: clamp(8px, .8vw, 13px); padding: 7px 13px; }
.tax-dashboard-top img { width: clamp(93px, 8.5vw, 142px); max-height: 39px; }
.tax-dashboard-top .tax-dashboard-title strong { font-size: clamp(12px, 1.08vw, 17px); }
.tax-dashboard-top .tax-dashboard-title small { font-size: clamp(7px, .56vw, 9px); }
.tax-producer { min-width: 95px; padding: 5px 7px; }
.tax-producer strong { font-size: 9px; }
.tax-top-chip { padding: 6px 7px; font-size: 8px; }
.tax-demo-badge { flex: 0 0 auto; padding: 6px 8px; border: 1px solid #ffe69c; border-radius: 4px; background: #f6d481; color: #123020; font-family: Consolas, monospace; font-size: 8px; font-weight: 900; letter-spacing: .07em; white-space: nowrap; }
.tax-tabs { min-height: 32px; padding-top: 3px; }
.tax-tabs button { padding-block: 6px; }
.tax-panel-frame { gap: clamp(5px, .8vh, 8px); margin: clamp(6px, .8vh, 9px); }
.tax-kpis > .tax-kpi { min-height: clamp(64px, 9vh, 83px); padding: 9px; }
.tax-kpis > .tax-kpi strong { font-size: clamp(15px, 1.45vw, 23px); white-space: nowrap; }
.tax-regime-grid { height: clamp(91px, 13.5vh, 112px); }
.tax-regime { padding: clamp(8px, .85vw, 12px); }
.tax-regime strong { color: #fff; font-size: clamp(15px, 1.3vw, 20px); white-space: nowrap; }
.tax-regime--without strong { color: #ffe08b; }
.tax-regime p { max-width: none; margin-top: 5px; }
.tax-regime b { color: #89ffc0; font-size: 10px; }
.tax-chart-columns { gap: 2px; }
.tax-chart-columns span { font-size: 6.5px; }
.tax-bar { max-height: calc(82% - 14px); }
.tax-monthly { flex-basis: clamp(109px, 15vh, 132px); }
.tax-monthly table { table-layout: fixed; }
.tax-monthly th,.tax-monthly td { overflow: hidden; padding-inline: 6px; text-overflow: ellipsis; }
.tax-monthly th:first-child,.tax-monthly td:first-child { width: 13%; }
.tax-monthly tbody tr:first-child td:last-child { color: #2b6142; font-size: 8px; font-weight: 700; }
.tax-dashboard-bottom > span:first-child { color: #ffe09a; }

@media (max-width: 1500px) {
  .tax-top-chip { display: none; }
}
@media (max-width: 1200px) {
  .tax-showcase.shell { grid-template-columns: minmax(0, .3fr) minmax(0, .7fr); }
  .tax-dashboard { transform: rotateY(-1.6deg) rotateZ(-.25deg); }
  .tax-kpis > .tax-kpi > .tax-kpi-icon { flex-basis: 28px; height: 28px; font-size: 17px; }
  .tax-kpis > .tax-kpi strong { font-size: clamp(13px, 1.4vw, 20px); }
  .tax-regime b { display: none; }
}
@media (max-height: 700px) and (min-width: 701px) {
  .tax-dashboard { height: calc(100svh - 24px); }
  .tax-kpis > .tax-kpi { min-height: 60px; }
  .tax-regime-grid { height: 86px; }
  .tax-monthly { flex-basis: 105px; }
}
@media (max-width: 700px) {
  .tax-stage { background-position: center, 21% center; }
  .tax-showcase.shell { display: flex; }
  .tax-dashboard { width: 100%; height: min(720px, calc(100svh - 95px)); transform: none; }
  .tax-dashboard-top { min-height: 43px; padding: 5px 7px; }
  .tax-dashboard-top img { width: 63px; }
  .tax-producer { display: none; }
  .tax-demo-badge { margin-left: auto; padding: 4px 5px; font-size: 6px; }
  .tax-kpis > .tax-kpi { min-height: 54px; padding: 5px; }
  .tax-kpis > .tax-kpi strong { font-size: clamp(11px, 3.2vw, 15px); }
  .tax-kpis > .tax-kpi small { font-size: 6px; }
  .tax-regime-grid { height: 86px; }
  .tax-regime strong { font-size: clamp(10px, 2.5vw, 13px); }
  .tax-regime p { font-size: 7px; }
  .tax-chart-columns span { font-size: 5px; }
  .tax-monthly { flex-basis: 116px; }
  .tax-monthly table { table-layout: auto; }
}
