/*
 * Récoltes - résumés et détails de production / consommation
 */
.naw-recolte-summary-stack {
  display: grid;
  gap: 14px;
  margin: 8px 0 14px;
}

.naw-recolte-summary-card {
  overflow: hidden;
  border: 1px solid rgba(72, 57, 35, 0.24);
  border-radius: 10px;
  background: rgba(255, 250, 240, 0.58);
  box-shadow: 0 2px 8px rgba(54, 40, 21, 0.08);
}

.naw-recolte-summary-card--production {
  border-left: 4px solid #2f7d39;
}

.naw-recolte-summary-card--consumption {
  border-left: 4px solid #a45a2a;
}

.naw-recolte-summary-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
}

.naw-recolte-summary-card__text {
  min-width: 0;
  line-height: 1.55;
}

.naw-recolte-summary-card__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #5b4932;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.naw-recolte-detail-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(45, 91, 42, 0.5);
  border-radius: 7px;
  background: rgba(237, 246, 226, 0.92);
  color: #214f24;
  font: inherit;
  font-size: 0.92em;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.naw-recolte-detail-toggle:hover,
.naw-recolte-detail-toggle:focus {
  border-color: #2d6d32;
  background: #e2f0d4;
  color: #173b1a;
}

.naw-recolte-detail-toggle:active {
  transform: translateY(1px);
}

.naw-recolte-detail-toggle--premium {
  position: relative;
  padding-right: 30px;
  border-color: rgba(139, 104, 32, 0.5);
  background: rgba(250, 239, 194, 0.9);
  color: #6e4f10;
}

.naw-recolte-premium-corner-star {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  margin: 0;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px rgba(82, 55, 25, .28));
}

.naw-recolte-detail-toggle--premium:hover,
.naw-recolte-detail-toggle--premium:focus {
  border-color: rgba(117, 78, 18, 0.72);
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(98, 44, 13, .08)), rgba(235, 211, 157, .78);
  color: #583b0b;
}

.naw-recolte-detail-panel {
  padding: 14px;
  border-top: 1px solid rgba(98, 44, 13, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(98, 44, 13, .10)), rgba(240, 223, 195, .48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.naw-recolte-detail-content {
  display: grid;
  gap: 12px;
}

.naw-recolte-detail-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 2px;
}

.naw-recolte-detail-heading strong {
  color: #2f2a22;
  font-size: 1.02em;
}

.naw-recolte-detail-heading span {
  color: #675c4d;
  font-size: 0.9em;
  line-height: 1.45;
}

.naw-recolte-detail-heading--secondary {
  margin-top: 3px;
  padding-top: 12px;
  border-top: 1px solid rgba(72, 57, 35, 0.16);
}

.naw-recolte-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.naw-recolte-resource-card,
.naw-recolte-consumption-card,
.naw-recolte-reduction-card {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(98, 44, 13, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .20), rgba(98, 44, 13, .08)), rgba(240, 223, 195, .58);
  box-shadow: 0 2px 5px rgba(72, 41, 20, 0.08);
}

.naw-recolte-resource-card__title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(72, 57, 35, 0.14);
  color: #342c22;
}

.naw-recolte-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  line-height: 1.35;
}

.naw-recolte-detail-row > span {
  min-width: 0;
  color: #5b5145;
  font-size: 0.88em;
}

.naw-recolte-detail-row > strong {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.9em;
}

.naw-recolte-detail-row--total {
  margin-top: 5px;
  padding-top: 9px;
  border-top: 1px solid rgba(72, 57, 35, 0.2);
}

.naw-recolte-detail-row--total > span,
.naw-recolte-detail-row--total > strong {
  color: #2f2a22;
  font-weight: 700;
}

.naw-recolte-detail-row .is-positive {
  color: #25712f;
}

.naw-recolte-detail-row .is-negative {
  color: #a33a2e;
}

.naw-recolte-consumption-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.naw-recolte-consumption-card--total {
  grid-column: 1 / -1;
  border-color: rgba(98, 44, 13, 0.36);
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(98, 44, 13, .12)), rgba(226, 198, 157, .62);
}

.naw-recolte-consumption-card__title,
.naw-recolte-reduction-card__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(72, 57, 35, 0.14);
}

.naw-recolte-consumption-card__title strong,
.naw-recolte-reduction-card__title strong {
  color: #342c22;
}

.naw-recolte-consumption-card__title span,
.naw-recolte-reduction-card__title span {
  color: #746858;
  font-size: 0.82em;
}

.naw-recolte-consumption-values {
  display: grid;
  gap: 6px;
}

.naw-recolte-consumption-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.naw-recolte-consumption-value > span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  color: #5b5145;
  font-size: 0.88em;
  line-height: 1.35;
}

.naw-recolte-consumption-value > strong {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #943b31;
}

.naw-recolte-consumption-card--total .naw-recolte-consumption-value > strong {
  color: #6f351d;
  font-size: 1.02em;
}

.naw-recolte-reduction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.naw-recolte-reduction-card {
  border-color: rgba(58, 102, 47, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, .20), rgba(60, 101, 43, .08)), rgba(224, 216, 173, .56);
}

.naw-recolte-reduction-card .naw-recolte-consumption-value > strong {
  color: #25712f;
}

.naw-recolte-detail-note {
  padding: 9px 10px;
  border-left: 3px solid #9a7b43;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(98, 44, 13, .08)), rgba(226, 207, 174, .58);
  color: #5e523f;
  font-size: 0.88em;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .naw-recolte-summary-card__header {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .naw-recolte-detail-toggle {
    align-self: flex-start;
  }

  .naw-recolte-resource-grid,
  .naw-recolte-consumption-grid,
  .naw-recolte-reduction-grid {
    grid-template-columns: 1fr;
  }

  .naw-recolte-consumption-card--total {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .naw-recolte-summary-stack {
    gap: 10px;
  }

  .naw-recolte-summary-card__header,
  .naw-recolte-detail-panel {
    padding: 10px;
  }

  .naw-recolte-summary-card__text {
    font-size: 0.95em;
  }

  .naw-recolte-detail-toggle {
    width: 100%;
  }

  .naw-recolte-resource-card,
  .naw-recolte-consumption-card,
  .naw-recolte-reduction-card {
    padding: 9px;
  }

  .naw-recolte-detail-row,
  .naw-recolte-consumption-value {
    gap: 7px;
  }

  .naw-recolte-consumption-value > span {
    font-size: 0.84em;
  }
}

/*
 * Récoltes - parcours principal, affectation des ouvrières et aide
 */
.naw-recolte-page {
  display: grid;
  gap: 16px;
  padding: 14px;
}

.naw-recolte-page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.naw-recolte-title-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.naw-recolte-title-help img {
  display: block;
  width: 22px;
  height: 22px;
}

.naw-recolte-inline-help {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(98, 44, 13, 0.34);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(98, 44, 13, .11)), rgba(240, 223, 195, .64);
  box-shadow: 0 3px 10px rgba(68, 39, 18, 0.12);
  color: #4d4032;
}

.naw-recolte-inline-help__close {
  position: absolute;
  top: 8px;
  right: 8px;
  margin: 0;
  padding: 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.naw-recolte-inline-help__title {
  margin: 0 38px 12px 0;
  color: #3a2e23;
  font-size: 1.08em;
  font-weight: 800;
}

.naw-recolte-help-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.naw-recolte-help-steps > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(98, 44, 13, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 239, 0.42);
}

.naw-recolte-help-steps strong {
  color: #4e321f;
}

.naw-recolte-help-steps span,
.naw-recolte-inline-help__note {
  font-size: 0.9em;
  line-height: 1.45;
}

.naw-recolte-inline-help__note {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 3px solid #8f6a31;
  border-radius: 5px;
  background: rgba(224, 198, 157, 0.4);
}

.naw-recolte-help-link {
  display: inline-flex;
  margin-top: 10px;
  color: #5e3f1d;
  font-weight: 700;
  text-decoration: underline;
}

.naw-recolte-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.naw-recolte-overview-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(98, 44, 13, 0.28);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(98, 44, 13, .10)), rgba(240, 223, 195, .48);
  box-shadow: 0 3px 8px rgba(72, 41, 20, 0.1);
}

