:root {
  --bg: #f4f1e8;
  --panel: #ffffff;
  --ink: #1b2a2b;
  --muted: #607072;
  --line: #cfd8d6;
  --brand: #164f22;
  --brand-dark: #0f3518;
  --brand-2: #8a5a32;
  --soft: #e7efed;
  --warn: #b44728;
  --ok: #2d7650;
  --focus: #d99a3c;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  min-height: 40px;
  padding: 8px 12px;
  cursor: pointer;
}

button.secondary {
  background: #fff;
  color: var(--brand);
}

button.icon {
  width: 40px;
  padding: 0;
}

input,
select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px 8px;
}

label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-box {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(27, 42, 43, 0.12);
}

.start-box {
  width: min(560px, 100%);
}

.login-logo {
  display: block;
  width: min(260px, 80%);
  height: auto;
  margin: 0 auto 16px;
}

.login-box p {
  margin: 0 0 20px;
  color: var(--muted);
  text-align: center;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-submit {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.program-list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.program-option {
  display: grid;
  gap: 4px;
  min-height: 68px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  text-align: left;
  padding: 12px;
}

.program-option strong {
  font-size: 17px;
}

.program-option span {
  color: var(--muted);
  font-size: 13px;
}

.program-option:not(.disabled):hover {
  border-color: var(--brand);
  box-shadow: inset 4px 0 0 var(--brand);
}

.program-option.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.empty-state {
  color: var(--muted);
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
  border-radius: 6px;
}

.full-width {
  width: 100%;
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
}

.sidebar {
  background: #153b1b;
  color: #fff;
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.brand h1 {
  margin: 0;
  font-size: 23px;
}

.brand img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
}

.brand span {
  color: #dce8d4;
  font-size: 12px;
}

.program-switcher {
  display: grid;
  gap: 5px;
  margin: 10px 0 12px;
  color: #dce8d4;
  font-size: 12px;
  font-weight: 700;
}

.program-switcher select {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 6px;
  font-size: 12px;
}

.programming-switcher {
  display: grid;
  gap: 5px;
  margin-top: 2px;
  color: #dce8d4;
  font-size: 12px;
  font-weight: 700;
}

.programming-switcher select {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 6px;
  font-size: 12px;
}

.programming-switcher.active select {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.tabs {
  display: grid;
  gap: 6px;
}

.tab {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  text-align: left;
}

.tab.active {
  background: #fff;
  color: var(--brand-dark);
}

.main {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.topbar strong {
  display: block;
}

.topbar small {
  color: var(--muted);
}

.tenant-switch {
  min-width: 190px;
  font-size: 12px;
  color: var(--muted);
}

.tenant-switch select {
  margin-top: 3px;
  min-height: 32px;
}

.content {
  min-width: 0;
  padding: 16px;
  overflow: auto;
}

.grid {
  display: grid;
  gap: 12px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.metric {
  min-height: 86px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  margin-bottom: 12px;
}

.toolbar > label {
  width: min(180px, 100%);
}

.toolbar-spacer {
  flex: 1 1 auto;
}

.cloud-snapshot-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.cloud-snapshot-status-synced {
  border-color: #a8d5b1;
  background: #eaf7ed;
  color: #17672d;
}

.cloud-snapshot-status-dirty {
  border-color: #edc779;
  background: #fff7df;
  color: #7d5300;
}

.cloud-snapshot-status-none,
.cloud-snapshot-status-local,
.cloud-snapshot-status-checking {
  border-color: #cbd7d7;
  background: #f4f8f8;
  color: #405859;
}

.cloud-snapshot-status-error {
  border-color: #e7a2a2;
  background: #fff0f0;
  color: #8d2424;
}

.admin-role-note {
  line-height: 1.35;
}

.admin-role-note p {
  margin: 8px 0 0;
}

.cloud-snapshot-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 24, 25, 0.42);
}

.cloud-snapshot-panel {
  width: min(1180px, 96vw);
  max-height: 86vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(6, 31, 32, 0.24);
}

.cloud-snapshot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.cloud-snapshot-header span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.cloud-snapshot-panel .muted {
  padding: 16px;
  color: var(--muted);
}

.cloud-snapshot-scroll {
  max-height: calc(86vh - 70px);
  margin: 0;
}

.cloud-snapshot-table {
  table-layout: auto;
}

.cloud-snapshot-table th,
.cloud-snapshot-table td {
  min-width: 104px;
  vertical-align: top;
}

.cloud-snapshot-table th:nth-child(8),
.cloud-snapshot-table td:nth-child(8) {
  min-width: 180px;
}

.cloud-snapshot-table pre {
  max-width: 360px;
  max-height: 160px;
  overflow: auto;
  margin: 8px 0 0;
  padding: 8px;
  background: #f6f8f6;
  border: 1px solid var(--line);
  border-radius: 6px;
  white-space: pre-wrap;
  font-size: 12px;
}

.sheet {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  border: 1px solid var(--line);
}

.sheet th,
.sheet td {
  border: 1px solid var(--line);
  padding: 6px;
  height: 34px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.sheet th {
  background: var(--soft);
  color: #243c3d;
  font-weight: 700;
}

.insumos-price-sheet,
.insumos-contract-sheet,
.insumos-consolidado-sheet,
.insumos-bd-plan-sheet {
  min-width: 1120px;
}

.insumos-price-sheet th,
.insumos-price-sheet td,
.insumos-price-sheet input,
.insumos-contract-sheet th,
.insumos-contract-sheet td,
.insumos-contract-sheet input,
.insumos-contract-sheet select,
.insumos-consolidado-sheet th,
.insumos-consolidado-sheet td,
.insumos-bd-plan-sheet th,
.insumos-bd-plan-sheet td,
.insumos-bd-plan-sheet input,
.insumos-bd-plan-sheet select {
  text-align: center;
}

.insumos-price-sheet .text-left,
.insumos-contract-sheet .text-left,
.insumos-consolidado-sheet .text-left,
.insumos-bd-plan-sheet .text-left {
  text-align: left;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.insumos-price-sheet th:nth-child(3),
.insumos-price-sheet td:nth-child(3),
.insumos-contract-sheet th:nth-child(3),
.insumos-contract-sheet td:nth-child(3) {
  min-width: 360px;
}

.insumos-contract-sheet th:nth-child(6),
.insumos-contract-sheet td:nth-child(6) {
  min-width: 220px;
}

.insumos-consolidado-sheet {
  min-width: 2500px;
}

.insumos-consolidado-sheet th:nth-child(2),
.insumos-consolidado-sheet td:nth-child(2) {
  min-width: 320px;
}

.insumos-consolidado-sheet th:nth-child(15),
.insumos-consolidado-sheet td:nth-child(15),
.insumos-consolidado-sheet th:nth-child(21),
.insumos-consolidado-sheet td:nth-child(21) {
  min-width: 220px;
}

.insumos-consolidado-sheet .consolidado-alert-cell {
  background: #fff2b8;
  color: #4f3b00;
  font-weight: 700;
}

.insumos-summary-card {
  overflow: hidden;
}

.insumos-summary-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.insumos-summary-sheet th,
.insumos-summary-sheet td {
  text-align: center;
}

.insumos-summary-sheet .text-left {
  text-align: left;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.insumos-summary-chart-wrap {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.insumos-donut-chart {
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.insumos-donut-chart::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.insumos-chart-legend {
  display: grid;
  gap: 6px;
  font-size: 12px;
}

.insumos-chart-legend span {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 6px;
  align-items: center;
}

.insumos-chart-legend i {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}

.insumos-empty-chart {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  text-align: center;
  padding: 16px;
}

.insumos-management-card {
  overflow: hidden;
}

.insumos-management-report {
  display: grid;
  gap: 14px;
}

.insumos-management-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.insumos-management-header h2 {
  margin: 4px 0 0;
  color: var(--green);
  font-size: 18px;
}

.insumos-management-meta {
  display: grid;
  gap: 4px;
  text-align: right;
  color: var(--muted);
  font-size: 12px;
}

.insumos-management-cards {
  display: grid;
  grid-template-columns: minmax(260px, 420px);
  gap: 10px;
}

.insumos-management-cards div {
  border: 1px solid var(--line);
  background: #f4f7f5;
  padding: 10px;
  min-height: 82px;
}

.insumos-management-cards span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.insumos-management-cards strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  color: #173f2a;
  overflow: hidden;
  text-overflow: ellipsis;
}

.insumos-management-cards small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.insumos-management-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.insumos-section-title {
  caption-side: top;
  margin: 0;
  padding: 7px 8px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  border: 1px solid var(--green);
  border-bottom: 0;
  white-space: normal;
}

.insumos-management-table th,
.insumos-management-table td {
  text-align: center;
}

.insumos-management-table .text-left {
  text-align: left;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.insumos-bd-plan-sheet {
  min-width: 2200px;
}

.insumos-bd-plan-sheet th:nth-child(3),
.insumos-bd-plan-sheet td:nth-child(3),
.insumos-bd-plan-sheet th:nth-child(5),
.insumos-bd-plan-sheet td:nth-child(5) {
  min-width: 280px;
}

.insumos-bd-plan-sheet th:nth-child(4),
.insumos-bd-plan-sheet td:nth-child(4) {
  min-width: 130px;
}

.insumos-bd-plan-sheet .insumos-group-header {
  background: #d9ead3;
  font-weight: 700;
}

.insumos-bd-plan-sheet .cadence-warning-cell {
  background: #fff2b8;
}

.insumos-bd-plan-sheet .area-warning-cell {
  background: #ffd9d9;
}

.insumos-bd-plan-sheet .missing-price-cell,
.insumos-bd-plan-sheet .frete-warning-cell {
  background: #ffd9d9;
}

.inline-warning {
  background: #fff2b8;
  border: 1px solid #d7b84c;
  color: #4f3b00;
  font-weight: 700;
  margin: 8px 0;
  padding: 8px 10px;
}

.insumos-contract-sheet .contract-warning {
  background: #fff2b8;
}

.sheet th span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.sheet td.total,
.sheet th.total {
  background: #f4e6ce;
  font-weight: 700;
}

.sheet input,
.sheet select {
  min-height: 28px;
  border: 0;
  padding: 2px;
  background: transparent;
}

.downtime-sheet {
  min-width: 1120px;
}

.downtime-sheet th,
.downtime-sheet td {
  text-align: center;
}

.downtime-sheet input {
  text-align: center;
}

.rendimento-sheet th,
.rendimento-sheet td,
.rendimento-sheet input,
.rendimento-sheet select {
  text-align: center;
}

.budget-stack {
  display: grid;
  gap: 8px;
  max-width: 360px;
}

.pst-rendimento-sheet {
  min-width: 1260px;
}

.pst-equipment-sheet.week-full {
  min-width: 2160px;
}

.pst-equipment-sheet.week-short {
  min-width: 1520px;
}

.pst-equipment-sheet th,
.pst-equipment-sheet td,
.pst-equipment-sheet input,
.pst-equipment-sheet select {
  text-align: center;
}

.pst-equipment-sheet th:nth-child(1),
.pst-equipment-sheet td:nth-child(1) { width: 110px; }
.pst-equipment-sheet th:nth-child(2),
.pst-equipment-sheet td:nth-child(2) { width: 80px; }
.pst-equipment-sheet th:nth-child(3),
.pst-equipment-sheet td:nth-child(3) { width: 150px; }
.pst-equipment-sheet th:nth-child(4),
.pst-equipment-sheet td:nth-child(4) { width: 90px; }
.pst-equipment-sheet th:nth-child(5),
.pst-equipment-sheet td:nth-child(5) { width: 170px; }
.pst-equipment-sheet th:nth-child(6),
.pst-equipment-sheet td:nth-child(6) { width: 100px; }
.pst-equipment-sheet th:nth-child(7),
.pst-equipment-sheet td:nth-child(7) { width: 220px; }
.pst-equipment-sheet th:nth-child(8),
.pst-equipment-sheet td:nth-child(8) { width: 130px; }
.pst-equipment-sheet th:nth-child(9),
.pst-equipment-sheet td:nth-child(9) { width: 140px; }
.pst-equipment-sheet th:nth-child(n+10),
.pst-equipment-sheet td:nth-child(n+10) { width: 92px; }

.psplantio-programming-sheet.week-full {
  min-width: 2320px;
}

.psplantio-programming-sheet.week-short {
  min-width: 1800px;
}

.psplantio-programming-sheet {
  table-layout: auto;
  width: max-content;
}

.psplantio-programming-sheet th,
.psplantio-programming-sheet td {
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.18;
  vertical-align: middle;
}

.psplantio-programming-sheet .program-sequence-col {
  width: 76px;
  min-width: 76px;
}

.psplantio-programming-sheet .program-farm-col {
  width: 118px;
  min-width: 118px;
}

.psplantio-programming-sheet .program-field-col {
  width: 112px;
  min-width: 112px;
}

.psplantio-programming-sheet .program-area-col,
.psplantio-programming-sheet .program-seedling-col,
.psplantio-programming-sheet .program-logistics-col {
  width: 96px;
  min-width: 96px;
}

.psplantio-programming-sheet .program-variety-col {
  width: 120px;
  min-width: 120px;
}

.psplantio-programming-sheet .program-logistics-wide-col {
  width: 138px;
  min-width: 138px;
}

.psplantio-programming-sheet .program-date-col,
.psplantio-programming-sheet .production-cell {
  width: 76px;
  min-width: 76px;
  max-width: 76px;
  padding-left: 4px;
  padding-right: 4px;
  font-size: 12px;
}

.psplantio-programming-sheet .program-date-col select {
  width: 58px;
  min-width: 58px;
  padding-left: 2px;
  padding-right: 2px;
}

.psplantio-programming-sheet .program-date-col span {
  display: block;
  font-size: 11px;
}

.psv-equipment-sheet.week-full {
  min-width: 6500px;
}

.psv-equipment-sheet.week-short {
  min-width: 5900px;
}

.psv-equipment-sheet {
  table-layout: auto;
}

.psv-equipment-sheet th,
.psv-equipment-sheet td,
.psv-equipment-sheet input,
.psv-equipment-sheet select {
  text-align: center;
}

.psv-equipment-sheet th:nth-child(1),
.psv-equipment-sheet td:nth-child(1) { width: 110px; }
.psv-equipment-sheet th:nth-child(2),
.psv-equipment-sheet td:nth-child(2) { width: 80px; }
.psv-equipment-sheet th:nth-child(3),
.psv-equipment-sheet td:nth-child(3) {
  width: 180px;
  min-width: 180px;
}
.psv-equipment-sheet th:nth-child(4),
.psv-equipment-sheet td:nth-child(4) { width: 85px; }
.psv-equipment-sheet th:nth-child(5),
.psv-equipment-sheet td:nth-child(5) { width: 145px; }
.psv-equipment-sheet th:nth-child(6),
.psv-equipment-sheet td:nth-child(6) { width: 132px; }
.psv-equipment-sheet th:nth-child(7),
.psv-equipment-sheet td:nth-child(7) { width: 95px; }
.psv-equipment-sheet th:nth-child(8),
.psv-equipment-sheet td:nth-child(8) { width: 180px; }
.psv-equipment-sheet th:nth-child(9),
.psv-equipment-sheet td:nth-child(9) { width: 110px; }
.psv-equipment-sheet th:nth-child(10),
.psv-equipment-sheet td:nth-child(10) { width: 100px; }
.psv-equipment-sheet th:nth-child(11),
.psv-equipment-sheet td:nth-child(11) { width: 95px; }
.psv-equipment-sheet th:nth-child(12),
.psv-equipment-sheet td:nth-child(12) { width: 95px; }
.psv-equipment-sheet th:nth-child(13),
.psv-equipment-sheet td:nth-child(13) { width: 120px; }
.psv-equipment-sheet th:nth-child(14),
.psv-equipment-sheet td:nth-child(14) { width: 120px; }
.psv-equipment-sheet th:nth-child(n+15),
.psv-equipment-sheet td:nth-child(n+15) { width: 84px; }

.psv-equipment-sheet th {
  white-space: normal;
  line-height: 1.2;
  height: 86px;
  vertical-align: middle;
  overflow: visible;
  text-overflow: clip;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.psv-equipment-sheet .logistics-group {
  background: #e4f0df;
  color: var(--brand-dark);
  font-size: 13px;
  letter-spacing: 0;
  height: 34px;
}

.psv-equipment-sheet .logistics-header {
  width: 240px !important;
  min-width: 240px !important;
  max-width: 240px !important;
  font-size: 12px;
  height: 112px;
  padding: 8px 10px;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
  line-height: 1.22;
  overflow: visible;
  text-overflow: clip;
}

.psv-equipment-sheet .logistics-header:nth-child(4),
.psv-equipment-sheet .logistics-header:nth-child(6),
.psv-equipment-sheet .logistics-header:nth-child(7),
.psv-equipment-sheet .logistics-header:nth-child(8),
.psv-equipment-sheet .logistics-header:nth-child(9),
.psv-equipment-sheet .logistics-header:nth-child(10),
.psv-equipment-sheet .logistics-header:nth-child(11),
.psv-equipment-sheet .logistics-header:nth-child(12),
.psv-equipment-sheet .logistics-header:nth-child(13),
.psv-equipment-sheet .logistics-header:nth-child(14),
.psv-equipment-sheet .logistics-header:nth-child(15),
.psv-equipment-sheet .logistics-header:nth-child(16) {
  width: 270px !important;
  min-width: 270px !important;
  max-width: 270px !important;
}

.premissas-logistics-sheet td,
.premissas-logistics-sheet input,
.premissas-ranges-sheet td,
.premissas-ranges-sheet input,
.premissas-transport-sheet td,
.premissas-transport-sheet input,
.premissas-hidrorrol-sheet th:nth-child(n+2),
.premissas-hidrorrol-sheet td:nth-child(n+2),
.premissas-hidrorrol-sheet input,
.premissas-hidrorrol-sheet select,
.tch-sheet th,
.tch-sheet td,
.tch-sheet input {
  text-align: center;
}

.premissas-logistics-sheet th,
.premissas-hidrorrol-sheet th:first-child,
.premissas-hidrorrol-sheet td:first-child {
  text-align: left;
}

.psplantio-premissas-grid {
  align-items: start;
}

.psplantio-transport-sheet th,
.psplantio-transport-sheet td,
.psplantio-transport-sheet input,
.psplantio-transport-total-sheet th,
.psplantio-transport-total-sheet td,
.psplantio-mudancas-sheet th,
.psplantio-mudancas-sheet td,
.psplantio-mudancas-sheet input,
.psplantio-bd-plan-sheet th,
.psplantio-bd-plan-sheet td,
.psplantio-bd-plan-sheet input,
.psplantio-bd-plan-sheet select {
  text-align: center;
}

.psplantio-transport-total-sheet tfoot th {
  background: #e3e6e6;
  font-weight: 700;
}

.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: auto;
  border: 1px solid var(--brand);
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 700;
}

.workday-select {
  min-height: 24px;
  margin-bottom: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
  font-size: 11px;
}

.campanhas-sheet {
  max-width: 620px;
}

.campanhas-sheet th,
.campanhas-sheet td,
.campanhas-sheet input {
  text-align: center;
}

.campanhas-sheet th:first-child,
.campanhas-sheet td:first-child {
  text-align: left;
  width: 160px;
}

.pista-sheet.week-full {
  min-width: 2200px;
}

.pista-sheet.week-short {
  min-width: 1560px;
}

.pista-sheet th,
.pista-sheet td,
.pista-sheet input,
.pista-sheet select {
  text-align: center;
}

.pista-sheet th:nth-child(1),
.pista-sheet td:nth-child(1) { width: 110px; }
.pista-sheet th:nth-child(2),
.pista-sheet td:nth-child(2) { width: 95px; }
.pista-sheet th:nth-child(3),
.pista-sheet td:nth-child(3) { width: 180px; }
.pista-sheet th:nth-child(4),
.pista-sheet td:nth-child(4) { width: 90px; }
.pista-sheet th:nth-child(5),
.pista-sheet td:nth-child(5) { width: 100px; }
.pista-sheet th:nth-child(6),
.pista-sheet td:nth-child(6) { width: 190px; }
.pista-sheet th:nth-child(7),
.pista-sheet td:nth-child(7) { width: 140px; }
.pista-sheet th:nth-child(8),
.pista-sheet td:nth-child(8) { width: 110px; }
.pista-sheet th:nth-child(9),
.pista-sheet td:nth-child(9) { width: 150px; }
.pista-sheet th:nth-child(n+10),
.pista-sheet td:nth-child(n+10) { width: 92px; }

.production-cell {
  background: #fff;
  font-weight: 700;
}

.production-cell.has-production {
  background: #d9ead3;
  color: #1f5f2e;
}

.planning-sheet {
  min-width: 1940px;
}

.planning-controls {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
  align-items: center;
  margin: 12px 0;
}

.planning-control-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.planning-control-stack {
  display: grid;
  gap: 8px;
}

.psplantio-planning-controls {
  align-items: flex-start;
}

.planning-days-button {
  margin-left: auto;
}

.planning-controls .active-filter {
  background: var(--brand);
  color: #fff;
}

.planning-sheet th,
.planning-sheet td,
.management-sheet th,
.management-sheet td {
  text-align: center;
}

.planning-sheet th:nth-child(1),
.planning-sheet td:nth-child(1) {
  width: 220px;
  min-width: 220px;
  max-width: none;
  overflow: visible;
  text-align: left;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.planning-sheet th:nth-child(2),
.planning-sheet td:nth-child(2) {
  width: 240px;
  min-width: 240px;
  max-width: none;
  overflow: visible;
  text-align: left;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.planning-sheet td.indicator-subitem {
  text-align: right;
  padding-right: 18px;
  color: var(--muted);
}

.planning-sheet th:nth-child(n+4),
.planning-sheet td:nth-child(n+4) {
  min-width: 118px;
}

.planning-sheet .transport-type-row td {
  height: 54px;
  line-height: 1.2;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  vertical-align: middle;
}

.planning-section td {
  background: #d9ead3;
  color: #1f5f2e;
  font-weight: 700;
  text-align: left;
}

.management-sheet {
  min-width: 520px;
}

.pst-management-sheet {
  max-width: 780px;
  min-width: 620px;
}

.pst-management-single {
  max-width: 780px;
}

.pst-management-sheet th:first-child,
.pst-management-sheet td:first-child {
  text-align: left;
  width: 260px;
}

.psplantio-summary-sheet {
  min-width: 1500px;
  table-layout: fixed;
}

.psplantio-summary-sheet th:first-child,
.psplantio-summary-sheet td:first-child {
  width: 92px;
  font-weight: 700;
  text-align: left;
}

.psplantio-summary-sheet th:nth-child(2),
.psplantio-summary-sheet td:nth-child(2) {
  width: 88px;
  text-align: center;
}

.psplantio-summary-sheet th:nth-child(3),
.psplantio-summary-sheet td:nth-child(3) {
  width: 150px;
  font-weight: 700;
  text-align: left;
}

.psplantio-summary-sheet th:nth-child(n+4),
.psplantio-summary-sheet td:nth-child(n+4) {
  width: 76px;
  min-width: 76px;
  text-align: center;
}

.psplantio-summary-sheet th:last-child,
.psplantio-summary-sheet td.summary-total-col {
  background: #e3e6e6;
  font-weight: 700;
  text-align: center;
}

.psplantio-management-layout {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.psplantio-management-sheet {
  min-width: 900px;
  table-layout: fixed;
}

.psplantio-management-sheet th:first-child,
.psplantio-management-sheet td:first-child {
  width: 90px;
  text-align: left;
  font-weight: 700;
}

.psplantio-premises-management-sheet {
  max-width: 300px;
  min-width: 260px;
}

.psplantio-premises-management-sheet td:first-child {
  font-weight: 700;
  text-align: left;
}

.pspreparo-management-sheet .pspreparo-parent-label {
  font-weight: 700;
}

.pspreparo-medium-sheet {
  min-width: 720px;
}

.pspreparo-medium-sheet th,
.pspreparo-medium-sheet td {
  text-align: center;
}

.pspreparo-medium-sheet th:nth-child(2),
.pspreparo-medium-sheet td:nth-child(2) {
  min-width: 210px;
  text-align: left;
}

.pspreparo-medium-sheet th:nth-child(6),
.pspreparo-medium-sheet td:nth-child(6) {
  width: 90px;
  font-weight: 700;
}

.pst-management-sheet td.pspreparo-child-label {
  text-align: right;
  padding-right: 28px;
  font-weight: 400;
}

.psv-management-layout {
  display: grid;
  gap: 18px;
  max-width: 1180px;
}

.psv-gestao-cloud-notice {
  border: 1px solid #c5dbc5;
  background: #eef8ef;
  color: #073b16;
  font-weight: 700;
  padding: 10px 12px;
}

.psv-gestao-cloud-source-note {
  margin-top: 8px;
}

.psv-management-cav-sheet {
  min-width: 940px;
}

.psv-management-cav-sheet th:first-child,
.psv-management-cav-sheet td:first-child {
  text-align: left;
  width: 150px;
}

.psv-management-hidrorrol-sheet {
  min-width: 620px;
  max-width: 780px;
}

.psv-management-hidrorrol-tables {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.psv-management-repasse-sheet {
  min-width: 260px;
  max-width: 360px;
}

.psv-gestao-management-aderencia-sheet,
.psv-gestao-management-timing-sheet {
  min-width: 980px;
}

.psv-gestao-metas-sheet {
  min-width: 1040px;
}

.psv-gestao-metas-sheet th,
.psv-gestao-metas-sheet td {
  text-align: center;
  vertical-align: middle;
}

.psv-gestao-metas-sheet th:nth-child(3),
.psv-gestao-metas-sheet td:nth-child(3) {
  min-width: 190px;
  text-align: left;
}

.psv-gestao-metas-sheet th:nth-child(n+4),
.psv-gestao-metas-sheet td:nth-child(n+4) {
  width: 66px;
  min-width: 66px;
  max-width: 72px;
  text-align: center;
}

.psv-gestao-metas-sheet td:last-child,
.psv-gestao-metas-sheet th:last-child {
  width: 78px;
  min-width: 78px;
  background: #e6e6e6;
  text-align: center;
}

.psv-gestao-metas-sheet input {
  text-align: center;
  min-width: 0;
}

.plano-management-export {
  overflow: auto;
}

.plano-management-layout {
  display: grid;
  gap: 12px;
}

.plano-management-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  color: #003f16;
  font-size: 18px;
}

.plano-management-title img {
  width: 96px;
  height: auto;
}

.plano-management-meta {
  width: 240px;
  min-width: 240px;
  margin: 0 auto 10px;
}

.plano-management-meta td {
  text-align: center;
}

.plano-management-sheet {
  min-width: 1180px;
  table-layout: fixed;
}

.plano-management-sheet .plano-col-group {
  width: 74px;
}

.plano-management-sheet .plano-col-desc {
  width: 146px;
}

.plano-management-sheet .plano-col-month {
  width: 58px;
}

.plano-management-sheet .plano-col-total {
  width: 60px;
}

.plano-management-sheet th:first-child,
.plano-management-sheet td:first-child {
  font-weight: 700;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.plano-technical-sheet th:first-child,
.plano-technical-sheet td:first-child {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.plano-technical-sheet th:nth-child(2),
.plano-technical-sheet td:nth-child(2) {
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
  text-align: left;
  line-height: 1.15;
  word-break: normal;
  overflow-wrap: anywhere;
  font-weight: 400;
  text-align: center;
}

.plano-technical-sheet .plano-tech-group-cell {
  text-align: center;
  font-weight: 700;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  vertical-align: middle;
}

.plano-technical-sheet .plano-tech-single-label {
  text-align: center;
  font-weight: 700;
}

.table-scroll {
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.table-scroll table {
  width: max-content;
}

.plano-sheet {
  min-width: 1180px;
}

.plano-plantio-sheet {
  min-width: 1900px;
  table-layout: auto;
}

.plano-sheet th,
.plano-sheet td,
.plano-sheet input,
.plano-sheet select {
  text-align: center;
}

.plano-plantio-sheet th,
.plano-plantio-sheet td,
.plano-operacoes-sheet th,
.plano-operacoes-sheet td,
.plano-declividade-sheet th,
.plano-declividade-sheet td,
.plano-caminhamento-sheet th,
.plano-caminhamento-sheet td,
.plano-bd-plan-sheet th,
.plano-bd-plan-sheet td,
.plano-operacoes-plan-sheet th,
.plano-operacoes-plan-sheet td {
  min-width: 120px;
}

.plano-plantio-sheet th:nth-child(8),
.plano-plantio-sheet td:nth-child(8),
.plano-plantio-sheet th:nth-child(10),
.plano-plantio-sheet td:nth-child(10),
.plano-operacoes-sheet th:nth-child(3),
.plano-operacoes-sheet td:nth-child(3),
.plano-operacoes-sheet th:nth-child(7),
.plano-operacoes-sheet td:nth-child(7),
.plano-operacoes-sheet th:nth-child(10),
.plano-operacoes-sheet td:nth-child(10) {
  min-width: 220px;
}

.plano-bd-plan-sheet th:nth-child(7),
.plano-bd-plan-sheet td:nth-child(7),
.plano-operacoes-plan-sheet th:nth-child(7),
.plano-operacoes-plan-sheet td:nth-child(7) {
  min-width: 220px;
}

.plano-operacoes-plan-sheet th {
  white-space: normal;
}

.operation-plan-cell {
  min-width: 170px;
}

.operation-plan-cell select {
  margin: 2px 0;
  min-width: 145px;
}

.plano-bd-plan-sheet {
  min-width: 5200px;
}

.plano-planning-month-sheet {
  min-width: 1680px;
}

.plano-planning-month-sheet th:first-child,
.plano-planning-month-sheet td:first-child {
  min-width: 160px;
  text-align: center;
}

.plano-planning-month-sheet th:nth-child(2),
.plano-planning-month-sheet td:nth-child(2) {
  min-width: 260px;
  text-align: left;
  white-space: normal;
}

.plano-planning-month-sheet td.indicator-subitem {
  text-align: right;
  padding-right: 18px;
  color: var(--muted);
}

.plano-planning-month-sheet td.planning-total-label {
  text-align: center;
  padding-right: 6px;
  color: inherit;
}

.plano-bd-plan-sheet .bd-plan-group-header {
  color: #243c3d;
}

.plano-bd-plan-sheet .group-cadastro,
.plano-bd-plan-sheet .group-operacoes {
  background: #dcefdc;
}

.plano-bd-plan-sheet .group-originacao,
.plano-bd-plan-sheet .group-muda {
  background: #f4dada;
}

.plano-bd-plan-sheet .group-manejo,
.plano-bd-plan-sheet .group-plantio {
  background: #dce9f6;
}

.plano-bd-plan-sheet .group-pragas-de-solo,
.plano-bd-plan-sheet .group-informacoes-auxiliares {
  background: #f5edc7;
}

.plano-bd-plan-sheet .group-rotacao-de-culturas {
  background: #eadff3;
}

.plano-bd-plan-sheet .locked-column,
.plano-bd-plan-sheet th.locked-column {
  background: #e3e6e6;
  color: #475467;
  font-weight: 700;
}

.plano-bd-plan-sheet .adequate-value {
  color: #1f7a3d;
}

.plano-bd-plan-sheet .inadequate-value {
  color: #b42318;
}

.plano-operacoes-plan-sheet .adjust-ok {
  background: #dff2df;
  color: #1f6f3b;
  font-weight: 700;
}

.plano-operacoes-plan-sheet .adjust-warning {
  background: #fff2b8;
  color: #7a5800;
  font-weight: 700;
}

.plano-operacoes-plan-sheet .adjust-review {
  background: #ffd9d4;
  color: #9f241b;
  font-weight: 700;
}

.plano-import-toolbar {
  align-items: end;
}

.plano-import-toolbar label {
  width: min(170px, 100%);
}

.plano-select-card {
  border-left: 4px solid #d8b000;
}

.plano-select-card pre {
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff9c7;
  color: #b42318;
  font-weight: 700;
  white-space: pre-wrap;
  max-height: 260px;
  overflow: auto;
  user-select: text;
}

.area-total-row td {
  background: #e3e6e6;
}

.negative-value {
  color: #b42318;
  font-weight: 700;
}

.positive-value {
  color: #1f7a3d;
  font-weight: 700;
}

@media print {
  @page {
    size: A4 landscape;
    margin: 8mm;
  }

  body.print-management {
    background: #fff;
  }

  body.print-management .sidebar,
  body.print-management .topbar,
  body.print-management .screen-only,
  body.print-management .content > :not(.management-export) {
    display: none !important;
  }

  body.print-management .shell,
  body.print-management .main,
  body.print-management .content {
    display: block;
    padding: 0;
    overflow: visible;
  }

  body.print-management .management-export {
    border: 0;
    box-shadow: none;
    padding: 0;
    transform: scale(0.92);
    transform-origin: top left;
    width: 108%;
    page-break-inside: avoid;
  }

  body.print-management .management-export .grid.two {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 8px;
  }

  body.print-management .management-sheet {
    min-width: 0;
    width: 100%;
  }

  body.print-management .sheet th,
  body.print-management .sheet td {
    font-size: 10px;
    height: 22px;
    padding: 3px;
    white-space: normal;
  }
}

.impact-yes {
  background: #d9ead3;
  color: #1f5f2e;
  font-weight: 700;
}

.impact-no {
  background: #f4cccc;
  color: #8a1f12;
  font-weight: 700;
}


.downtime-sheet th:first-child,
.downtime-sheet td:first-child {
  text-align: left;
  width: 160px;
}

.downtime-sheet th:nth-child(2),
.downtime-sheet td:nth-child(2) {
  width: 80px;
}

.calculated {
  background: #f7f1e4;
  font-weight: 700;
}

.locked-cell {
  display: block;
  padding: 6px 8px;
}

.status-ok {
  color: var(--ok);
  font-weight: 700;
}

.status-warn {
  color: var(--warn);
  font-weight: 700;
}

.hidden-note {
  color: var(--muted);
  font-size: 12px;
}

.sheet td.program-access-cell {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.program-checks {
  display: grid;
  gap: 7px;
  width: 100%;
  min-width: 220px;
  max-height: 76px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  text-align: left;
}

.program-checks label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  line-height: 1.25;
}

.program-checks input {
  width: 16px;
  height: 16px;
}

.history {
  display: grid;
  gap: 8px;
}

.history-item {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
  border-radius: 6px;
}

.history-item small {
  color: var(--muted);
}

@media (max-width: 860px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tab {
    text-align: center;
    padding-inline: 4px;
  }

  .grid.two,
  .grid.four {
    grid-template-columns: 1fr;
  }
}

@media (pointer: coarse) {
  button,
  .file-button,
  input,
  select {
    min-height: 44px;
  }

  .sheet input,
  .sheet select,
  .workday-select,
  .program-switcher select,
  .programming-switcher select,
  .tenant-switch select {
    min-height: 36px;
  }

  .tab {
    min-height: 44px;
  }

  .content:focus-within {
    padding-bottom: 160px;
  }
}
.psa-gestao-campaigns-sheet .campaign-name-cell {
  min-width: 220px;
  vertical-align: top;
}

.psa-gestao-campaigns-sheet .psa-gestao-dose-col {
  width: 150px;
}

.psa-gestao-campaigns-sheet th,
.psa-gestao-campaigns-sheet .psa-gestao-campaign-code-cell,
.psa-gestao-campaigns-sheet .psa-gestao-campaign-description-cell,
.psa-gestao-campaigns-sheet .psa-gestao-dose-cell {
  text-align: center;
}

.psa-gestao-campaigns-sheet .psa-gestao-campaign-description-cell input {
  margin-inline: auto;
  text-align: center;
}

.psa-gestao-campaigns-sheet .psa-gestao-dose-cell {
  min-width: 150px;
  text-align: center;
}

.psa-gestao-campaigns-sheet .psa-gestao-dose-input {
  min-width: 130px;
  margin-inline: auto;
  text-align: center;
}

.psa-gestao-campaigns-sheet .campaign-actions {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 6px;
  flex-wrap: wrap;
}

.psa-gestao-campaigns-sheet input[list] {
  min-width: 260px;
}

.pista-sheet .psa-gestao-extra-group,
.pista-sheet .psa-gestao-extra-subheader th {
  background: #dcebe6;
  color: #063b17;
  text-align: center;
}

.pista-sheet .psa-gestao-extra-insumo-cell {
  min-width: 260px;
  text-align: center;
}

.pista-sheet .psa-gestao-extra-code-cell {
  min-width: 110px;
  text-align: center;
}

.pista-sheet .psa-gestao-extra-insumo-input {
  min-width: 240px;
  text-align: center;
}

.psa-gestao-pista-scroll {
  overflow-x: auto;
}

.psa-gestao-insumos-planning-sheet th,
.psa-gestao-insumos-planning-sheet td {
  text-align: center;
}

.psa-gestao-insumos-planning-sheet .text-left {
  text-align: left;
  min-width: 240px;
}

.psa-gestao-insumos-planning-sheet th:first-child,
.psa-gestao-insumos-planning-sheet td:first-child {
  min-width: 150px;
}

.psa-gestao-insumos-dose-input {
  min-width: 110px;
  text-align: center;
}

.psa-gestao-insumos-planning-sheet .insumos-warning-cell {
  color: #8a4a00;
  background: #fff3cd;
  font-weight: 700;
  min-width: 190px;
}

.psa-gestao-management-layout {
  display: grid;
  gap: 12px;
}

.psa-gestao-management-campaign-supplies,
.psa-gestao-management-top-insumos {
  width: 100%;
}

.psa-gestao-management-campaign-supplies th,
.psa-gestao-management-campaign-supplies td,
.psa-gestao-management-top-insumos th,
.psa-gestao-management-top-insumos td {
  text-align: center;
}

.psa-gestao-management-campaign-supplies .text-left,
.psa-gestao-management-top-insumos .text-left {
  text-align: left;
  white-space: normal;
}

.psa-gestao-management-campaign-supplies .text-left {
  min-width: 320px;
}

.psa-gestao-management-top-insumos .text-left {
  min-width: 240px;
}

.psv-gestao-timing-sheet th,
.psv-gestao-timing-sheet td,
.psv-gestao-timing-sheet input,
.psv-gestao-aplicacao-sheet th,
.psv-gestao-aplicacao-sheet td,
.psv-gestao-aplicacao-sheet select {
  text-align: center;
}

.psv-gestao-timing-sheet input,
.psv-gestao-aplicacao-sheet select {
  margin-inline: auto;
}

.psv-gestao-base-filters {
  align-items: flex-end;
}

.psv-gestao-base-filters .multi-filter {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.psv-gestao-base-filters .multi-filter span {
  font-weight: 700;
  color: #073b16;
}

.psv-gestao-base-filters .active-filter {
  background: #d8ead8;
  border-color: #0f4d1f;
  font-weight: 700;
}

.psv-gestao-base-cadastro-sheet {
  min-width: 1180px;
}

.psv-gestao-base-cadastro-sheet th,
.psv-gestao-base-cadastro-sheet td,
.psv-gestao-base-cadastro-sheet input,
.psv-gestao-base-cadastro-sheet select {
  text-align: center;
}

.psv-gestao-base-cadastro-sheet input,
.psv-gestao-base-cadastro-sheet select {
  margin-inline: auto;
}

.psv-gestao-base-cadastro-sheet th:nth-child(9),
.psv-gestao-base-cadastro-sheet td:nth-child(9) {
  min-width: 190px;
}

.psv-gestao-realizado-op-sheet {
  min-width: 1320px;
}

.psv-gestao-realizado-op-sheet th,
.psv-gestao-realizado-op-sheet td {
  text-align: center;
}

.psv-gestao-realizado-op-sheet th:nth-child(7),
.psv-gestao-realizado-op-sheet td:nth-child(7),
.psv-gestao-realizado-op-sheet th:nth-child(10),
.psv-gestao-realizado-op-sheet td:nth-child(10) {
  min-width: 190px;
  white-space: normal;
}

.psv-gestao-realizado-plantio-sheet {
  min-width: 2100px;
}

.psv-gestao-realizado-plantio-sheet th,
.psv-gestao-realizado-plantio-sheet td {
  text-align: center;
}

.psv-gestao-realizado-plantio-sheet th:nth-child(3),
.psv-gestao-realizado-plantio-sheet td:nth-child(3),
.psv-gestao-realizado-plantio-sheet th:nth-child(9),
.psv-gestao-realizado-plantio-sheet td:nth-child(9),
.psv-gestao-realizado-plantio-sheet th:nth-child(13),
.psv-gestao-realizado-plantio-sheet td:nth-child(13),
.psv-gestao-realizado-plantio-sheet th:nth-child(15),
.psv-gestao-realizado-plantio-sheet td:nth-child(15) {
  min-width: 170px;
  white-space: normal;
}

.psv-gestao-realizado-plantio-sheet .locked-column,
.psv-gestao-realizado-colheita-sheet .locked-column {
  background: #e3e6e6;
  color: #475467;
}

.psv-gestao-realizado-colheita-sheet {
  min-width: 2100px;
}

.psv-gestao-realizado-colheita-sheet th,
.psv-gestao-realizado-colheita-sheet td,
.psv-gestao-realizado-colheita-sheet select {
  text-align: center;
}

.psv-gestao-realizado-colheita-sheet th:nth-child(5),
.psv-gestao-realizado-colheita-sheet td:nth-child(5),
.psv-gestao-realizado-colheita-sheet th:nth-child(14),
.psv-gestao-realizado-colheita-sheet td:nth-child(14) {
  min-width: 180px;
  white-space: normal;
}

.psv-gestao-aderencia-section {
  overflow: hidden;
}

.psv-gestao-aderencia-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #073b16;
}

.psv-gestao-aderencia-sheet {
  min-width: 1500px;
}

.psv-gestao-aderencia-sheet th,
.psv-gestao-aderencia-sheet td {
  text-align: center;
  white-space: nowrap;
}

.psv-gestao-aderencia-sheet td:nth-child(4) {
  min-width: 170px;
  text-align: left;
  white-space: normal;
}

.delta-positive {
  color: #0f7a2f;
  font-weight: 700;
}

.delta-negative {
  color: #b42318;
  font-weight: 700;
}
