/* 长势监测帮助：沿用统一工作台的作物主题、固定标题与正文内部滚动规范。 */
.monitoring-dialog-overlay .growth-help-dialog {
  width: min(880px, 100%) !important;
  max-height: min(90vh, 920px) !important;
}

.growth-help-header {
  position: relative;
}

.growth-help-header-layout {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 14px;
}

.growth-help-header-icon,
.growth-help-parameter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.16);
}

.growth-help-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 21px;
}

.growth-help-header-copy {
  min-width: 0;
}

.growth-help-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--ui-note-size, 13px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.growth-help-header h3 {
  margin: 0;
  color: white;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 680;
}

.growth-help-header p {
  margin: 4px 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--ui-note-size, 13px);
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.growth-help-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.growth-help-close:hover,
.growth-help-close:focus-visible {
  background: rgba(255, 255, 255, 0.27);
  transform: translateY(-1px);
}

.growth-help-body {
  padding: 22px 24px 28px;
  color: #334155;
  background: #f8fafc;
}

.growth-help-summary,
.growth-help-section,
.growth-help-warning {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: white;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.045);
}

.growth-help-summary,
.growth-help-section {
  margin-bottom: 16px;
}

.growth-help-summary {
  overflow: hidden;
}

.growth-help-summary-main {
  min-height: 78px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--mw-accent) 8%, white), white 72%);
}

.growth-help-parameter {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.growth-help-parameter-icon {
  width: 44px;
  height: 44px;
  border-color: color-mix(in srgb, var(--mw-accent) 20%, transparent);
  border-radius: 12px;
  color: var(--mw-accent);
  background: color-mix(in srgb, var(--mw-accent) 11%, white);
  font-size: 18px;
}

.growth-help-parameter span,
.growth-help-method-grid article > span {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: var(--ui-note-size, 13px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.growth-help-parameter strong {
  display: block;
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: var(--ui-body-size, 16px);
  line-height: 1.4;
}

.growth-help-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: var(--ui-note-size, 13px);
  line-height: 1.2;
  font-weight: 700;
}

.growth-help-status.is-review {
  border-color: #fde68a;
  color: #92400e;
  background: #fffbeb;
}

.growth-help-status.is-experimental {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fef2f2;
}

.growth-help-facts {
  margin: 0;
  padding: 13px 17px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.growth-help-facts div {
  min-width: 0;
}

.growth-help-facts dt {
  margin: 0 0 3px;
  color: var(--ui-muted, #59697a);
  font-size: var(--ui-note-size, 13px);
  font-weight: 650;
}

.growth-help-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #334155;
  font-size: var(--ui-note-size, 13px);
  line-height: 1.45;
  font-weight: 650;
}

.growth-help-section {
  padding: 17px;
}

.growth-help-section h4 {
  margin: 0 0 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-size: var(--ui-body-size, 15px);
  line-height: 1.4;
  font-weight: 680;
}

.growth-help-section h4 i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--mw-accent);
  background: color-mix(in srgb, var(--mw-accent) 10%, white);
  font-size: var(--ui-note-size, 13px);
}

.growth-help-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.growth-help-method-grid article {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.growth-help-method-grid article:last-child {
  grid-column: 1 / -1;
}

.growth-help-method-grid p,
.growth-help-method-grid ul,
.growth-help-reading p,
.growth-help-warning p,
.growth-help-reference-note,
.growth-help-references ul {
  margin: 0;
  color: #475569;
  font-size: var(--ui-note-size, 13px);
  line-height: 1.7;
}

.growth-help-method-grid ul {
  padding-left: 18px;
  columns: 3;
  column-gap: 22px;
}

.growth-help-workflow {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.growth-help-workflow li {
  min-width: 0;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.growth-help-workflow li > span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  border-radius: 8px;
  color: white;
  background: var(--mw-accent);
  font-size: var(--ui-note-size, 13px);
  font-weight: 750;
}

.growth-help-workflow strong {
  color: #1e293b;
  font-size: var(--ui-note-size, 13px);
}

.growth-help-workflow p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: var(--ui-note-size, 13px);
  line-height: 1.55;
}

.growth-help-checklist {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.growth-help-checklist li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: #475569;
  font-size: var(--ui-note-size, 13px);
  line-height: 1.65;
}

.growth-help-checklist i {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--mw-accent);
  background: color-mix(in srgb, var(--mw-accent) 10%, white);
  font-size: var(--ui-note-size, 13px);
}

.growth-help-reading {
  display: grid;
  gap: 9px;
}

.growth-help-reading p {
  padding-left: 12px;
  border-left: 3px solid color-mix(in srgb, var(--mw-accent) 45%, #cbd5e1);
}

.growth-help-reading strong {
  color: #1e293b;
}

.growth-help-warning {
  margin-bottom: 16px;
  padding: 15px 17px;
  border-color: #fde68a;
  background: #fffbeb;
  box-shadow: none;
}

.growth-help-warning > div {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #92400e;
  font-size: var(--ui-note-size, 13px);
}

.growth-help-warning p {
  color: #78350f;
}

.growth-help-warning p + p {
  margin-top: 6px;
}

.growth-help-references {
  margin-bottom: 0;
}

.growth-help-reference-note {
  margin-bottom: 9px;
}

.growth-help-references ul {
  padding-left: 18px;
}

.growth-help-references li + li {
  margin-top: 5px;
}

.growth-help-references a {
  color: #2563eb;
  text-decoration: none;
}

.growth-help-references a:hover,
.growth-help-references a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .growth-help-header-layout {
    grid-template-columns: 42px minmax(0, 1fr) 36px;
    gap: 10px;
  }

  .growth-help-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 17px;
  }

  .growth-help-header h3 {
    font-size: 17px;
  }

  .growth-help-header p {
    display: none;
  }

  .growth-help-close {
    width: 36px;
    height: 36px;
  }

  .growth-help-body {
    padding: 14px !important;
  }

  .growth-help-summary-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .growth-help-facts,
  .growth-help-method-grid,
  .growth-help-workflow {
    grid-template-columns: 1fr;
  }

  .growth-help-method-grid article:last-child {
    grid-column: auto;
  }

  .growth-help-method-grid ul {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .growth-help-close {
    transition: none;
  }

  .growth-help-close:hover {
    transform: none;
  }
}