.naw-recolte-overview-card--terrain {
  border-color: rgba(64, 104, 48, 0.38);
  background: linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(56, 93, 43, .10)), rgba(225, 218, 177, .6);
}

.naw-recolte-overview-card__icon {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(98, 44, 13, 0.2);
  border-radius: 50%;
  background: rgba(255, 250, 238, 0.58);
}

.naw-recolte-overview-card > div:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.naw-recolte-overview-card__label {
  color: #6b5a45;
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.naw-recolte-overview-card strong {
  color: #30261e;
  font-size: 1.16em;
  line-height: 1.2;
}

.naw-recolte-overview-card strong b {
  font-weight: inherit;
}

.naw-recolte-overview-card small {
  color: #746757;
  line-height: 1.3;
}

.naw-recolte-capacity-bonus,
.info-recolte-capacite-recolte {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(70, 105, 49, 0.38);
  border-left: 4px solid #577f39;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(63, 99, 42, .08)), rgba(224, 216, 173, .58);
  color: #3f4933;
  line-height: 1.4;
}

.naw-recolte-capacity-bonus > div:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.naw-recolte-capacity-bonus strong {
  color: #324326;
}

.naw-recolte-capacity-bonus__values {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.naw-recolte-capacity-bonus__values span {
  padding: 6px 9px;
  border: 1px solid rgba(70, 105, 49, 0.28);
  border-radius: 999px;
  background: rgba(255, 252, 238, 0.54);
  white-space: nowrap;
  font-size: 0.86em;
}

.naw-recolte-mode-card,
.naw-recolte-distribution-panel {
  padding: 14px;
  border: 1px solid rgba(98, 44, 13, 0.3);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(98, 44, 13, .10)), rgba(240, 223, 195, .48);
  box-shadow: 0 3px 10px rgba(72, 41, 20, 0.1);
}

.naw-recolte-mode-card--premium {
  border-color: rgba(137, 99, 28, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(133, 91, 25, .10)), rgba(235, 215, 166, .58);
}

.naw-recolte-mode-card__header,
.naw-recolte-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.naw-recolte-mode-card__heading {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.naw-recolte-mode-card__heading > strong {
  color: #34291f;
  font-size: 1.04em;
}

.naw-recolte-mode-card__heading > span:last-child {
  color: #695b4a;
  font-size: 0.9em;
  line-height: 1.4;
}

.naw-recolte-mode-card__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid rgba(98, 44, 13, 0.26);
  border-radius: 999px;
  background: rgba(255, 250, 238, 0.55);
  color: #6f4c22;
  font-size: 0.74em;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.naw-recolte-mode-card__star {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
}

.naw-recolte-premium-cta {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 7px 30px 7px 11px;
  border: 1px solid rgba(139, 104, 32, 0.5);
  border-radius: 7px;
  background: rgba(250, 239, 194, 0.9);
  color: #6e4f10;
  font: inherit;
  font-size: 0.88em;
  font-weight: 700;
  cursor: pointer;
}

.naw-recolte-worker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.naw-recolte-worker-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid rgba(98, 44, 13, 0.24);
  border-radius: 9px;
  background: rgba(255, 250, 238, 0.46);
}

.naw-recolte-worker-card > div,
.naw-recolte-worker-card__body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
}

.naw-recolte-worker-card span {
  color: #665747;
  font-size: 0.87em;
}

.naw-recolte-worker-card strong {
  color: #34291f;
  font-size: 1.18em;
}

.naw-recolte-worker-card small {
  color: #7a6b59;
}

.naw-recolte-worker-card--editable {
  cursor: pointer;
}

.naw-recolte-worker-card--editable:focus-within {
  border-color: rgba(66, 104, 50, 0.62);
  box-shadow: 0 0 0 2px rgba(72, 115, 52, 0.13);
}

.naw-recolte-worker-input {
  display: flex;
  width: 100%;
}

.naw-recolte-worker-input input {
  width: 100%;
  max-width: 180px;
  min-height: 38px;
  margin: 2px 0;
}

.naw-recolte-form {
  display: grid;
  gap: 14px;
  margin: 0;
}

.naw-recolte-section-heading__eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #6d5a44;
  font-size: 0.76em;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.naw-recolte-section-heading h3 {
  margin: 0;
  color: #34291f;
  font-size: 1.08em;
}

.naw-recolte-section-heading__hint {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(98, 44, 13, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 238, 0.5);
  color: #6b5943;
  font-size: 0.82em;
  font-weight: 700;
  white-space: nowrap;
}

.naw-recolte-distribution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.naw-recolte-distribution-card {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(98, 44, 13, 0.25);
  border-radius: 9px;
  background: rgba(255, 250, 238, 0.48);
  cursor: pointer;
}

.naw-recolte-distribution-card--food {
  border-top: 3px solid #7d9140;
}

.naw-recolte-distribution-card--wood {
  border-top: 3px solid #8b5a33;
}

.naw-recolte-distribution-card--water {
  border-top: 3px solid #4d7f9d;
}

.naw-recolte-distribution-card:focus-within {
  border-color: rgba(73, 99, 51, 0.58);
  box-shadow: 0 0 0 2px rgba(72, 115, 52, 0.13);
}

.naw-recolte-distribution-card__resource {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #392e24;
}

.naw-recolte-percent-input {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  color: #5c4a36;
  font-weight: 800;
}

.naw-recolte-percent-input input {
  width: 72px;
  min-height: 38px;
  margin: 0;
  text-align: center;
}

.naw-recolte-form-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(98, 44, 13, 0.18);
}

.naw-recolte-coverage-status {
  display: grid;
  min-width: 0;
  gap: 3px;
  color: #5c4e3d;
  font-size: 0.92em;
  line-height: 1.45;
}

.naw-recolte-submit {
  flex: 0 0 auto;
  min-width: 180px;
}

.naw-recolte-form-errors:empty {
  display: none;
}

.naw-recolte-form-errors {
  margin-top: 8px;
  line-height: 1.45;
}

/* Aide Ressources */
.naw-recolte-help-page {
  display: grid;
  gap: 16px;
  padding: 14px;
}

.naw-recolte-help-hero,
.naw-recolte-help-section {
  padding: 15px;
  border: 1px solid rgba(98, 44, 13, 0.28);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(98, 44, 13, .10)), rgba(240, 223, 195, .48);
  box-shadow: 0 3px 9px rgba(72, 41, 20, 0.09);
}

