.growth-admin-panel {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.growth-admin-panel[hidden] {
  display: none !important;
}

.growth-dashboard-head,
.growth-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.growth-dashboard-head h2 {
  margin: 4px 0 6px;
  color: #082f45;
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
}

.growth-dashboard-head p,
.growth-card-head p {
  margin: 0;
  color: #607780;
}

.growth-head-actions,
.growth-pipeline-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.growth-source-chip,
.growth-api-status,
.growth-ai-badge,
.growth-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid #cfe1e5;
  border-radius: 999px;
  background: #f6fbfb;
  color: #315763;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
}

.growth-api-status.configured,
.growth-ai-badge {
  border-color: #93ded5;
  background: #e7faf7;
  color: #007f74;
}

.growth-api-status.not-configured {
  border-color: #f2d49a;
  background: #fff7e7;
  color: #8b5a00;
}

.growth-alert {
  padding: 13px 16px;
  border: 1px solid #9adbd4;
  border-radius: 14px;
  background: #ebfaf8;
  color: #086d64;
}

.growth-alert.error {
  border-color: #f2b9b9;
  background: #fff1f1;
  color: #a12727;
}

.growth-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.growth-summary-grid article,
.growth-card,
.growth-methodology {
  min-width: 0;
  border: 1px solid #d8e5e8;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(12, 63, 82, .06);
}

.growth-summary-grid article {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  padding: 20px;
}

.growth-summary-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #00a995, #2d91d4);
}

.growth-summary-grid span,
.growth-summary-grid small {
  display: block;
  color: #6c8087;
}

.growth-summary-grid strong {
  display: block;
  margin: 7px 0 2px;
  color: #007f74;
  font-size: 1.65rem;
  line-height: 1.15;
}

.growth-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: 18px;
  align-items: start;
}

.growth-card {
  padding: 22px;
}

.growth-card-head {
  margin-bottom: 18px;
}

.growth-card-head h3 {
  margin: 0 0 4px;
  color: #082f45;
  font-size: 1.25rem;
}

.growth-search-form,
.sales-plan-form {
  display: grid;
  gap: 13px;
}

.growth-search-form {
  grid-template-columns: minmax(150px, .7fr) minmax(200px, 1.2fr) minmax(180px, 1fr) 110px;
  align-items: end;
}

.growth-search-form .button {
  grid-column: 1 / -1;
}

.growth-search-form label,
.sales-plan-form label,
.growth-prospect-edit label {
  display: grid;
  gap: 6px;
  color: #244d58;
  font-size: .88rem;
  font-weight: 700;
}

.growth-admin-panel input,
.growth-admin-panel select,
.growth-admin-panel textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid #bfd4d9;
  border-radius: 11px;
  background: #fff;
  color: #173c48;
  font: inherit;
}

.growth-admin-panel input,
.growth-admin-panel select {
  min-height: 45px;
  padding: 9px 11px;
}

.growth-admin-panel textarea {
  padding: 10px 11px;
  resize: vertical;
}

.growth-google-attribution {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin: 13px 0 8px;
  color: #74868c;
  font-size: .76rem;
}

.growth-google-attribution img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.place-search-results {
  display: grid;
  gap: 9px;
  max-height: 440px;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 3px;
}

.place-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px;
  border: 1px solid #dce8ea;
  border-radius: 14px;
  background: #fbfdfd;
}

.place-result h4,
.growth-prospect-main h4 {
  margin: 0 0 4px;
  color: #123c49;
}

.place-result p,
.growth-prospect-main p {
  margin: 3px 0;
  color: #637981;
  font-size: .9rem;
}

.place-result-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.place-result-actions a {
  color: #007f74;
  font-weight: 700;
  text-decoration: none;
}

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

