.growth-page {
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 16px;
}
.growth-panel {
  padding: 24px;
  margin: 18px 0;
  border: 1px solid #b8d9d0;
  border-radius: 20px;
  background: var(--card-bg, #fff);
  color: var(--text-color, #14283b);
}
.growth-panel p {
  color: #617589;
  line-height: 1.65;
}
.growth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.growth-card {
  padding: 20px;
  border: 1px solid #c6e0d8;
  border-radius: 16px;
  background: #f6fffb;
  color: #14283b;
  min-width: 0;
}
.growth-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.growth-logo svg {
  width: 28px;
  height: 28px;
}
.growth-card dl > div,
.growth-dialog dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #dcebe7;
}
.growth-card dd,
.growth-dialog dd {
  margin: 0;
  font-weight: 700;
  text-align: end;
}
.growth-fields,
.growth-actions {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
}
.growth-fields label {
  display: grid;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}
.growth-page input,
.growth-page select,
.growth-dialog input {
  min-height: 44px;
  padding: 9px;
  border: 1px solid #b8d9d0;
  border-radius: 10px;
  max-width: 100%;
  color: #14283b;
  background: #fff;
}
.growth-page button,
.growth-actions button,
.growth-actions a,
.growth-dialog button,
.growth-dialog a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #a1d6c5;
  border-radius: 10px;
  padding: 8px 14px;
  background: #e7faf2;
  color: #087955;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}
.growth-page button[type="submit"],
.growth-fields button {
  background: #20d69e;
  color: #072d24;
  font-weight: 700;
}
.growth-dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: 88vh;
  overflow: auto;
  padding: 24px;
  border: 1px solid #b8d9d0;
  border-radius: 20px;
  color: #14283b;
  background: #fff;
}
.growth-dialog::backdrop {
  background: #102d3b88;
}
.growth-dialog img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.growth-dialog svg {
  width: 100%;
  height: 160px;
}
.growth-dialog dl {
  font-size: 14px;
}
.growth-dialog .growth-actions {
  margin-top: 16px;
}
.growth-tools {
  margin: 16px 0;
}
.theme-dark .growth-panel {
  background: #102839;
  color: #e9fff7;
}
.theme-dark .growth-panel p {
  color: #b1c7d1;
}
.theme-dark .growth-card {
  background: #173446;
  color: #e9fff7;
}
.scanner-row-actions .growth-row-button {
  font-size: 11px;
  min-height: 30px;
  padding: 4px 7px;
  border: 1px solid #afd5c7;
  border-radius: 6px;
  background: #eefaf5;
  color: #087955;
  cursor: pointer;
}
.growth-status {
  min-height: 24px;
}
.growth-dialog:focus {
  outline: 2px solid #0b9569;
}
@media (max-width: 600px) {
  .growth-panel {
    padding: 16px;
  }
  .growth-fields > * {
    width: 100%;
  }
  .growth-dialog {
    padding: 16px;
  }
  .scanner-row-actions .growth-row-button {
    min-height: 44px;
  }
  .growth-actions {
    align-items: stretch;
  }
  .growth-actions > * {
    flex: 1;
  }
}

.position-dialog-settings[hidden] {
  display: none !important;
}