.naw-recolte-help-hero__eyebrow,
.naw-recolte-help-section__heading > span {
  color: #765b39;
  font-size: 0.76em;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.naw-recolte-help-hero h2,
.naw-recolte-help-section__heading h3 {
  margin: 3px 0 7px;
  color: #34291f;
}

.naw-recolte-help-hero p,
.naw-recolte-help-section p {
  margin: 0;
  color: #625442;
  line-height: 1.55;
}

.naw-recolte-help-resource-grid,
.naw-recolte-help-capacity-grid,
.naw-recolte-help-mode-grid,
.naw-recolte-help-building-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.naw-recolte-help-resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.naw-recolte-help-resource-grid article,
.naw-recolte-help-building-grid article {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(98, 44, 13, 0.2);
  border-radius: 8px;
  background: rgba(255, 250, 238, 0.44);
}

.naw-recolte-help-resource-grid article > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.naw-recolte-help-resource-grid strong,
.naw-recolte-help-capacity-grid strong,
.naw-recolte-help-mode-grid strong {
  color: #3b2f24;
}

.naw-recolte-help-resource-grid span,
.naw-recolte-help-capacity-grid span,
.naw-recolte-help-mode-grid p {
  color: #6b5b49;
  font-size: 0.9em;
  line-height: 1.45;
}

.naw-recolte-help-capacity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.naw-recolte-help-capacity-grid article,
.naw-recolte-help-mode-grid article {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(98, 44, 13, 0.22);
  border-radius: 9px;
  background: rgba(255, 250, 238, 0.44);
}

.naw-recolte-help-capacity-grid article:not(.naw-recolte-help-capacity-grid__bonus) {
  align-items: flex-start;
}

.naw-recolte-help-capacity-grid__bonus {
  grid-column: 1 / -1;
  border-left: 4px solid #577f39 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .20), rgba(63, 99, 42, .08)), rgba(224, 216, 173, .56) !important;
}

.naw-recolte-help-mode-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.naw-recolte-help-mode-grid__premium {
  border-color: rgba(137, 99, 28, 0.38) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(133, 91, 25, .08)), rgba(235, 215, 166, .54) !important;
}

.naw-recolte-help-mode-grid__premium > img {
  position: absolute;
  top: 10px;
  right: 10px;
}

.naw-recolte-help-flow {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.naw-recolte-help-flow > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(98, 44, 13, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 238, 0.4);
}

.naw-recolte-help-flow b {
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(107, 77, 41, 0.16);
  color: #563c24;
}

.naw-recolte-help-building-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.naw-recolte-help-section__footer {
  margin-top: 10px !important;
  font-size: 0.9em;
}

.naw-recolte-help-back {
  text-align: center;
}

.naw-recolte-help-back a {
  display: inline-flex;
  padding: 8px 13px;
  border: 1px solid rgba(98, 44, 13, 0.28);
  border-radius: 7px;
  background: rgba(240, 223, 195, 0.58);
  color: #5a3e23;
  font-weight: 700;
}

@media (max-width: 900px) {
  .naw-recolte-overview,
  .naw-recolte-distribution-grid,
  .naw-recolte-help-building-grid {
    grid-template-columns: 1fr;
  }

  .naw-recolte-help-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .naw-recolte-page,
  .naw-recolte-help-page {
    gap: 10px;
    padding: 8px;
    font-size: 14px;
  }

  .naw-recolte-page-title {
    font-size: 0.95em;
  }

  .naw-recolte-overview,
  .naw-recolte-worker-grid,
  .naw-recolte-distribution-grid,
  .naw-recolte-help-resource-grid,
  .naw-recolte-help-capacity-grid,
  .naw-recolte-help-mode-grid {
    gap: 8px;
  }

  .naw-recolte-mode-card,
  .naw-recolte-distribution-panel,
  .naw-recolte-inline-help,
  .naw-recolte-help-hero,
  .naw-recolte-help-section {
    padding: 10px;
  }

  .naw-recolte-mode-card__header,
  .naw-recolte-section-heading {
    gap: 8px;
    margin-bottom: 8px;
  }

  .naw-recolte-form {
    gap: 10px;
  }

  .naw-recolte-overview-card__icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .naw-recolte-capacity-bonus,
  .naw-recolte-mode-card__header,
  .naw-recolte-section-heading,
  .naw-recolte-form-status {
    align-items: stretch;
    flex-direction: column;
  }

  .naw-recolte-capacity-bonus__values {
    justify-content: flex-start;
  }

  .naw-recolte-worker-grid,
  .naw-recolte-help-resource-grid,
  .naw-recolte-help-capacity-grid,
  .naw-recolte-help-mode-grid {
    grid-template-columns: 1fr;
  }

  .naw-recolte-help-capacity-grid__bonus {
    grid-column: auto;
  }

  .naw-recolte-premium-cta,
  .naw-recolte-submit {
    width: 100%;
  }

  .naw-recolte-section-heading__hint {
    align-self: flex-start;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .naw-recolte-page,
  .naw-recolte-help-page {
    gap: 8px;
    padding: 6px;
    font-size: 13px;
  }

  .naw-recolte-summary-stack {
    gap: 8px;
    margin: 5px 0 9px;
  }

  .naw-recolte-summary-card__header,
  .naw-recolte-detail-panel,
  .naw-recolte-inline-help,
  .naw-recolte-mode-card,
  .naw-recolte-distribution-panel,
  .naw-recolte-help-hero,
  .naw-recolte-help-section {
    padding: 8px;
  }

  .naw-recolte-overview-card,
  .naw-recolte-worker-card,
  .naw-recolte-distribution-card {
    gap: 8px;
    padding: 8px;
  }

  .naw-recolte-detail-content,
  .naw-recolte-consumption-values,
  .naw-recolte-help-flow {
    gap: 6px;
  }

  .naw-recolte-summary-card__text,
  .naw-recolte-coverage-status,
  .naw-recolte-inline-help__note,
  .naw-recolte-help-hero p,
  .naw-recolte-help-section p {
    line-height: 1.35;
  }

  .naw-recolte-mode-card__heading > strong,
  .naw-recolte-section-heading h3,
  .naw-recolte-inline-help__title {
    font-size: 1em;
  }

  .naw-recolte-worker-card strong,
  .naw-recolte-overview-card strong {
    font-size: 1.08em;
  }

  .naw-recolte-worker-input input,
  .naw-recolte-percent-input input {
    min-height: 36px;
    font-size: 16px;
  }

  .naw-recolte-distribution-card {
    align-items: stretch;
    flex-direction: column;
  }

  .naw-recolte-percent-input,
  .naw-recolte-percent-input input,
  .naw-recolte-worker-input input {
    width: 100%;
    max-width: none;
  }

  .naw-recolte-percent-input {
    position: relative;
  }

  .naw-recolte-percent-input > span {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
  }

  .naw-recolte-percent-input input {
    padding-right: 30px;
  }
}

/*
 * Récoltes V2 — interface compacte mobile-first
 * Les anciens sélecteurs restent disponibles pour les aides historiques,
 * mais le parcours principal utilise les blocs ci-dessous.
 */
.naw-recolte-page[data-recolte-ui="1"] {
  display: grid;
  gap: 8px;
  padding: 6px;
  font-size: 13px;
}

.naw-recolte-terrain-panel,
.naw-recolte-control-panel,
.naw-recolte-daily-panel {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(98, 44, 13, 0.26);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(98,44,13,.08)), rgba(240,223,195,.50);
  box-shadow: 0 2px 7px rgba(72, 41, 20, 0.08);
}

.naw-recolte-terrain-panel {
  border-color: rgba(66, 105, 49, 0.32);
  background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(66,105,49,.07)), rgba(231,222,185,.56);
}

.naw-recolte-panel-heading {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.naw-recolte-panel-heading > div:first-child {
  min-width: 0;
}

.naw-recolte-panel-heading h2 {
  margin: 1px 0 0;
  color: #34291f;
  font-size: 1.02em;
  line-height: 1.25;
}

.naw-recolte-coverage-badge,
.naw-recolte-distribution-head > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 4px 8px;
  border: 1px solid rgba(98,44,13,.22);
  border-radius: 999px;
  background: rgba(255,250,238,.58);
  color: #614d36;
  font-size: .8em;
  font-weight: 800;
  white-space: nowrap;
}

.naw-recolte-coverage-badge.is-full {
  border-color: rgba(48, 118, 55, .35);
  background: rgba(219, 239, 205, .76);
  color: #245d2d;
}