.growth-plan-output-card {
  border-color: #8dded3;
  background: linear-gradient(145deg, #fff 0%, #f0fbfa 100%);
}

.sales-plan-output {
  display: grid;
  gap: 18px;
}

.plan-target-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.plan-target-grid article {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #d6e7e8;
}

.plan-target-grid span,
.plan-target-grid small {
  display: block;
  color: #71868d;
}

.plan-target-grid strong {
  display: block;
  margin: 5px 0;
  color: #007f74;
  font-size: 1.35rem;
}

.plan-section h4 {
  margin: 0 0 9px;
  color: #123c49;
}

.plan-product-list,
.plan-channel-grid,
.plan-week-grid {
  display: grid;
  gap: 10px;
}

.plan-product-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.plan-channel-grid,
.plan-week-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.plan-product,
.plan-channel,
.plan-week {
  padding: 14px;
  border: 1px solid #d7e6e8;
  border-radius: 14px;
  background: #fff;
}

.plan-product strong,
.plan-channel strong,
.plan-week strong {
  color: #0d4955;
}

.plan-product p,
.plan-channel p,
.plan-week p,
.plan-channel li,
.plan-week li,
.plan-guardrails li {
  color: #5d747c;
  font-size: .9rem;
}

.growth-pipeline-filters input {
  min-width: min(300px, 70vw);
}

.growth-pipeline-filters select {
  width: auto;
}

.growth-prospect-list {
  display: grid;
  gap: 10px;
}

.growth-prospect-row {
  border: 1px solid #dce7e9;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
}

.growth-prospect-summary {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) minmax(120px, .55fr) minmax(120px, .65fr) minmax(150px, .7fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.growth-prospect-metric small,
.growth-prospect-metric strong {
  display: block;
}

.growth-prospect-metric small {
  color: #7b8c92;
}

.growth-prospect-metric strong {
  color: #244d58;
  font-size: .92rem;
  overflow-wrap: anywhere;
}

.growth-prospect-detail {
  padding: 0 14px 14px;
  border-top: 1px solid #e4edef;
  background: #f9fcfc;
}

.growth-prospect-edit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 14px;
}

.growth-prospect-edit .wide {
  grid-column: span 2;
}

.growth-prospect-edit .full,
.growth-prospect-edit .button {
  grid-column: 1 / -1;
}

.growth-status-new { background: #edf7ff; color: #26618b; }
.growth-status-researching { background: #f6f1ff; color: #6851a4; }
.growth-status-contacted { background: #fff7e7; color: #8b5a00; }
.growth-status-qualified { background: #e8faf5; color: #087d68; }
.growth-status-proposal { background: #e7f7ff; color: #126a94; }
.growth-status-converted { background: #e6faea; color: #1e7735; }
.growth-status-lost { background: #f5f5f5; color: #6f6f6f; }

.growth-empty {
  margin: 0;
  padding: 22px;
  border: 1px dashed #bfd6da;
  border-radius: 14px;
  color: #73868c;
  text-align: center;
}

.growth-methodology {
  padding: 16px 20px;
  color: #5f757d;
}

.growth-methodology summary {
  cursor: pointer;
  color: #153f4b;
  font-weight: 800;
}

.growth-methodology ul {
  columns: 2;
}

@media (max-width: 1180px) {
  .growth-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .growth-workbench { grid-template-columns: 1fr; }
  .growth-search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .growth-prospect-summary { grid-template-columns: minmax(210px, 1.5fr) repeat(2, minmax(120px, .7fr)) auto; }
  .growth-prospect-summary .growth-prospect-metric:nth-of-type(3) { display: none; }
}

@media (max-width: 760px) {
  .growth-dashboard-head,
  .growth-card-head { display: grid; }
  .growth-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .growth-summary-grid article { min-height: 112px; padding: 16px; }
  .growth-card { padding: 16px; }
  .growth-search-form,
  .growth-form-grid,
  .growth-prospect-edit,
  .plan-target-grid { grid-template-columns: 1fr; }
  .growth-prospect-edit .wide { grid-column: auto; }
  .growth-prospect-edit .full,
  .growth-prospect-edit .button { grid-column: 1; }
  .place-result { grid-template-columns: 1fr; }
  .place-result-actions { justify-content: space-between; }
  .growth-prospect-summary { grid-template-columns: 1fr auto; }
  .growth-prospect-summary .growth-prospect-metric { display: none; }
  .growth-pipeline-filters { width: 100%; }
  .growth-pipeline-filters input,
  .growth-pipeline-filters select { width: 100%; min-width: 0; }
  .growth-methodology ul { columns: 1; }
}

@media (max-width: 430px) {
  .growth-summary-grid { grid-template-columns: 1fr; }
  .growth-summary-grid article { min-height: 100px; }
  .growth-head-actions { align-items: stretch; }
  .growth-head-actions > * { width: 100%; justify-content: center; }
}