.naw-recolte-coverage-badge.is-partial {
  border-color: rgba(175, 111, 35, .34);
  background: rgba(246, 227, 184, .78);
  color: #7b521d;
}

.naw-recolte-coverage-badge.is-empty {
  border-color: rgba(163, 58, 46, .34);
  background: rgba(243, 215, 207, .75);
  color: #8b3429;
}

.naw-recolte-progress {
  height: 9px;
  overflow: hidden;
  border: 1px solid rgba(67, 83, 45, .22);
  border-radius: 999px;
  background: rgba(91, 73, 47, .12);
}

.naw-recolte-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5e883f, #83a958);
  transition: width .18s ease;
}

.naw-recolte-terrain-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 7px;
}

.naw-recolte-terrain-meta > span {
  min-width: 0;
  padding: 5px 6px;
  border-radius: 6px;
  background: rgba(255, 250, 238, .40);
  color: #665744;
  font-size: .78em;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.naw-recolte-terrain-meta b {
  color: #3b3024;
}

.naw-recolte-capacity-strip {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}

.naw-recolte-capacity-strip > span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(98,44,13,.15);
  border-radius: 999px;
  background: rgba(255,250,238,.45);
  color: #63513d;
  font-size: .78em;
  line-height: 1.2;
}

.naw-recolte-capacity-strip > span b {
  color: #3b3024;
}

.naw-recolte-capacity-bonus {
  border-color: rgba(67, 112, 48, .26) !important;
  background: rgba(226, 235, 201, .62) !important;
  color: #415534 !important;
}

.naw-recolte-capacity-bonus b {
  color: #304526 !important;
}

.naw-recolte-form {
  display: block;
  margin: 0;
}

.naw-recolte-panel-heading--controls {
  align-items: center;
}

.naw-recolte-mode-card__badge {
  min-height: 27px;
  margin: 0;
  padding: 4px 8px;
  white-space: nowrap;
}

.naw-recolte-workforce-compact,
.naw-recolte-workforce-manual {
  display: grid;
  gap: 6px;
  margin-bottom: 9px;
}

.naw-recolte-workforce-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.naw-recolte-workforce-copy {
  grid-column: 1 / -1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
  padding-bottom: 2px;
}

.naw-recolte-workforce-copy strong {
  color: #3d3024;
}

.naw-recolte-workforce-copy small {
  color: #756653;
  line-height: 1.3;
}

.naw-recolte-worker-compact,
.naw-recolte-worker-edit {
  min-width: 0;
  border: 1px solid rgba(98,44,13,.18);
  border-radius: 8px;
  background: rgba(255,250,238,.44);
}

.naw-recolte-worker-compact {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
}

.naw-recolte-worker-compact > div {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 1px;
}

.naw-recolte-worker-compact span,
.naw-recolte-worker-compact small,
.naw-recolte-worker-edit small {
  color: #756653;
  font-size: .78em;
  line-height: 1.25;
}

.naw-recolte-worker-compact strong {
  color: #33281e;
  font-size: 1.04em;
}

.naw-recolte-worker-compact small b,
.naw-recolte-worker-active b {
  color: #386330;
}

.naw-recolte-workforce-manual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.naw-recolte-worker-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  align-items: center;
  gap: 5px 7px;
  padding: 7px;
}

.naw-recolte-worker-edit__label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.naw-recolte-worker-edit__label > span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.naw-recolte-worker-edit__label strong {
  color: #3b3024;
  line-height: 1.2;
}

.naw-recolte-worker-input {
  min-width: 0;
}

.naw-recolte-worker-input input {
  width: 100%;
  max-width: none;
  min-height: 36px;
  margin: 0;
  padding: 5px 7px;
  font-size: 16px;
}

.naw-recolte-worker-active {
  grid-column: 1 / -1;
  padding-left: 30px;
}

.naw-recolte-distribution-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(98,44,13,.15);
}

.naw-recolte-distribution-head > div {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.naw-recolte-distribution-head strong {
  color: #3b3024;
}

.naw-recolte-distribution-head small {
  color: #756653;
  line-height: 1.25;
}

.naw-recolte-distribution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin-top: 6px;
}

.naw-recolte-distribution-card {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 7px;
  border: 1px solid rgba(98,44,13,.18);
  border-radius: 8px;
  background: rgba(255,250,238,.45);
}

.naw-recolte-distribution-card--food { border-left: 3px solid #8e6b32; }
.naw-recolte-distribution-card--wood { border-left: 3px solid #6c5133; }
.naw-recolte-distribution-card--water { border-left: 3px solid #47758c; }

.naw-recolte-distribution-card__resource {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.naw-recolte-distribution-card__resource strong {
  color: #3b3024;
}

.naw-recolte-percent-input {
  position: relative;
  display: inline-flex;
  flex: 0 0 80px;
  align-items: center;
}

.naw-recolte-percent-input input {
  width: 80px;
  min-height: 34px;
  padding: 4px 23px 4px 6px;
  font-size: 16px;
}

.naw-recolte-percent-input > span {
  position: absolute;
  right: 7px;
  color: #6d5c47;
  font-weight: 800;
  pointer-events: none;
}

.naw-recolte-activity-note {
  margin-top: 6px;
  padding: 6px 8px;
  border-left: 3px solid #7d6a3e;
  border-radius: 5px;
  background: rgba(231, 218, 184, .56);
  color: #5f513f;
  font-size: .79em;
  line-height: 1.35;
}

.naw-recolte-form-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(98,44,13,.14);
}

.naw-recolte-preview-warning {
  display: none;
  min-width: 0;
  color: #9a3d2e;
  font-size: .82em;
  font-weight: 700;
  line-height: 1.3;
}

.naw-recolte-preview-warning.is-visible {
  display: block;
}

.naw-recolte-submit {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 36px;
}

.naw-recolte-form-errors {
  margin-top: 5px;
  line-height: 1.35;
}

.naw-recolte-form-errors:empty {
  display: none;
}

.naw-recolte-daily-panel {
  padding-bottom: 8px;
}

.naw-recolte-panel-heading--daily {
  align-items: center;
}

.naw-recolte-daily-actions {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
}

.naw-recolte-detail-toggle,
.naw-recolte-premium-cta {
  min-height: 32px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: .82em;
}

.naw-recolte-daily-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.naw-recolte-daily-resource {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 7px 6px;
  border: 1px solid rgba(98,44,13,.17);
  border-radius: 8px;
  background: rgba(255,250,238,.43);
}

.naw-recolte-daily-resource__title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  color: #3b3024;
}

.naw-recolte-daily-resource__title strong {
  min-width: 0;
  font-size: .88em;
  overflow-wrap: anywhere;
}

.naw-recolte-daily-resource > span {
  display: grid;
  gap: 1px;
  color: #756653;
  font-size: .73em;
  line-height: 1.2;
}

.naw-recolte-daily-resource > span b {
  font-size: 1.16em;
  overflow-wrap: anywhere;
}

.naw-recolte-daily-resource > small {
  color: #756653;
  font-size: .7em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.naw-recolte-daily-resource .is-positive { color: #2b7337; }
.naw-recolte-daily-resource .is-negative { color: #a13d31; }

.naw-recolte-daily-panel > .naw-recolte-detail-panel {
  margin-top: 7px;
  border: 1px solid rgba(98,44,13,.18);
  border-radius: 8px;
}

.naw-recolte-notices:empty {
  display: none;
}

.naw-recolte-notices {
  padding: 6px 8px;
  border-left: 3px solid #9a7142;
  border-radius: 5px;
  background: rgba(235, 218, 187, .52);
  color: #62513d;
  font-size: .82em;
  line-height: 1.35;
}

@media (max-width: 359px) {
  .naw-recolte-terrain-meta {
    grid-template-columns: 1fr;
  }

  .naw-recolte-workforce-compact,
  .naw-recolte-workforce-manual {
    grid-template-columns: 1fr;
  }

  .naw-recolte-panel-heading--controls,
  .naw-recolte-panel-heading--daily {
    align-items: stretch;
    flex-direction: column;
  }

  .naw-recolte-daily-actions,
  .naw-recolte-premium-cta {
    width: 100%;
  }

  .naw-recolte-daily-actions > button {
    flex: 1 1 50%;
  }
}

@media (min-width: 520px) {
  .naw-recolte-page[data-recolte-ui="1"] {
    gap: 10px;
    padding: 8px;
    font-size: 14px;
  }

  .naw-recolte-terrain-panel,
  .naw-recolte-control-panel,
  .naw-recolte-daily-panel {
    padding: 11px;
  }

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

  .naw-recolte-distribution-card {
    min-height: 46px;
  }

  .naw-recolte-daily-resource {
    padding: 9px;
  }

  .naw-recolte-daily-resource__title strong {
    font-size: .95em;
  }

  .naw-recolte-daily-resource > span,
  .naw-recolte-daily-resource > small {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 5px;
  }
}

@media (min-width: 760px) {
  .naw-recolte-page[data-recolte-ui="1"] {
    gap: 12px;
    padding: 12px;
  }

  .naw-recolte-terrain-panel,
  .naw-recolte-control-panel,
  .naw-recolte-daily-panel {
    padding: 13px;
  }

  .naw-recolte-workforce-compact {
    grid-template-columns: minmax(200px, 1.3fr) repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .naw-recolte-workforce-copy {
    grid-column: auto;
    justify-content: center;
    padding: 0 8px 0 0;
  }

  .naw-recolte-terrain-meta > span {
    font-size: .82em;
  }

  .naw-recolte-daily-resource > span,
  .naw-recolte-daily-resource > small {
    font-size: .8em;
  }
}

/* Neutralise les anciens breakpoints desktop-first sur le nouveau parcours. */
.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-distribution-card {
  flex-direction: row;
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-percent-input {
  width: 80px;
  max-width: 80px;
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-form-status {
  flex-direction: row;
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-panel-heading--controls .naw-recolte-premium-cta {
  width: auto;
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-capacity-strip .naw-recolte-capacity-bonus {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  margin: 0;
  padding: 4px 7px;
  border: 1px solid rgba(67, 112, 48, .26);
  border-left-width: 1px;
  border-radius: 999px;
  box-shadow: none;
  line-height: 1.2;
}

@media (max-width: 359px) {
  .naw-recolte-page[data-recolte-ui="1"] .naw-recolte-form-status {
    align-items: stretch;
    flex-direction: column;
  }

  .naw-recolte-page[data-recolte-ui="1"] .naw-recolte-submit {
    width: 100%;
  }
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-detail-toggle {
  width: auto;
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-daily-actions > .naw-recolte-detail-toggle {
  flex: 0 0 auto;
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-workforce-manual {
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .naw-recolte-page[data-recolte-ui="1"] .naw-recolte-workforce-manual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*
 * Récoltes V2 — interface compacte mobile-first
 * Les anciens sélecteurs restent disponibles pour les aides historiques,
 * mais le parcours principal utilise les blocs ci-dessous.
 */
.naw-recolte-page[data-recolte-ui="1"] {
  display: grid;
  gap: 8px;
  padding: 6px;
  font-size: 13px;
}

.naw-recolte-terrain-panel,
.naw-recolte-control-panel,
.naw-recolte-daily-panel {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(98, 44, 13, 0.26);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(98,44,13,.08)), rgba(240,223,195,.50);
  box-shadow: 0 2px 7px rgba(72, 41, 20, 0.08);
}

.naw-recolte-terrain-panel {
  border-color: rgba(66, 105, 49, 0.32);
  background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(66,105,49,.07)), rgba(231,222,185,.56);
}

.naw-recolte-panel-heading {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.naw-recolte-panel-heading > div:first-child {
  min-width: 0;
}

.naw-recolte-panel-heading h2 {
  margin: 1px 0 0;
  color: #34291f;
  font-size: 1.02em;
  line-height: 1.25;
}

.naw-recolte-coverage-badge,
.naw-recolte-distribution-head > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 4px 8px;
  border: 1px solid rgba(98,44,13,.22);
  border-radius: 999px;
  background: rgba(255,250,238,.58);
  color: #614d36;
  font-size: .8em;
  font-weight: 800;
  white-space: nowrap;
}

.naw-recolte-coverage-badge.is-full {
  border-color: rgba(48, 118, 55, .35);
  background: rgba(219, 239, 205, .76);
  color: #245d2d;
}

.naw-recolte-coverage-badge.is-partial {
  border-color: rgba(175, 111, 35, .34);
  background: rgba(246, 227, 184, .78);
  color: #7b521d;
}

.naw-recolte-coverage-badge.is-empty {
  border-color: rgba(163, 58, 46, .34);
  background: rgba(243, 215, 207, .75);
  color: #8b3429;
}

.naw-recolte-progress {
  height: 9px;
  overflow: hidden;
  border: 1px solid rgba(67, 83, 45, .22);
  border-radius: 999px;
  background: rgba(91, 73, 47, .12);
}

.naw-recolte-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5e883f, #83a958);
  transition: width .18s ease;
}

.naw-recolte-terrain-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 7px;
}

.naw-recolte-terrain-meta > span {
  min-width: 0;
  padding: 5px 6px;
  border-radius: 6px;
  background: rgba(255, 250, 238, .40);
  color: #665744;
  font-size: .78em;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.naw-recolte-terrain-meta b {
  color: #3b3024;
}

.naw-recolte-capacity-strip {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}

.naw-recolte-capacity-strip > span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(98,44,13,.15);
  border-radius: 999px;
  background: rgba(255,250,238,.45);
  color: #63513d;
  font-size: .78em;
  line-height: 1.2;
}

.naw-recolte-capacity-strip > span b {
  color: #3b3024;
}

.naw-recolte-capacity-bonus {
  border-color: rgba(67, 112, 48, .26) !important;
  background: rgba(226, 235, 201, .62) !important;
  color: #415534 !important;
}

.naw-recolte-capacity-bonus b {
  color: #304526 !important;
}

.naw-recolte-form {
  display: block;
  margin: 0;
}

.naw-recolte-panel-heading--controls {
  align-items: center;
}

.naw-recolte-mode-card__badge {
  min-height: 27px;
  margin: 0;
  padding: 4px 8px;
  white-space: nowrap;
}

.naw-recolte-workforce-compact,
.naw-recolte-workforce-manual {
  display: grid;
  gap: 6px;
  margin-bottom: 9px;
}

.naw-recolte-workforce-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.naw-recolte-workforce-copy {
  grid-column: 1 / -1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
  padding-bottom: 2px;
}

.naw-recolte-workforce-copy strong {
  color: #3d3024;
}

.naw-recolte-workforce-copy small {
  color: #756653;
  line-height: 1.3;
}

.naw-recolte-worker-compact,
.naw-recolte-worker-edit {
  min-width: 0;
  border: 1px solid rgba(98,44,13,.18);
  border-radius: 8px;
  background: rgba(255,250,238,.44);
}

.naw-recolte-worker-compact {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
}

.naw-recolte-worker-compact > div {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 1px;
}

.naw-recolte-worker-compact span,
.naw-recolte-worker-compact small,
.naw-recolte-worker-edit small {
  color: #756653;
  font-size: .78em;
  line-height: 1.25;
}

.naw-recolte-worker-compact strong {
  color: #33281e;
  font-size: 1.04em;
}

.naw-recolte-worker-compact small b,
.naw-recolte-worker-active b {
  color: #386330;
}

.naw-recolte-workforce-manual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.naw-recolte-worker-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  align-items: center;
  gap: 5px 7px;
  padding: 7px;
}

.naw-recolte-worker-edit__label {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.naw-recolte-worker-edit__label > span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.naw-recolte-worker-edit__label strong {
  color: #3b3024;
  line-height: 1.2;
}

.naw-recolte-worker-input {
  min-width: 0;
}

.naw-recolte-worker-input input {
  width: 100%;
  max-width: none;
  min-height: 36px;
  margin: 0;
  padding: 5px 7px;
  font-size: 16px;
}

.naw-recolte-worker-active {
  grid-column: 1 / -1;
  padding-left: 30px;
}

.naw-recolte-distribution-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(98,44,13,.15);
}

.naw-recolte-distribution-head > div {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.naw-recolte-distribution-head strong {
  color: #3b3024;
}

.naw-recolte-distribution-head small {
  color: #756653;
  line-height: 1.25;
}

.naw-recolte-distribution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  margin-top: 6px;
}

.naw-recolte-distribution-card {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 7px;
  border: 1px solid rgba(98,44,13,.18);
  border-radius: 8px;
  background: rgba(255,250,238,.45);
}

.naw-recolte-distribution-card--food { border-left: 3px solid #8e6b32; }
.naw-recolte-distribution-card--wood { border-left: 3px solid #6c5133; }
.naw-recolte-distribution-card--water { border-left: 3px solid #47758c; }

.naw-recolte-distribution-card__resource {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.naw-recolte-distribution-card__resource strong {
  color: #3b3024;
}

.naw-recolte-percent-input {
  position: relative;
  display: inline-flex;
  flex: 0 0 80px;
  align-items: center;
}

.naw-recolte-percent-input input {
  width: 80px;
  min-height: 34px;
  padding: 4px 23px 4px 6px;
  font-size: 16px;
}

.naw-recolte-percent-input > span {
  position: absolute;
  right: 7px;
  color: #6d5c47;
  font-weight: 800;
  pointer-events: none;
}

.naw-recolte-activity-note {
  margin-top: 6px;
  padding: 6px 8px;
  border-left: 3px solid #7d6a3e;
  border-radius: 5px;
  background: rgba(231, 218, 184, .56);
  color: #5f513f;
  font-size: .79em;
  line-height: 1.35;
}

.naw-recolte-form-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(98,44,13,.14);
}

.naw-recolte-preview-warning {
  display: none;
  min-width: 0;
  color: #9a3d2e;
  font-size: .82em;
  font-weight: 700;
  line-height: 1.3;
}

.naw-recolte-preview-warning.is-visible {
  display: block;
}

.naw-recolte-submit {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 36px;
}

.naw-recolte-form-errors {
  margin-top: 5px;
  line-height: 1.35;
}

.naw-recolte-form-errors:empty {
  display: none;
}

.naw-recolte-daily-panel {
  padding-bottom: 8px;
}

.naw-recolte-panel-heading--daily {
  align-items: center;
}

.naw-recolte-daily-actions {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
}

.naw-recolte-detail-toggle,
.naw-recolte-premium-cta {
  min-height: 32px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: .82em;
}

.naw-recolte-daily-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.naw-recolte-daily-resource {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 7px 6px;
  border: 1px solid rgba(98,44,13,.17);
  border-radius: 8px;
  background: rgba(255,250,238,.43);
}

.naw-recolte-daily-resource__title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  color: #3b3024;
}

.naw-recolte-daily-resource__title strong {
  min-width: 0;
  font-size: .88em;
  overflow-wrap: anywhere;
}

.naw-recolte-daily-resource > span {
  display: grid;
  gap: 1px;
  color: #756653;
  font-size: .73em;
  line-height: 1.2;
}

.naw-recolte-daily-resource > span b {
  font-size: 1.16em;
  overflow-wrap: anywhere;
}

.naw-recolte-daily-resource > small {
  color: #756653;
  font-size: .7em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.naw-recolte-daily-resource .is-positive { color: #2b7337; }
.naw-recolte-daily-resource .is-negative { color: #a13d31; }

.naw-recolte-daily-panel > .naw-recolte-detail-panel {
  margin-top: 7px;
  border: 1px solid rgba(98,44,13,.18);
  border-radius: 8px;
}

.naw-recolte-notices:empty {
  display: none;
}

.naw-recolte-notices {
  padding: 6px 8px;
  border-left: 3px solid #9a7142;
  border-radius: 5px;
  background: rgba(235, 218, 187, .52);
  color: #62513d;
  font-size: .82em;
  line-height: 1.35;
}

@media (max-width: 359px) {
  .naw-recolte-terrain-meta {
    grid-template-columns: 1fr;
  }

  .naw-recolte-workforce-compact,
  .naw-recolte-workforce-manual {
    grid-template-columns: 1fr;
  }

  .naw-recolte-panel-heading--controls,
  .naw-recolte-panel-heading--daily {
    align-items: stretch;
    flex-direction: column;
  }

  .naw-recolte-daily-actions,
  .naw-recolte-premium-cta {
    width: 100%;
  }

  .naw-recolte-daily-actions > button {
    flex: 1 1 50%;
  }
}

@media (min-width: 520px) {
  .naw-recolte-page[data-recolte-ui="1"] {
    gap: 10px;
    padding: 8px;
    font-size: 14px;
  }

  .naw-recolte-terrain-panel,
  .naw-recolte-control-panel,
  .naw-recolte-daily-panel {
    padding: 11px;
  }

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

  .naw-recolte-distribution-card {
    min-height: 46px;
  }

  .naw-recolte-daily-resource {
    padding: 9px;
  }

  .naw-recolte-daily-resource__title strong {
    font-size: .95em;
  }

  .naw-recolte-daily-resource > span,
  .naw-recolte-daily-resource > small {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 5px;
  }
}

@media (min-width: 760px) {
  .naw-recolte-page[data-recolte-ui="1"] {
    gap: 12px;
    padding: 12px;
  }

  .naw-recolte-terrain-panel,
  .naw-recolte-control-panel,
  .naw-recolte-daily-panel {
    padding: 13px;
  }

  .naw-recolte-workforce-compact {
    grid-template-columns: minmax(200px, 1.3fr) repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .naw-recolte-workforce-copy {
    grid-column: auto;
    justify-content: center;
    padding: 0 8px 0 0;
  }

  .naw-recolte-terrain-meta > span {
    font-size: .82em;
  }

  .naw-recolte-daily-resource > span,
  .naw-recolte-daily-resource > small {
    font-size: .8em;
  }
}

/* Neutralise les anciens breakpoints desktop-first sur le nouveau parcours. */
.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-distribution-card {
  flex-direction: row;
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-percent-input {
  width: 80px;
  max-width: 80px;
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-form-status {
  flex-direction: row;
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-panel-heading--controls .naw-recolte-premium-cta {
  width: auto;
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-capacity-strip .naw-recolte-capacity-bonus {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  margin: 0;
  padding: 4px 7px;
  border: 1px solid rgba(67, 112, 48, .26);
  border-left-width: 1px;
  border-radius: 999px;
  box-shadow: none;
  line-height: 1.2;
}

@media (max-width: 359px) {
  .naw-recolte-page[data-recolte-ui="1"] .naw-recolte-form-status {
    align-items: stretch;
    flex-direction: column;
  }

  .naw-recolte-page[data-recolte-ui="1"] .naw-recolte-submit {
    width: 100%;
  }
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-detail-toggle {
  width: auto;
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-daily-actions > .naw-recolte-detail-toggle {
  flex: 0 0 auto;
}

.naw-recolte-page[data-recolte-ui="1"] .naw-recolte-workforce-manual {
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .naw-recolte-page[data-recolte-ui="1"] .naw-recolte-workforce-manual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ==========================================================================
 * Récoltes — comparateur d’interfaces Récolte 1 / Récolte 2
 * Récolte 1 conserve l’UI actuelle. Récolte 2 simplifie le parcours joueur.
 * ========================================================================== */
.naw-recolte-version-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(98, 44, 13, .18);
  border-radius: 10px;
  background: rgba(98, 44, 13, .07);
}

.naw-recolte-version-tab {
  display: grid;
  min-width: 0;
  min-height: 48px;
  place-items: center;
  gap: 1px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #65523e;
  font: inherit;
  line-height: 1.15;
  cursor: pointer;
}

.naw-recolte-version-tab > span {
  font-weight: 800;
}

.naw-recolte-version-tab > small {
  color: #826e58;
  font-size: .74em;
}

.naw-recolte-version-tab.is-active {
  border-color: rgba(67, 112, 48, .34);
  background: rgba(232, 240, 213, .86);
  box-shadow: 0 1px 4px rgba(72, 41, 20, .09);
  color: #304b29;
}

.naw-recolte-version-tab.is-active > small {
  color: #58704d;
}

.naw-recolte-version-tab:focus-visible {
  outline: 2px solid rgba(55, 105, 48, .64);
  outline-offset: 2px;
}

.naw-recolte-version-panel[hidden] {
  display: none !important;
}

.naw-recolte-version-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
}

/* Récolte 2 : la première lecture ne montre que Terrain -> Réglages -> Bilan. */
.naw-recolte-version-panel--simple .naw-recolte-simple-overview,
.naw-recolte-version-panel--simple .naw-recolte-simple-controls {
  border-color: rgba(77, 94, 46, .26);
}

.naw-recolte-simple-overview__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.naw-recolte-simple-overview__summary > span,
.naw-recolte-simple-details-grid > span {
  display: grid;
  min-width: 0;
  gap: 2px;
  padding: 7px 8px;
  border: 1px solid rgba(98, 44, 13, .12);
  border-radius: 7px;
  background: rgba(255, 250, 238, .42);
}

.naw-recolte-simple-overview__summary small,
.naw-recolte-simple-details-grid small {
  color: #786852;
  font-size: .75em;
  line-height: 1.2;
}

.naw-recolte-simple-overview__summary b,
.naw-recolte-simple-details-grid b {
  color: #3a2f24;
  font-size: .92em;
  overflow-wrap: anywhere;
}

.naw-recolte-simple-details-toggle {
  display: inline-flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  padding: 6px 9px;
  border: 1px dashed rgba(67, 91, 47, .34);
  border-radius: 7px;
  background: rgba(239, 235, 213, .58);
  color: #526044;
  font: inherit;
  font-size: .8em;
  font-weight: 700;
  cursor: pointer;
}

.naw-recolte-simple-details-toggle:hover,
.naw-recolte-simple-details-toggle:focus {
  border-style: solid;
  background: rgba(230, 237, 207, .74);
  color: #35482e;
}

.naw-recolte-simple-details {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(98, 44, 13, .13);
}

.naw-recolte-simple-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.naw-recolte-simple-capacity-strip {
  margin-top: 7px;
}

.naw-recolte-simple-step {
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(98, 44, 13, .13);
  border-radius: 8px;
  background: rgba(255, 250, 238, .31);
}

.naw-recolte-simple-step + .naw-recolte-simple-step {
  margin-top: 7px;
}

.naw-recolte-simple-step__heading {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}

.naw-recolte-simple-step__heading > span:first-child {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #5f7946;
  color: #fff;
  font-size: .82em;
  font-weight: 800;
}

.naw-recolte-simple-step__heading > div {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.naw-recolte-simple-step__heading strong {
  color: #3b3024;
}

.naw-recolte-simple-step__heading small {
  color: #756653;
  font-size: .78em;
  line-height: 1.25;
}

.naw-recolte-simple-step--distribution .naw-recolte-simple-step__heading {
  grid-template-columns: 28px minmax(0, 1fr) auto;
}

.naw-recolte-simple-total {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border: 1px solid rgba(98, 44, 13, .20);
  border-radius: 999px;
  background: rgba(255, 250, 238, .62);
  color: #614d36;
  font-size: .78em;
  white-space: nowrap;
}

.naw-recolte-simple-workers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.naw-recolte-simple-worker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 105px;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(98, 44, 13, .15);
  border-radius: 8px;
  background: rgba(255, 250, 238, .48);
}

.naw-recolte-simple-worker > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.naw-recolte-simple-worker > span > span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.naw-recolte-simple-worker strong {
  color: #3b3024;
}

.naw-recolte-simple-worker small {
  color: #756653;
  font-size: .76em;
}

.naw-recolte-simple-worker input {
  width: 100%;
  min-height: 36px;
  margin: 0;
  font-size: 16px;
}

.naw-recolte-simple-auto {
  display: grid;
  gap: 7px;
}

.naw-recolte-simple-auto__badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(71, 113, 51, .24);
  border-radius: 999px;
  background: rgba(224, 238, 205, .72);
  color: #31572e;
  font-size: .78em;
  font-weight: 800;
}

.naw-recolte-simple-auto__workers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.naw-recolte-simple-auto__workers > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border: 1px solid rgba(98, 44, 13, .14);
  border-radius: 8px;
  background: rgba(255, 250, 238, .46);
  color: #62513d;
  font-size: .82em;
}

.naw-recolte-simple-auto__workers b {
  color: #34291f;
  overflow-wrap: anywhere;
}

.naw-recolte-simple-distribution {
  margin-top: 0;
}

.naw-recolte-simple-status {
  margin-top: 6px;
  padding: 6px 8px;
  border-left: 3px solid #85734e;
  border-radius: 5px;
  background: rgba(235, 224, 193, .48);
  color: #615440;
  font-size: .8em;
  line-height: 1.3;
}

.naw-recolte-simple-status.is-good {
  border-left-color: #4e8248;
  background: rgba(223, 239, 207, .66);
  color: #315d31;
}

.naw-recolte-simple-status.is-warning {
  border-left-color: #ac7932;
  background: rgba(245, 228, 190, .70);
  color: #78531f;
}

.naw-recolte-simple-status.is-error {
  border-left-color: #a2473a;
  background: rgba(244, 215, 207, .72);
  color: #8a392f;
}

.naw-recolte-simple-submit-row {
  margin-top: 7px;
}

@media (max-width: 359px) {
  .naw-recolte-version-tab {
    min-height: 44px;
    padding-inline: 5px;
  }

  .naw-recolte-version-tab > small {
    font-size: .68em;
  }

  .naw-recolte-simple-overview__summary,
  .naw-recolte-simple-details-grid,
  .naw-recolte-simple-auto__workers {
    grid-template-columns: 1fr;
  }

  .naw-recolte-simple-step--distribution .naw-recolte-simple-step__heading {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .naw-recolte-simple-total {
    grid-column: 2;
    justify-self: start;
  }

  .naw-recolte-simple-worker {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 520px) {
  .naw-recolte-version-panel {
    gap: 10px;
  }

  .naw-recolte-simple-workers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .naw-recolte-simple-details-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .naw-recolte-version-tab {
    min-height: 52px;
  }

  .naw-recolte-version-tab > span {
    font-size: 1.02em;
  }

  .naw-recolte-simple-overview__summary {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

/* Récolte 3 — présentation classique proche de l'ancienne page S2. */
.naw-recolte-version-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.naw-recolte-version-panel--classic { display: block; }
.naw-recolte-version-panel--classic[hidden] { display: none !important; }

.naw-recolte-classic__intro,
.naw-recolte-classic__workers,
.naw-recolte-classic__form { color: #44382c; }

.naw-recolte-classic__intro p,
.naw-recolte-classic__workers p { margin: 0 0 8px; line-height: 1.5; }
.naw-recolte-classic__intro .info-recolte-capacite-recolte { margin: 7px 0 12px; }
.naw-recolte-classic__workers { margin-top: 10px; padding: 0; }

.naw-recolte-classic-worker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  line-height: 1.35;
}

.naw-recolte-classic-worker > input {
  width: 140px;
  max-width: 42vw;
  min-height: 38px;
  font-size: 16px;
}

.naw-recolte-classic-worker > span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.naw-recolte-classic-worker small { color: #756551; font-size: .82em; }
.naw-recolte-classic-worker--static > b { min-width: 110px; text-align: right; }

.naw-recolte-classic-premium {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 5px 0 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #634b21;
  font: inherit;
  cursor: pointer;
}

.naw-recolte-classic-auto-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #735519;
  font-weight: 700;
}

.naw-recolte-classic-distribution-wrap { max-width: 520px; margin: 18px auto 0; }
.naw-recolte-classic-distribution-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}
.naw-recolte-classic-distribution-heading > strong { color: #3d3024; }
.naw-recolte-classic-distribution-heading > span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(77, 104, 54, .28);
  border-radius: 999px;
  background: rgba(229, 239, 214, .72);
  color: #405f32;
  font-size: .82em;
  font-weight: 700;
  white-space: nowrap;
}

.naw-recolte-classic-distribution {
  overflow: hidden;
  border: 1px solid rgba(98, 44, 13, .25);
  border-radius: 8px;
  background: rgba(255, 252, 243, .62);
  box-shadow: 0 2px 6px rgba(63, 42, 22, .05);
}

.naw-recolte-classic-distribution__header,
.naw-recolte-classic-distribution__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px;
  align-items: center;
  gap: 10px;
}

.naw-recolte-classic-distribution__header {
  padding: 8px 12px;
  background: rgba(107, 76, 40, .10);
  color: #514330;
  font-size: .82em;
  font-weight: 700;
}
.naw-recolte-classic-distribution__header span:last-child { text-align: center; }
.naw-recolte-classic-distribution__row {
  margin: 0;
  padding: 8px 12px;
  border-top: 1px solid rgba(98, 44, 13, .12);
  cursor: pointer;
}
.naw-recolte-classic-distribution__row > span:first-child {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}
.naw-recolte-classic-percent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.naw-recolte-classic-percent input {
  width: 76px;
  min-height: 38px;
  font-size: 16px;
  text-align: center;
}

.naw-recolte-classic-status {
  margin-top: 7px;
  color: #665845;
  font-size: .82em;
  text-align: right;
}
.naw-recolte-classic-status.is-good { color: #35652f; }
.naw-recolte-classic-status.is-warning { color: #855b20; }
.naw-recolte-classic-status.is-error { color: #963d32; }

.naw-recolte-classic__result {
  margin-top: 16px;
  text-align: center;
  line-height: 1.55;
}
#recolte3Coverage.is-full b { color: #2f7833; }
#recolte3Coverage.is-partial b { color: #9a681e; }
#recolte3Coverage.is-empty b { color: #a44235; }
.naw-recolte-classic-remaining { margin-bottom: 2px; color: #765c39; font-size: .9em; }
.naw-recolte-classic__result .naw-recolte-preview-warning { max-width: 520px; margin: 8px auto; }
.naw-recolte-classic__result .btn { margin-top: 9px; }

@media (max-width: 420px) {
  .naw-recolte-version-tab { padding-inline: 5px; }
  .naw-recolte-version-tab > small { font-size: .64em; }
  .naw-recolte-classic-worker { align-items: flex-start; }
  .naw-recolte-classic-worker > input { width: 112px; max-width: 36vw; }
  .naw-recolte-classic-worker--static > b { min-width: 90px; }
  .naw-recolte-classic-distribution__header,
  .naw-recolte-classic-distribution__row {
    grid-template-columns: minmax(0, 1fr) 100px;
    gap: 7px;
    padding-inline: 9px;
  }
  .naw-recolte-classic-percent input { width: 64px; }
}

/* ============================================================
   Récoltes — densité de page et lisibilité mobile (2026-08)
   ============================================================ */
.naw-recolte-page,
.naw-recolte-page[data-recolte-ui="1"] {
  gap: 8px;
  padding: 0;
}

.naw-recolte-classic__workers {
  padding: 0;
}

@media (max-width: 600px) {
  /* Texte courant : lisible sans casser la hiérarchie visuelle. */
  .naw-recolte-page .naw-recolte-classic__intro p,
  .naw-recolte-page .naw-recolte-classic__workers p,
  .naw-recolte-page .naw-recolte-classic-worker,
  .naw-recolte-page .naw-recolte-classic__result,
  .naw-recolte-page #recolte3Coverage,
  .naw-recolte-page #recolte4Coverage {
    font-size: 15px;
    line-height: 1.4;
  }

  .naw-recolte-page .naw-recolte-classic-remaining {
    font-size: 14px;
    line-height: 1.4;
  }

  .naw-recolte-page .naw-recolte-classic-worker small,
  .naw-recolte-page .naw-recolte-classic-status,
  .naw-recolte-page .naw-recolte-simple-status,
  .naw-recolte-page .naw-recolte-simple-worker small,
  .naw-recolte-page .naw-recolte-simple-step__heading small,
  .naw-recolte-page .naw-recolte-simple-overview__summary small,
  .naw-recolte-page .naw-recolte-simple-details-grid small {
    font-size: 13px;
    line-height: 1.35;
  }

  .naw-recolte-page .naw-recolte-panel-heading--daily .naw-recolte-section-heading__eyebrow {
    font-size: 13px;
    line-height: 1.25;
  }

  .naw-recolte-page .naw-recolte-daily-actions .naw-recolte-detail-toggle,
  .naw-recolte-page .naw-recolte-panel-heading--daily > .naw-recolte-detail-toggle--premium {
    font-size: 13px;
  }

  .naw-recolte-page .naw-recolte-daily-resource__title strong {
    font-size: 15px;
  }

  .naw-recolte-page .naw-recolte-daily-resource > span,
  .naw-recolte-page .naw-recolte-daily-resource > small {
    font-size: 13px;
    line-height: 1.3;
  }

  .naw-recolte-page .naw-recolte-daily-resource > span b {
    font-size: 1.08em;
  }
}



/* Récoltes — actions du bilan plus visibles + résumé Premium compact. */
.naw-recolte-page .naw-recolte-daily-actions .naw-recolte-detail-toggle,
.naw-recolte-page .naw-recolte-panel-heading--daily > .naw-recolte-detail-toggle--premium {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 800;
}

.naw-recolte-page .info-recolte-capacite-recolte--premium-summary {
  padding: 6px 8px;
  font-size: 13px;
  line-height: 1.35;
}

.naw-recolte-page .info-recolte-capacite-recolte--premium-summary b {
  font-size: 1em;
}

@media (max-width: 600px) {
  .naw-recolte-page .naw-recolte-daily-actions .naw-recolte-detail-toggle,
  .naw-recolte-page .naw-recolte-panel-heading--daily > .naw-recolte-detail-toggle--premium {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 14px;
  }

  .naw-recolte-page .info-recolte-capacite-recolte--premium-summary,
  .naw-recolte-page .info-recolte-capacite-recolte--premium-summary b {
    font-size: 12px;
  }
}
