:root {
  --grow-primary: #246bfe;
  --grow-primary-dark: #164fc4;
  --grow-bg: #f5f9ff;
  --grow-surface: #ffffff;
  --grow-text: #16213f;
  --grow-muted: #66718d;
  --grow-soft: #eaf2ff;
  --grow-border: #dbe7fb;
  --grow-green: #19b88a;
  --grow-coral: #ff7a6b;
  --grow-yellow: #f7b955;
  --grow-shadow: 0 18px 44px rgba(43, 90, 168, 0.14);
  color-scheme: light;
}

.grow-org-create-panel {
  margin-top: 16px;
}

.grow-org-create-form {
  display: grid;
  grid-template-columns: minmax(240px, 420px) auto 1fr;
  align-items: end;
  gap: 14px;
  padding: 0 24px 24px;
}

.grow-org-create-form .grow-field {
  margin: 0;
}

.grow-org-create-form .grow-btn {
  min-height: 42px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .grow-org-create-form {
    grid-template-columns: 1fr;
  }
}

/* Commercial task operations */
.grow-task-page-heading {
  position: relative;
}

.grow-task-new-button {
  align-self: center;
  min-width: 132px;
}

.grow-task-new-button svg {
  width: 18px;
  height: 18px;
}

.grow-task-operations-bar {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid #e5edf8;
  border-bottom: 1px solid #e5edf8;
  background: #f8faff;
}

.grow-task-operations-bar label {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 240px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d8e4f5;
  border-radius: 6px;
  background: #fff;
  color: #7890b3;
}

.grow-task-operations-bar label:focus-within {
  border-color: var(--grow-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--grow-primary) 12%, transparent);
}

.grow-task-operations-bar label svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.grow-task-operations-bar input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 9px;
  background: transparent;
  color: #18345c;
}

.grow-task-operations-bar select,
.grow-analytics-cycle-select,
.grow-task-cycle-quick {
  height: 40px;
  border: 1px solid #d8e4f5;
  border-radius: 6px;
  padding: 0 34px 0 12px;
  background: #fff;
  color: #294568;
}

.grow-task-cycle-quick {
  width: 152px;
  margin-left: 12px;
  align-self: center;
}

.grow-task-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.grow-task-edit-form .is-wide {
  grid-column: 1 / -1;
}

.grow-task-edit-material {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d8e4f5;
  border-radius: 6px;
  background: #f8fbff;
}

.grow-task-edit-material span {
  display: grid;
  gap: 2px;
}

.grow-task-edit-material strong {
  color: #1c385f;
  font-size: 14px;
}

.grow-task-edit-material small {
  color: #7f92ad;
  font-size: 12px;
}

.grow-task-edit-recipients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 240px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border: 1px solid #dde7f5;
  border-radius: 6px;
}

.grow-task-edit-recipients legend {
  padding: 0 6px;
  color: #294568;
  font-weight: 700;
}

.grow-task-edit-recipients label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #e4ebf6;
  border-radius: 6px;
  background: #fff;
}

.grow-task-edit-recipients label span {
  display: grid;
  min-width: 0;
  color: #203d66;
  font-weight: 700;
}

.grow-task-edit-recipients label small {
  overflow: hidden;
  color: #8294ae;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-manual-grading {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  background: #f7faff;
}

.grow-manual-grading > header {
  margin-bottom: 14px;
}

.grow-manual-grading h3,
.grow-manual-grading p {
  margin: 0;
}

.grow-manual-grading p {
  margin-top: 4px;
  color: #6d82a1;
}

.grow-manual-grading > label:not(.grow-task-note) {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #e0e8f4;
  border-radius: 6px;
  background: #fff;
}

.grow-manual-grading > label > span {
  display: grid;
  flex: 1;
  gap: 3px;
  color: #203d66;
}

.grow-manual-grading > label small {
  color: #7890b3;
}

.grow-manual-grading input[type="number"] {
  width: 104px;
  height: 40px;
  border: 1px solid #cddbf0;
  border-radius: 6px;
  padding: 0 10px;
  color: #17345d;
}

.grow-task-publish-preview .grow-question-response {
  max-height: 58vh;
  overflow: auto;
  margin-top: 18px;
}

.grow-analytics-modal-head > div:last-child {
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .grow-task-operations-bar,
  .grow-task-edit-form {
    grid-template-columns: 1fr;
  }

  .grow-task-operations-bar {
    display: grid;
  }

  .grow-task-operations-bar label {
    min-width: 0;
  }

  .grow-task-edit-form .is-wide {
    grid-column: auto;
  }

  .grow-task-edit-recipients {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .grow-task-edit-recipients {
    grid-template-columns: 1fr;
  }

  .grow-task-cycle-quick {
    width: 100%;
    margin: 10px 0 0;
  }
}

/* Questionnaire and exam analytics workspace */
.grow-managed-task.is-analysis-task {
  padding: 18px 20px 14px;
}

.grow-managed-task-analytics-summary {
  display: grid;
  grid-template-columns: 120px 120px minmax(180px, 1fr) auto;
  align-items: center;
  gap: 0;
  min-height: 72px;
  margin-top: 14px;
  border: 1px solid #dce6f3;
  border-radius: 6px;
  background: #f8fbff;
}

.grow-managed-task-analytics-summary > div {
  display: flex;
  min-width: 0;
  min-height: 42px;
  padding: 0 16px;
  border-right: 1px solid #e0e8f3;
  flex-direction: column;
  justify-content: center;
}

.grow-managed-task-analytics-summary span {
  color: #71839f;
  font-size: 11px;
}

.grow-managed-task-analytics-summary strong {
  margin-top: 3px;
  color: #153666;
  font-size: 20px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.grow-managed-task-analytics-summary strong em {
  margin-left: 2px;
  color: #71839f;
  font-size: 11px;
  font-style: normal;
}

.grow-managed-task-analytics-summary strong.is-date {
  overflow: hidden;
  color: #344f75;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-managed-task-analytics-summary > .grow-btn {
  min-width: 142px;
  margin: 0 14px;
}

.grow-task-analytics-modal {
  width: min(1120px, calc(100vw - 32px));
  max-height: min(920px, calc(100vh - 32px));
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.grow-analytics-modal-head {
  display: flex;
  position: sticky;
  z-index: 5;
  top: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #e2e9f3;
  background: rgba(255, 255, 255, 0.98);
}

.grow-analytics-modal-head > div:first-child {
  min-width: 0;
}

.grow-analytics-modal-head > div:first-child > div,
.grow-analytics-modal-head > div:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grow-analytics-modal-head > div:first-child > div > span:last-child {
  color: #71839f;
  font-size: 12px;
}

.grow-analytics-modal-head h2 {
  margin: 8px 0 3px;
  color: #132a55;
  font-size: 22px;
  letter-spacing: 0;
}

.grow-analytics-modal-head p {
  margin: 0;
  color: #71839f;
  font-size: 12px;
}

.grow-analytics-modal-head .grow-btn {
  min-height: 38px;
  text-decoration: none;
}

.grow-analytics-modal-head .grow-btn svg {
  width: 16px;
  height: 16px;
}

.grow-analytics-modal-head .grow-modal-close {
  position: static;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}

.grow-analytics-tabs {
  display: flex;
  position: sticky;
  z-index: 4;
  top: 98px;
  gap: 4px;
  padding: 0 24px;
  border-bottom: 1px solid #e2e9f3;
  background: rgba(255, 255, 255, 0.98);
}

.grow-analytics-tabs button {
  display: inline-flex;
  position: relative;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: #657895;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.grow-analytics-tabs button::after {
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: transparent;
  content: "";
}

.grow-analytics-tabs button:hover {
  color: var(--grow-primary);
}

.grow-analytics-tabs button.is-active {
  color: var(--grow-primary);
}

.grow-analytics-tabs button.is-active::after {
  background: var(--grow-primary);
}

.grow-analytics-tabs svg {
  width: 16px;
  height: 16px;
}

.grow-analytics-tab-panel {
  padding: 20px 24px 28px;
}

.grow-analytics-tab-panel[hidden] {
  display: none;
}

.grow-analytics-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.grow-analytics-kpis article {
  display: flex;
  min-height: 104px;
  padding: 16px;
  border: 1px solid #dfe7f2;
  border-radius: 6px;
  background: #fff;
  flex-direction: column;
  justify-content: center;
}

.grow-analytics-kpis span,
.grow-analytics-kpis small {
  color: #75859d;
  font-size: 11px;
}

.grow-analytics-kpis strong {
  margin: 6px 0 4px;
  color: #153666;
  font-size: 25px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

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

.grow-analytics-panel {
  min-height: 290px;
  padding: 18px;
  border: 1px solid #dfe7f2;
  border-radius: 6px;
  background: #fff;
}

.grow-analytics-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 48px;
  margin-bottom: 14px;
  border-bottom: 1px solid #edf1f6;
}

.grow-analytics-panel h3 {
  margin: 0;
  color: #20375f;
  font-size: 15px;
}

.grow-analytics-panel header p {
  margin: 3px 0 0;
  color: #8090a7;
  font-size: 11px;
}

.grow-analytics-ring-wrap {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  min-height: 195px;
  align-items: center;
  gap: 24px;
}

.grow-analytics-ring {
  display: grid;
  width: 138px;
  height: 138px;
  padding: 12px;
  border-radius: 50%;
  background: conic-gradient(var(--grow-primary) calc(var(--analytics-value) * 1%), #e7edf6 0);
  place-items: center;
}

.grow-analytics-ring > div {
  display: flex;
  width: 114px;
  height: 114px;
  border-radius: 50%;
  background: #fff;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.grow-analytics-ring strong {
  color: #153666;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}

.grow-analytics-ring span {
  color: #7a8ba4;
  font-size: 11px;
}

.grow-analytics-ring-wrap dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.grow-analytics-ring-wrap dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf1f6;
}

.grow-analytics-ring-wrap dt {
  color: #71839f;
  font-size: 12px;
}

.grow-analytics-ring-wrap dd {
  margin: 0;
  color: #20375f;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.grow-analytics-bars {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.grow-analytics-bar-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(110px, 1.4fr) 42px;
  align-items: center;
  gap: 12px;
}

.grow-analytics-bar-row > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.grow-analytics-bar-row strong {
  overflow: hidden;
  color: #324b70;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-analytics-bar-row span {
  color: #8493aa;
  font-size: 10px;
}

.grow-analytics-bar-row > i,
.grow-question-option-analysis > div > div > i {
  display: block;
  overflow: hidden;
  height: 7px;
  border-radius: 4px;
  background: #e8eef6;
}

.grow-analytics-bar-row > i b,
.grow-question-option-analysis > div > div > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grow-primary);
}

.grow-analytics-bar-row em {
  color: #405a7e;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.grow-score-bands {
  display: grid;
  min-height: 205px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
}

.grow-score-bands > div {
  display: grid;
  grid-template-rows: 150px 20px 20px;
  text-align: center;
}

.grow-score-bands > div > span {
  display: flex;
  overflow: hidden;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 1px solid #dfe7f2;
}

.grow-score-bands > div > span b {
  display: block;
  width: min(36px, 70%);
  border-radius: 4px 4px 0 0;
  background: #4c86e8;
  min-height: 4px;
}

.grow-score-bands > div:nth-child(1) > span b,
.grow-score-bands > div:nth-child(2) > span b {
  background: #19a979;
}

.grow-score-bands > div:nth-child(5) > span b {
  background: #d75b67;
}

.grow-score-bands strong {
  color: #344f75;
  font-size: 12px;
}

.grow-score-bands small {
  color: #7e8da5;
  font-size: 10px;
}

.grow-analytics-recent {
  display: grid;
}

.grow-analytics-recent button {
  display: grid;
  min-height: 52px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  background: transparent;
  grid-template-columns: 30px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.grow-analytics-recent button:hover strong {
  color: var(--grow-primary);
}

.grow-analytics-recent button > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.grow-analytics-recent strong {
  color: #304b73;
  font-size: 12px;
}

.grow-analytics-recent small,
.grow-analytics-recent time {
  color: #8493aa;
  font-size: 10px;
}

.grow-analytics-recent b {
  padding: 3px 6px;
  border-radius: 4px;
  background: #edf3fb;
  color: #486383;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.grow-analytics-recent b.is-passed {
  background: #e4f7f0;
  color: #087b56;
}

.grow-analytics-recent b.is-unpassed {
  background: #fff1e1;
  color: #956012;
}

.grow-analytics-recent svg {
  width: 15px;
  height: 15px;
  color: #8fa0b8;
}

.grow-task-analytics-empty {
  display: flex;
  min-height: 170px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.grow-task-analytics-empty > span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 6px;
  background: #edf4fd;
  color: #5d83ba;
  place-items: center;
}

.grow-task-analytics-empty svg {
  width: 20px;
  height: 20px;
}

.grow-task-analytics-empty h3 {
  margin: 0;
  color: #355174;
  font-size: 14px;
}

.grow-task-analytics-empty p {
  max-width: 320px;
  margin: 5px 0 0;
  color: #8493aa;
  font-size: 11px;
  line-height: 1.6;
}

.grow-question-analytics-list {
  display: grid;
  gap: 12px;
}

.grow-question-analytics-card {
  padding: 18px;
  border: 1px solid #dfe7f2;
  border-radius: 6px;
  background: #fff;
}

.grow-question-analytics-card > header {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.grow-question-analytics-card > header > div > span {
  color: #7a8ba4;
  font-size: 10px;
}

.grow-question-analytics-card h3 {
  margin: 4px 0 0;
  color: #20375f;
  font-size: 15px;
  line-height: 1.55;
}

.grow-question-analytics-card dl {
  display: flex;
  gap: 18px;
  margin: 0;
}

.grow-question-analytics-card dl div {
  min-width: 58px;
  text-align: right;
}

.grow-question-analytics-card dt {
  color: #8493aa;
  font-size: 10px;
}

.grow-question-analytics-card dd {
  margin: 3px 0 0;
  color: #344f75;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.grow-question-analytics-card dd.is-good {
  color: #087b56;
}

.grow-question-analytics-card dd.is-attention {
  color: #a86412;
}

.grow-question-option-analysis {
  display: grid;
  gap: 10px;
  margin: 16px 0 0 42px;
  padding-top: 14px;
  border-top: 1px solid #edf1f6;
}

.grow-question-option-analysis > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(240px, 1.4fr);
  align-items: center;
  gap: 18px;
}

.grow-question-option-analysis > div > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.grow-question-option-analysis > div > span i {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #edf3fb;
  color: #4b6e9d;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  place-items: center;
}

.grow-question-option-analysis > div > span strong {
  overflow-wrap: anywhere;
  color: #405a7e;
  font-size: 12px;
}

.grow-question-option-analysis > div > div {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) 98px;
  align-items: center;
  gap: 10px;
}

.grow-question-option-analysis > div > div em {
  color: #657895;
  font-size: 10px;
  font-style: normal;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.grow-question-key {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 14px 0 0 42px;
  padding: 9px 11px;
  border-left: 3px solid #19a979;
  background: #f0faf6;
  color: #356c5c;
  font-size: 11px;
}

.grow-question-key svg {
  width: 15px;
  height: 15px;
}

.grow-question-text-samples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0 42px;
  padding-top: 14px;
  border-top: 1px solid #edf1f6;
}

.grow-question-text-samples blockquote {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid #e2e9f3;
  border-radius: 5px;
  background: #fafcff;
}

.grow-question-text-samples p {
  margin: 0;
  color: #405a7e;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.grow-question-text-samples footer {
  margin-top: 8px;
  color: #8493aa;
  font-size: 10px;
}

.grow-analytics-table-wrap {
  overflow: auto;
  border: 1px solid #dfe7f2;
  border-radius: 6px;
  background: #fff;
}

.grow-analytics-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
}

.grow-analytics-table th,
.grow-analytics-table td {
  height: 56px;
  padding: 8px 14px;
  border-bottom: 1px solid #edf1f6;
  color: #526987;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}

.grow-analytics-table th {
  height: 42px;
  background: #f7f9fc;
  color: #71839f;
  font-size: 11px;
  font-weight: 700;
}

.grow-analytics-table tr:last-child td {
  border-bottom: 0;
}

.grow-analytics-table td:last-child {
  text-align: right;
}

.grow-analytics-person {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.grow-analytics-person i {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e8f1ff;
  color: var(--grow-primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  place-items: center;
}

.grow-analytics-person strong {
  color: #2b466d;
  font-size: 12px;
}

.grow-result-label {
  display: inline-flex;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 4px;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
}

.grow-result-label.is-passed {
  background: #e4f7f0;
  color: #087b56;
}

.grow-result-label.is-unpassed {
  background: #fff1e1;
  color: #956012;
}

.grow-table-muted {
  color: #9aa6b8;
  font-size: 11px;
}

@media (max-width: 900px) {
  .grow-managed-task-analytics-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grow-managed-task-analytics-summary > div {
    padding: 0 12px;
  }

  .grow-managed-task-analytics-summary > .grow-btn {
    grid-column: 1 / -1;
    margin: 10px 12px 12px;
  }

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

  .grow-analytics-overview-grid {
    grid-template-columns: 1fr;
  }

  .grow-analytics-tabs {
    top: 117px;
  }
}

@media (max-width: 620px) {
  .grow-task-analytics-modal {
    width: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }

  .grow-analytics-modal-head {
    padding: 16px;
  }

  .grow-analytics-modal-head h2 {
    font-size: 18px;
  }

  .grow-analytics-modal-head .grow-btn {
    display: none;
  }

  .grow-analytics-tabs {
    top: 92px;
    padding: 0 8px;
  }

  .grow-analytics-tabs button {
    flex: 1;
    justify-content: center;
    padding: 0 6px;
    font-size: 11px;
  }

  .grow-analytics-tab-panel {
    padding: 12px;
  }

  .grow-analytics-kpis {
    gap: 8px;
  }

  .grow-analytics-kpis article {
    min-height: 88px;
    padding: 12px;
  }

  .grow-analytics-kpis strong {
    font-size: 20px;
  }

  .grow-analytics-panel {
    min-height: 0;
    padding: 14px;
  }

  .grow-analytics-ring-wrap {
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 12px;
  }

  .grow-analytics-ring {
    width: 116px;
    height: 116px;
    padding: 10px;
  }

  .grow-analytics-ring > div {
    width: 96px;
    height: 96px;
  }

  .grow-analytics-ring strong {
    font-size: 23px;
  }

  .grow-question-analytics-card {
    padding: 14px;
  }

  .grow-question-analytics-card > header {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .grow-question-analytics-card dl {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 8px;
  }

  .grow-question-analytics-card dl div {
    text-align: left;
  }

  .grow-question-option-analysis,
  .grow-question-key,
  .grow-question-text-samples {
    margin-left: 0;
  }

  .grow-question-option-analysis > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .grow-question-text-samples {
    grid-template-columns: 1fr;
  }
}

/* Assigned tasks and personal growth dashboard */
.grow-page-heading,
.grow-growth-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 126px;
  padding: 24px 28px;
  border: 1px solid #dbe7f8;
  border-radius: 8px;
  background: #f5f9ff;
}

.grow-task-page-heading {
  min-height: 138px;
  padding: 24px 30px;
  border-color: #d7e3f4;
  background: #f3f7fd;
}

.grow-task-heading-copy {
  min-width: 0;
}

.grow-task-heading-stats {
  display: grid;
  flex: 0 0 330px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #d9e4f3;
  border-radius: 8px;
  background: #fff;
}

.grow-task-heading-stats > div {
  min-width: 0;
  padding: 16px 14px;
  border-right: 1px solid #e7edf5;
  text-align: center;
}

.grow-task-heading-stats > div:last-child {
  border-right: 0;
}

.grow-task-heading-stats strong,
.grow-task-heading-stats span {
  display: block;
}

.grow-task-heading-stats strong {
  color: #12366e;
  font-size: 24px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.grow-task-heading-stats span {
  margin-top: 7px;
  color: #71829c;
  font-size: 11px;
  font-weight: 700;
}

.grow-page-heading h1,
.grow-growth-hero h1 {
  margin: 5px 0 8px;
  color: #102655;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
}

.grow-page-heading p,
.grow-growth-hero p {
  max-width: 720px;
  margin: 0;
  color: #607493;
  line-height: 1.7;
}

.grow-section-kicker {
  color: var(--grow-primary);
  font-size: 12px;
  font-weight: 800;
}

.grow-page-heading-mark,
.grow-task-publish-icon {
  display: grid;
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid #cfdef5;
  border-radius: 8px;
  background: #fff;
  color: var(--grow-primary);
}

.grow-page-heading-mark svg,
.grow-task-publish-icon svg {
  width: 28px;
  height: 28px;
}

.grow-task-publish-icon {
  width: 42px;
  height: 42px;
  border: 0;
  background: #edf4ff;
}

.grow-task-publish-icon svg {
  width: 20px;
  height: 20px;
}

.grow-task-publish,
.grow-assigned-task-list {
  margin-top: 14px;
  border: 1px solid #d9e3f0;
  border-radius: 8px;
  background: #fff;
}

.grow-task-publish {
  overflow: hidden;
  padding: 0;
}

.grow-task-publish > header,
.grow-assigned-task-list > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.grow-task-publish > header {
  justify-content: flex-start;
  padding: 18px 20px;
  border-bottom: 1px solid #e5ebf3;
  background: #fbfcfe;
}

.grow-task-publish h2,
.grow-assigned-task-list h2,
.grow-growth-panel h2 {
  margin: 2px 0 4px;
  color: #102655;
  font-size: 19px;
  letter-spacing: 0;
}

.grow-task-publish header p,
.grow-assigned-task-list header p,
.grow-growth-panel header p {
  margin: 0;
  color: #7486a3;
  font-size: 14px;
}

.grow-task-publish-form {
  display: grid;
  grid-template-columns: minmax(300px, 1.45fr) minmax(210px, 0.9fr) minmax(230px, 0.95fr);
  gap: 14px 12px;
  margin-top: 0;
  padding: 20px;
}

.grow-task-type-selector {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.grow-task-type-selector legend {
  grid-column: 1 / -1;
  padding: 0;
  margin-bottom: 2px;
  color: #425778;
  font-size: 12px;
  font-weight: 700;
}

.grow-task-type-selector label {
  min-width: 0;
  cursor: pointer;
}

.grow-task-type-selector input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.grow-task-type-selector label > span {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 1px 10px;
  min-height: 62px;
  padding: 10px 13px;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  background: #fbfcfe;
  color: #6b7f9e;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.grow-task-type-selector label:hover > span {
  border-color: #a9c3ea;
  background: #f7faff;
}

.grow-task-type-selector input:focus-visible + span {
  outline: 3px solid rgba(36, 107, 254, 0.16);
  outline-offset: 2px;
}

.grow-task-type-selector label > span > svg {
  grid-row: 1 / 3;
  align-self: center;
  width: 20px;
  height: 20px;
}

.grow-task-type-selector strong {
  align-self: end;
  color: #294267;
  font-size: 14px;
}

.grow-task-type-selector small {
  overflow: hidden;
  color: #8291a8;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-task-type-selector label.is-active > span {
  border-color: var(--grow-primary);
  background: #f1f6ff;
  box-shadow: inset 3px 0 var(--grow-primary), 0 0 0 1px rgba(36, 107, 254, 0.05);
  color: var(--grow-primary);
}

.grow-task-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.grow-task-custom-repeat[hidden],
.grow-task-recipient-picker[hidden],
.grow-task-options[hidden],
.grow-question-import[hidden],
.grow-exam-pass-score[hidden],
.grow-task-standard-options[hidden] {
  display: none !important;
}

.grow-task-field > span,
.grow-task-options label > span,
.grow-task-note > span {
  color: #405575;
  font-size: 12px;
  font-weight: 700;
}

.grow-task-field em,
.grow-task-note em {
  color: #8b9ab1;
  font-style: normal;
  font-weight: 500;
}

.grow-task-field input,
.grow-task-field select,
.grow-task-field textarea,
.grow-task-options select,
.grow-task-detail-section textarea,
.grow-task-note textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border: 1px solid #d3deec;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: #1d3157;
  font: inherit;
}

.grow-task-field input,
.grow-task-field select,
.grow-task-options select {
  padding: 0 12px;
}

.grow-task-field textarea,
.grow-task-detail-section textarea,
.grow-task-note textarea {
  min-height: 72px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.6;
}

.grow-task-field input:focus,
.grow-task-field select:focus,
.grow-task-field textarea:focus,
.grow-task-options select:focus,
.grow-task-detail-section textarea:focus,
.grow-task-note textarea:focus {
  border-color: var(--grow-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--grow-primary) 12%, transparent);
}

.grow-task-field.is-wide,
.grow-task-recipient-picker.is-wide,
.grow-task-options.is-wide,
.grow-question-import.is-wide,
.grow-task-publish-form > footer.is-wide {
  grid-column: 1 / -1;
}

.grow-question-import {
  padding: 16px 18px;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  background: #f8fafc;
}

.grow-question-import > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.grow-question-import > header strong {
  color: #213b66;
  font-size: 15px;
}

.grow-question-import > header p {
  margin: 3px 0 0;
  color: #8090a7;
  font-size: 12px;
}

.grow-question-import-drop {
  display: flex;
  position: relative;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 11px 15px;
  border: 1px dashed #a9bfdf;
  border-radius: 6px;
  background: #fff;
  color: var(--grow-primary);
  cursor: pointer;
}

.grow-question-import-drop > svg {
  width: 28px;
  height: 28px;
}

.grow-question-import-drop > span {
  display: flex;
  flex-direction: column;
}

.grow-question-import-drop strong {
  color: #25456f;
  font-size: 14px;
}

.grow-question-import-drop small {
  margin-top: 2px;
  color: #8291a8;
}

.grow-question-import-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.grow-question-import-result {
  margin-top: 10px;
}

.grow-question-import-result > p,
.grow-question-import-more {
  margin: 0;
  color: #8190a8;
  font-size: 12px;
}

.grow-question-import-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #c7ebde;
  border-radius: 6px;
  background: #f0fbf7;
}

.grow-question-import-success > span {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #18a879;
  color: #fff;
}

.grow-question-import-success svg {
  width: 17px;
  height: 17px;
}

.grow-question-import-success strong {
  color: #176a53;
  font-size: 13px;
}

.grow-question-import-success p {
  margin: 2px 0 0;
  color: #5c8879;
  font-size: 12px;
}

.grow-question-import-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.grow-question-import-types span {
  padding: 4px 8px;
  border: 1px solid #d8e4f5;
  border-radius: 4px;
  background: #fff;
  color: #516b91;
  font-size: 11px;
  font-weight: 700;
}

.grow-question-import-preview {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #e1e9f4;
  border-radius: 6px;
  background: #fff;
  list-style: none;
}

.grow-question-import-preview li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #edf1f6;
}

.grow-question-import-preview li:last-child {
  border-bottom: 0;
}

.grow-question-import-preview span {
  color: var(--grow-primary);
  font-size: 11px;
  font-weight: 700;
}

.grow-question-import-preview strong {
  overflow: hidden;
  color: #405a7e;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-question-import-more {
  margin-top: 8px;
}

.grow-question-import-warnings,
.grow-question-import-error {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #f0d29a;
  border-radius: 6px;
  background: #fff9ed;
  color: #805a16;
  font-size: 12px;
}

.grow-question-import-error {
  border-color: #f0bbc3;
  background: #fff5f6;
  color: #a83346;
}

.grow-question-import-error strong,
.grow-question-import-error p,
.grow-question-import-warnings p {
  margin: 0;
}

.grow-question-import-error p + p,
.grow-question-import-warnings p + p {
  margin-top: 4px;
}

.grow-question-import-loading {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #55729d;
  font-size: 12px;
}

.grow-question-import-loading svg {
  width: 16px;
  height: 16px;
}

.grow-exam-pass-score {
  max-width: 220px;
  margin-top: 12px;
}

.grow-task-recipient-picker {
  min-width: 0;
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  background: #fbfcfe;
}

.grow-task-recipient-picker legend {
  padding: 0 6px;
  color: #364c70;
  font-size: 13px;
  font-weight: 700;
}

.grow-task-recipient-picker > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.grow-task-recipient-picker label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 7px 10px;
  border: 1px solid #e2e9f3;
  border-radius: 6px;
  cursor: pointer;
}

.grow-task-recipient-picker label span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.grow-task-recipient-picker label strong,
.grow-task-recipient-picker label small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-task-recipient-picker label strong {
  color: #20365d;
  font-size: 13px;
}

.grow-task-recipient-picker label small {
  color: #8291a8;
  font-size: 11px;
}

.grow-task-options {
  border-top: 1px solid #e5ebf3;
  border-bottom: 1px solid #e5ebf3;
}

.grow-task-options summary,
.grow-managed-task-people summary {
  min-height: 40px;
  color: #466084;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.grow-task-options summary {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
}

.grow-task-options[open] summary {
  color: var(--grow-primary);
}

.grow-task-options summary::-webkit-details-marker {
  display: none;
}

.grow-task-options summary svg {
  width: 16px;
  height: 16px;
}

.grow-task-options summary span {
  color: #8a98ac;
  font-size: 11px;
  font-weight: 500;
}

.grow-task-options > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 4px 0 12px;
}

.grow-task-options label:not(.grow-task-toggle) {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.grow-task-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.grow-task-toggle > span {
  display: flex;
  flex-direction: column;
}

.grow-task-toggle small {
  color: #8493aa;
  font-weight: 500;
}

.grow-task-standard-options {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.4fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #e7edf5;
}

.grow-task-publish-form > footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 2px;
}

.grow-task-publish-form > footer .grow-status {
  min-height: 0;
  margin-right: auto;
}

.grow-task-publish-form > footer .grow-btn-primary {
  min-width: 142px;
}

.grow-assigned-task-list {
  overflow: hidden;
}

.grow-assigned-task-list > header {
  padding: 16px 20px;
  border-bottom: 1px solid #e5ebf4;
  background: #fbfcfe;
}

.grow-task-list-filters {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #dfe6ef;
  border-radius: 6px;
  background: #f6f8fb;
}

.grow-task-list-filters button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #607493;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.grow-task-list-filters button span {
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 9px;
  background: #e8edf4;
  color: #6c7e99;
  font-size: 10px;
  text-align: center;
}

.grow-task-list-filters button.is-active {
  background: #fff;
  color: var(--grow-primary);
  box-shadow: 0 1px 4px rgba(46, 76, 120, 0.1);
}

.grow-task-list-filters button.is-active span {
  background: #e9f1ff;
  color: var(--grow-primary);
}

.grow-assigned-task-card,
.grow-managed-task {
  position: relative;
  border-bottom: 1px solid #e5ebf4;
  transition: background-color 160ms ease;
}

.grow-assigned-task-card:hover,
.grow-managed-task:hover {
  background: #fbfdff;
}

.grow-assigned-task-list > div > article:last-child {
  border-bottom: 0;
}

.grow-task-load-more {
  display: flex;
  justify-content: center;
  padding: 18px 20px;
  border-top: 1px solid #e5ebf4;
  background: #fbfcfe;
}

.grow-assigned-task-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 124px;
  padding: 17px 20px;
}

.grow-assigned-task-card.is-overdue {
  box-shadow: inset 3px 0 #d64a5e;
}

.grow-assigned-task-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf2f8;
  color: #657795;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.grow-assigned-task-state svg {
  width: 14px;
  height: 14px;
}

.grow-assigned-task-state.is-active {
  background: #eaf2ff;
  color: #1763db;
}

.grow-assigned-task-state.is-warning {
  background: #fff4d9;
  color: #8b5b00;
}

.grow-assigned-task-state.is-danger {
  background: #ffeaed;
  color: #b42a42;
}

.grow-assigned-task-state.is-success {
  background: #ddf7ed;
  color: #087b56;
}

.grow-assigned-task-copy {
  min-width: 0;
}

.grow-assigned-task-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grow-assigned-task-title h3,
.grow-managed-task h3 {
  margin: 0;
  color: #132a55;
  font-size: 17px;
  letter-spacing: 0;
}

.grow-assigned-task-title > span,
.grow-managed-task-badges > span:not(.grow-chip) {
  color: #71839f;
  font-size: 12px;
}

.grow-task-kind {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 4px;
  background: #edf3fb;
  color: #4f668a !important;
  font-size: 11px !important;
  font-weight: 800;
  white-space: nowrap;
}

.grow-task-kind svg {
  width: 13px;
  height: 13px;
}

.grow-task-kind.is-questionnaire {
  background: #e8f8f3;
  color: #087b5a !important;
}

.grow-task-kind.is-exam {
  background: #fff2dc;
  color: #8b5a00 !important;
}

.grow-assigned-task-copy > p,
.grow-managed-task header p {
  margin: 6px 0 9px;
  color: #607493;
  line-height: 1.6;
}

.grow-assigned-task-meta,
.grow-managed-task-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.grow-assigned-task-meta span,
.grow-managed-task-overview span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #71839f;
  font-size: 12px;
}

.grow-assigned-task-meta svg,
.grow-managed-task-overview svg {
  width: 15px;
  height: 15px;
}

.grow-assigned-task-meta .is-overdue {
  color: #b42a42;
  font-weight: 700;
}

.grow-assigned-task-review,
.grow-task-review-result {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--grow-primary);
  background: #f5f8fd;
}

.grow-assigned-task-review strong,
.grow-task-review-result strong {
  color: #1d4f9d;
  font-size: 12px;
}

.grow-assigned-task-review p,
.grow-task-review-result p {
  margin: 3px 0 0;
  color: #506687;
  line-height: 1.6;
}

.grow-managed-task {
  padding: 16px 20px;
}

.grow-managed-task > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 20px;
}

.grow-managed-task-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.grow-managed-task-rate {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
}

.grow-managed-task-rate strong {
  color: var(--grow-primary);
  font-size: 26px;
  line-height: 1;
}

.grow-managed-task-rate span {
  margin-top: 5px;
  color: #7a8aa2;
  font-size: 12px;
}

.grow-managed-task-overview {
  margin: 9px 0;
}

.grow-managed-task-progress,
.grow-composition-chart i {
  display: block;
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: #e9eff7;
}

.grow-managed-task-progress > span,
.grow-composition-chart i > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grow-primary);
}

.grow-managed-task-people {
  margin-top: 8px;
  border-top: 1px solid #e5ebf4;
}

.grow-managed-task-people summary {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.grow-managed-task-people summary span {
  margin-left: auto;
  color: #8b5b00;
  font-weight: 600;
}

.grow-managed-task-people summary svg {
  width: 16px;
  height: 16px;
}

.grow-managed-task-person {
  display: grid;
  grid-template-columns: 34px minmax(120px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border-top: 1px solid #edf1f6;
}

.grow-avatar.is-small {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.grow-managed-task-person > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.grow-managed-task-person strong {
  color: #23395f;
  font-size: 13px;
}

.grow-managed-task-person small {
  color: #8493aa;
}

.grow-managed-task > footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-height: 36px;
  margin-top: 2px;
  border-top: 1px solid #e5ebf4;
}

.grow-managed-task > footer > span {
  margin-right: auto;
  color: #8493aa;
  font-size: 12px;
}

.grow-link-btn.is-danger {
  color: #b42a42;
}

.grow-task-empty {
  display: grid;
  min-height: 220px;
  padding: 38px;
  place-items: center;
  text-align: center;
}

.grow-task-empty > svg {
  width: 42px;
  height: 42px;
  color: #90b2e8;
}

.grow-task-empty h3 {
  margin: 12px 0 0;
  color: #28436e;
}

.grow-task-empty p {
  margin: 4px 0 0;
  color: #8090a7;
}

.grow-assigned-task-modal {
  width: min(760px, calc(100vw - 32px));
  max-height: min(860px, calc(100vh - 32px));
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.grow-question-task-modal {
  width: min(920px, calc(100vw - 32px));
  max-height: min(900px, calc(100vh - 32px));
  overflow: auto;
}

.grow-assigned-task-modal .grow-panel-head {
  align-items: flex-start;
}

.grow-assigned-task-modal .grow-panel-head h2 {
  margin-top: 10px;
}

.grow-question-task-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.grow-question-response {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.grow-question-pending {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 110px;
  padding: 20px;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  background: #f7f9fc;
}

.grow-question-pending > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 6px;
  background: #e8eff9;
  color: #57749e;
}

.grow-question-pending svg {
  width: 21px;
  height: 21px;
}

.grow-question-pending strong {
  color: #294568;
  font-size: 14px;
}

.grow-question-pending p {
  margin: 3px 0 0;
  color: #75859d;
  font-size: 12px;
  line-height: 1.6;
}

.grow-question-item {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid #dfe7f3;
  border-radius: 6px;
  background: #fff;
}

fieldset.grow-question-item {
  padding-top: 15px;
}

.grow-question-item legend,
.grow-question-item > header,
.grow-question-label {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  align-items: flex-start;
  gap: 12px;
}

.grow-question-item legend {
  padding: 0;
}

.grow-question-number {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 4px;
  background: #eaf2ff;
  color: var(--grow-primary);
  font-size: 12px;
  font-weight: 900;
}

.grow-question-title {
  display: block;
  min-width: 0;
  flex: 1;
}

.grow-question-title > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7384a0;
  font-size: 11px;
  font-weight: 700;
}

.grow-question-title em {
  padding: 2px 5px;
  border-radius: 3px;
  background: #f0f4fa;
  color: #8694a9;
  font-size: 10px;
  font-style: normal;
}

.grow-question-title h3 {
  margin: 4px 0 0;
  color: #20375f;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
}

.grow-question-score {
  flex: 0 0 auto;
  color: #71839f;
  font-size: 11px;
}

.grow-question-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0 40px;
}

.grow-question-options label {
  min-width: 0;
  cursor: pointer;
}

.grow-question-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.grow-question-options label > span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid #dce5f1;
  border-radius: 5px;
  color: #405a7e;
  font-size: 13px;
}

.grow-question-options i {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #c8d7ec;
  border-radius: 4px;
  color: #6d82a1;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.grow-question-options input:checked + span {
  border-color: var(--grow-primary);
  background: #f2f7ff;
  color: #174f9e;
  font-weight: 700;
}

.grow-question-options input:checked + span i {
  border-color: var(--grow-primary);
  background: var(--grow-primary);
  color: #fff;
}

.grow-question-item > input,
.grow-question-item > textarea {
  box-sizing: border-box;
  width: calc(100% - 40px);
  min-height: 44px;
  margin: 14px 0 0 40px;
  padding: 10px 12px;
  border: 1px solid #ccd9ea;
  border-radius: 5px;
  outline: none;
  color: #263d64;
  font: inherit;
  line-height: 1.6;
}

.grow-question-item > textarea {
  min-height: 132px;
  resize: vertical;
}

.grow-question-item > input:focus,
.grow-question-item > textarea:focus {
  border-color: var(--grow-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--grow-primary) 12%, transparent);
}

.grow-question-item.is-result {
  background: #fbfcfe;
}

.grow-question-item.is-invalid {
  border-color: #e05468;
  background: #fff9fa;
  box-shadow: 0 0 0 3px rgba(224, 84, 104, 0.08);
}

.grow-question-answer {
  margin: 12px 0 0 40px;
  padding: 11px 12px;
  border-left: 3px solid #8eafe1;
  background: #f1f5fb;
  color: #405a7e;
  line-height: 1.65;
  white-space: pre-wrap;
}

.grow-exam-result {
  display: grid;
  grid-template-columns: 46px repeat(3, minmax(90px, 1fr)) auto;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #c8e9dd;
  border-radius: 6px;
  background: #effaf6;
}

.grow-exam-result > div {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #18a879;
  color: #fff;
}

.grow-exam-result > div svg {
  width: 21px;
  height: 21px;
}

.grow-exam-result > span {
  display: flex;
  flex-direction: column;
}

.grow-exam-result small {
  color: #6d8b81;
  font-size: 10px;
}

.grow-exam-result strong {
  color: #176a53;
  font-size: 20px;
}

.grow-exam-result strong em {
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.grow-exam-result b {
  padding: 5px 8px;
  border-radius: 4px;
  background: #d7f3e9;
  color: #087b56;
  font-size: 12px;
}

.grow-exam-result.is-unpassed {
  border-color: #f0d29a;
  background: #fff9ed;
}

.grow-exam-result.is-unpassed > div {
  background: #d48a18;
}

.grow-exam-result.is-unpassed small,
.grow-exam-result.is-unpassed strong {
  color: #865d1a;
}

.grow-exam-result.is-unpassed b {
  background: #f7e6bf;
  color: #805a16;
}

.grow-exam-result.is-written {
  grid-template-columns: 46px 120px minmax(0, 1fr);
  border-color: #d6e2f3;
  background: #f5f8fd;
}

.grow-exam-result.is-written > div {
  background: var(--grow-primary);
}

.grow-exam-result.is-written small,
.grow-exam-result.is-written strong {
  color: #305887;
}

.grow-exam-result.is-written p {
  margin: 0;
  color: #637897;
  font-size: 12px;
  line-height: 1.6;
}

.grow-question-submit-bar {
  display: flex;
  position: sticky;
  z-index: 2;
  bottom: -20px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 4px;
  border-top: 1px solid #e2e8f1;
  background: #fff;
}

.grow-question-save-state {
  display: grid;
  min-width: 220px;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
}

.grow-question-save-state strong {
  color: #344d72;
  font-size: 12px;
}

.grow-question-save-state > span {
  color: #7d8da5;
  font-size: 11px;
  text-align: right;
}

.grow-question-save-state > span.is-error {
  color: #b42a42;
}

.grow-question-save-state i {
  display: block;
  overflow: hidden;
  grid-column: 1 / -1;
  height: 4px;
  margin-top: 3px;
  border-radius: 2px;
  background: #e8eef6;
}

.grow-question-save-state i b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--grow-primary);
  transition: width 180ms ease-out;
}

.grow-answer-key {
  border: 1px solid #dfe7f3;
  border-radius: 6px;
}

.grow-answer-key summary {
  padding: 12px 14px;
  color: #36577f;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.grow-answer-key > div {
  padding: 0 14px 12px;
}

.grow-answer-key p {
  display: flex;
  gap: 8px;
  margin: 5px 0;
  color: #5a6f8e;
  font-size: 12px;
}

.grow-answer-key p strong {
  color: var(--grow-primary);
}

.grow-link-btn.is-export {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.grow-link-btn.is-export svg {
  width: 14px;
  height: 14px;
}

.grow-task-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 12px 0 16px;
  border-bottom: 1px solid #e4eaf3;
}

.grow-task-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #647795;
  font-size: 12px;
}

.grow-task-detail-meta svg {
  width: 15px;
  height: 15px;
}

.grow-task-detail-section,
.grow-task-note {
  display: block;
  margin-top: 18px;
}

.grow-task-detail-section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.grow-task-detail-section h3 {
  margin: 0;
  color: #263d64;
  font-size: 15px;
}

.grow-task-detail-section header p {
  margin: 2px 0 0;
  color: #8493aa;
  font-size: 12px;
}

.grow-task-material-list {
  display: grid;
  gap: 6px;
}

.grow-task-material-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 6px;
}

.grow-task-material-item > a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 6px 10px;
  border: 1px solid #e0e8f3;
  border-radius: 6px;
  color: #33547f;
  text-decoration: none;
}

.grow-task-material-item > button {
  display: grid;
  width: 34px;
  min-height: 48px;
  place-items: center;
  border: 1px solid #e0e8f3;
  border-radius: 6px;
  background: #fff;
  color: #8695aa;
  cursor: pointer;
}

.grow-task-material-item > button:hover {
  border-color: #f2b8b5;
  background: #fff7f7;
  color: #d0443e;
}

.grow-task-material-item > button:disabled {
  cursor: wait;
  opacity: 0.5;
}

.grow-task-material-list svg {
  width: 18px;
  height: 18px;
}

.grow-task-material-list a span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.grow-task-material-list a strong {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  white-space: nowrap;
}

.grow-task-material-list a small,
.grow-task-material-list > p {
  margin: 0;
  color: #8b99ae;
  font-size: 11px;
}

.grow-task-upload {
  display: flex;
  position: relative;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px dashed #9ebceb;
  border-radius: 6px;
  background: #f7faff;
  color: #245cae;
  cursor: pointer;
}

.grow-task-upload svg {
  width: 22px;
  height: 22px;
}

.grow-task-upload > span {
  display: flex;
  flex-direction: column;
}

.grow-task-upload small {
  color: #8191a9;
}

.grow-task-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.grow-task-text-result {
  min-height: 64px;
  padding: 12px;
  border: 1px solid #e0e7f1;
  border-radius: 6px;
  background: #f8fafc;
  color: #506687;
  line-height: 1.7;
  white-space: pre-wrap;
}

.grow-assigned-task-modal .grow-modal-actions {
  align-items: center;
  margin-top: 20px;
}

.grow-assigned-task-modal .grow-modal-actions > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: auto;
  color: #75859c;
  font-size: 12px;
}

.grow-assigned-task-modal .grow-modal-actions > span i {
  font-style: normal;
}

.grow-assigned-task-modal .grow-modal-actions > span i.is-error {
  color: #cf3d37;
}

.grow-assigned-task-modal .grow-modal-actions > span svg {
  width: 16px;
  height: 16px;
}

.grow-growth-hero {
  background: #edf5ff;
}

.grow-growth-hero-score {
  display: grid;
  flex: 0 0 180px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 12px;
  padding: 16px 18px;
  border: 1px solid #ccdcf3;
  border-radius: 8px;
  background: #fff;
}

.grow-growth-hero-score span,
.grow-growth-hero-score small {
  color: #7788a2;
  font-size: 11px;
}

.grow-growth-hero-score strong {
  grid-row: 1 / 3;
  grid-column: 2;
  color: var(--grow-primary);
  font-size: 38px;
  line-height: 1;
}

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

.grow-growth-kpis article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 14px 16px;
  border: 1px solid #dbe4f1;
  border-radius: 8px;
  background: #fff;
}

.grow-growth-kpis article > span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  background: #edf4ff;
  color: var(--grow-primary);
}

.grow-growth-kpis svg {
  width: 20px;
  height: 20px;
}

.grow-growth-kpis strong {
  display: block;
  color: #132a55;
  font-size: 25px;
  line-height: 1.1;
}

.grow-growth-kpis p {
  margin: 5px 0 0;
  color: #71839f;
  font-size: 12px;
}

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

.grow-growth-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid #dbe4f1;
  border-radius: 8px;
  background: #fff;
}

.grow-growth-panel.is-wide {
  grid-column: 1 / -1;
}

.grow-growth-panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.grow-chart-legend {
  display: flex;
  gap: 14px;
  color: #71839f;
  font-size: 11px;
}

.grow-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.grow-chart-legend span::before {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grow-primary);
  content: "";
}

.grow-chart-legend .is-task::before {
  background: #1baa83;
}

.grow-week-chart {
  display: grid;
  height: 260px;
  grid-template-columns: repeat(8, minmax(32px, 1fr));
  align-items: end;
  gap: 12px;
  margin-top: 28px;
  padding: 20px 8px 0;
  border-bottom: 1px solid #dce5f1;
  background-image: linear-gradient(to bottom, #e8eef7 1px, transparent 1px);
  background-size: 100% 25%;
}

.grow-week-column {
  display: grid;
  height: 100%;
  grid-template-rows: minmax(0, 1fr) 24px;
  gap: 6px;
  align-items: end;
  text-align: center;
}

.grow-week-bars {
  display: flex;
  height: 100%;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

.grow-week-bars span {
  display: block;
  width: min(15px, 42%);
  min-height: 2px;
  border-radius: 3px 3px 0 0;
  background: var(--grow-primary);
}

.grow-week-bars .is-task {
  background: #1baa83;
}

.grow-week-column small {
  color: #7b8ca5;
  font-size: 10px;
}

.grow-mood-chart,
.grow-composition-chart {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.grow-mood-chart > div {
  display: grid;
  grid-template-columns: 44px 38px minmax(70px, 1fr) 24px;
  align-items: center;
  gap: 8px;
}

.grow-mood-chart .grow-mood-face {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
}

.grow-mood-chart strong,
.grow-mood-chart em {
  color: #526886;
  font-size: 12px;
  font-style: normal;
}

.grow-mood-chart i {
  display: block;
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: #e9eff7;
}

.grow-mood-chart i span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f2ad55;
}

.grow-composition-chart > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 7px 10px;
}

.grow-composition-chart header {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 10px;
}

.grow-composition-chart header strong {
  color: #334b70;
  font-size: 12px;
}

.grow-composition-chart header span,
.grow-composition-chart em {
  color: #7d8da5;
  font-size: 11px;
  font-style: normal;
}

.grow-composition-chart em {
  text-align: right;
}

@media (max-width: 1100px) {
  .grow-task-heading-stats {
    flex-basis: 300px;
  }

  .grow-task-publish-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grow-task-field.is-title {
    grid-column: 1 / -1;
  }

  .grow-task-recipient-picker > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .grow-growth-grid {
    grid-template-columns: 1fr;
  }

  .grow-growth-panel.is-wide {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .grow-page-heading,
  .grow-growth-hero {
    align-items: flex-start;
    min-height: 0;
    padding: 20px;
  }

  .grow-page-heading-mark {
    width: 44px;
    height: 44px;
  }

  .grow-task-page-heading {
    flex-direction: column;
  }

  .grow-task-heading-stats {
    width: 100%;
    flex-basis: auto;
  }

  .grow-task-heading-stats > div {
    padding: 13px 10px;
  }

  .grow-task-heading-stats strong {
    font-size: 21px;
  }

  .grow-page-heading h1,
  .grow-growth-hero h1 {
    font-size: 25px;
  }

  .grow-task-publish {
    padding: 18px 16px;
  }

  .grow-task-publish-icon {
    display: none;
  }

  .grow-task-publish-form {
    grid-template-columns: 1fr;
  }

  .grow-task-type-selector {
    grid-template-columns: 1fr;
  }

  .grow-task-field.is-title,
  .grow-task-field.is-wide,
  .grow-task-recipient-picker.is-wide,
  .grow-task-options.is-wide,
  .grow-question-import.is-wide,
  .grow-task-publish-form > footer.is-wide {
    grid-column: 1;
  }

  .grow-task-recipient-picker > div,
  .grow-task-options > div,
  .grow-task-standard-options {
    grid-template-columns: 1fr;
  }

  .grow-task-publish-form > footer {
    align-items: stretch;
    flex-direction: column;
  }

  .grow-task-publish-form > footer .grow-btn {
    width: 100%;
  }

  .grow-assigned-task-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 16px;
  }

  .grow-assigned-task-card > .grow-btn {
    width: 100%;
  }

  .grow-assigned-task-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .grow-question-import > header,
  .grow-question-submit-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .grow-question-import > header .grow-btn,
  .grow-question-submit-bar .grow-btn {
    width: 100%;
  }

  .grow-question-save-state {
    width: 100%;
  }

  .grow-question-options {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .grow-question-item > input,
  .grow-question-item > textarea,
  .grow-question-answer {
    width: 100%;
    margin-left: 0;
  }

  .grow-exam-result {
    grid-template-columns: 42px repeat(2, minmax(0, 1fr));
  }

  .grow-exam-result.is-written {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .grow-exam-result.is-written p {
    grid-column: 1 / -1;
  }

  .grow-exam-result > span:nth-of-type(3),
  .grow-exam-result > b {
    grid-column: 2 / -1;
  }

  .grow-managed-task {
    padding: 18px 16px;
  }

  .grow-assigned-task-list > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .grow-task-list-filters {
    width: 100%;
  }

  .grow-task-list-filters button {
    flex: 1;
    justify-content: center;
  }

  .grow-managed-task-person {
    grid-template-columns: 32px minmax(0, 1fr) auto;
  }

  .grow-managed-task-person > .grow-btn,
  .grow-managed-task-person > .grow-link-btn {
    grid-column: 2 / -1;
    width: 100%;
  }

  .grow-managed-task > footer {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 10px;
  }

  .grow-managed-task > footer > span {
    margin-right: 0;
  }

  .grow-growth-hero-score {
    display: none;
  }

  .grow-growth-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .grow-growth-kpis article {
    min-height: 78px;
    padding: 11px;
  }

  .grow-growth-kpis article > span {
    display: none;
  }

  .grow-growth-panel {
    padding: 16px;
  }

  .grow-growth-panel > header {
    flex-direction: column;
  }

  .grow-week-chart {
    height: 240px;
    gap: 5px;
    padding-inline: 0;
  }

  .grow-week-bars {
    gap: 2px;
  }
}

/* Role data dashboard: compact operational view with scoped, live aggregates. */
.grow-live-dashboard {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #d7e3f2;
  border-radius: 8px;
  background: #f7f9fc;
  box-shadow: 0 8px 24px rgba(42, 72, 119, 0.06);
}

.grow-live-dashboard-head,
.grow-dashboard-section > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.grow-live-dashboard-head > div:first-child > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1769f7;
  font-size: 11px;
  font-weight: 800;
}

.grow-live-dashboard-head > div:first-child > span svg,
.grow-map-review-summary svg {
  width: 15px;
  height: 15px;
}

.grow-live-dashboard-head h2 {
  margin: 5px 0 0;
  color: #172d54;
  font-size: 20px;
  line-height: 1.3;
}

.grow-live-dashboard-head p,
.grow-dashboard-section > header p {
  margin: 4px 0 0;
  color: #72839d;
  font-size: 11px;
  line-height: 1.55;
}

.grow-live-dashboard-head > div:last-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.grow-live-dashboard-head > div:last-child small {
  color: #8291a8;
  font-size: 10px;
  white-space: nowrap;
}

.grow-icon-action {
  width: 32px;
  height: 32px;
  display: inline-grid;
  flex: 0 0 32px;
  place-items: center;
  padding: 0;
  border: 1px solid #d8e4f4;
  border-radius: 7px;
  color: #326bbd;
  background: #fff;
  cursor: pointer;
}

.grow-icon-action:hover,
.grow-icon-action:focus-visible { border-color: #8db6f4; color: #1769f7; outline: none; }
.grow-icon-action:disabled { opacity: 0.5; cursor: not-allowed; }
.grow-icon-action.is-loading svg { animation: grow-dashboard-spin 800ms linear infinite; }
.grow-icon-action svg { width: 15px; height: 15px; }

@keyframes grow-dashboard-spin { to { transform: rotate(360deg); } }

.grow-live-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 10px;
  margin-top: 12px;
}

.grow-live-dashboard-grid.is-lower {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
}

.grow-dashboard-section {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  background: #fff;
}

.grow-dashboard-section > header {
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f6;
}

.grow-dashboard-section > header h3 {
  margin: 0;
  color: #20395f;
  font-size: 13px;
}

.grow-dashboard-section > header .grow-link-btn {
  flex: 0 0 auto;
  font-size: 10px;
}

.grow-map-distribution {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 166px;
  padding-top: 14px;
}

.grow-map-distribution-total {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-right: 1px solid #e7edf5;
}

.grow-map-distribution-total strong {
  color: #1769f7;
  font-size: 36px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.grow-map-distribution-total span { margin-top: 8px; color: #405879; font-size: 11px; font-weight: 750; }
.grow-map-distribution-total small { margin-top: 5px; color: #8999ae; font-size: 10px; }
.grow-map-distribution-detail { min-width: 0; }

.grow-map-distribution-bar {
  height: 12px;
  display: flex;
  overflow: hidden;
  border-radius: 4px;
  background: #e8eef6;
}

.grow-map-distribution-bar i { display: block; height: 100%; }
.grow-map-distribution-bar .is-complete { background: #22a879; }
.grow-map-distribution-bar .is-active { background: #347cf6; }
.grow-map-distribution-bar .is-idle { background: #aebdd1; }

.grow-map-distribution-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.grow-map-distribution-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6d7f99;
  font-size: 10px;
}

.grow-map-distribution-legend span > i { width: 7px; height: 7px; border-radius: 2px; background: #aebdd1; }
.grow-map-distribution-legend .is-complete > i { background: #22a879; }
.grow-map-distribution-legend .is-active > i { background: #347cf6; }
.grow-map-distribution-legend strong { color: #253d61; font-variant-numeric: tabular-nums; }

.grow-map-review-summary {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.grow-map-review-summary span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #805f24;
  background: #fff7e7;
  font-size: 10px;
}

.grow-map-review-summary span:last-child { color: #7a5366; background: #fff0f4; }
.grow-map-review-summary strong { font-variant-numeric: tabular-nums; }

.grow-live-chart {
  height: 166px;
  display: grid;
  grid-template-columns: repeat(7, minmax(24px, 1fr));
  align-items: end;
  gap: 8px;
  padding: 16px 4px 0;
}

.grow-live-chart-day {
  height: 145px;
  display: grid;
  grid-template-rows: 18px minmax(0, 1fr) 18px;
  align-items: end;
  justify-items: center;
}

.grow-live-chart-value { color: #5f7291; font-size: 9px; font-variant-numeric: tabular-nums; }
.grow-live-chart-track { width: min(22px, 66%); height: 100%; display: flex; align-items: flex-end; overflow: hidden; border-radius: 4px 4px 2px 2px; background: #edf2f8; }
.grow-live-chart-track i { width: 100%; min-height: 3px; display: block; border-radius: 4px 4px 2px 2px; background: #347cf6; }
.grow-live-chart-day small { color: #8090a7; font-size: 9px; white-space: nowrap; }

.grow-dashboard-table { width: 100%; margin-top: 7px; overflow-x: auto; }
.grow-dashboard-table-head,
.grow-dashboard-table-row { min-width: 720px; display: grid; align-items: center; gap: 12px; }
.grow-mentor-dashboard-table .grow-dashboard-table-head,
.grow-mentor-dashboard-table .grow-dashboard-table-row { grid-template-columns: minmax(150px, 1.05fr) 78px minmax(160px, 1fr) 72px minmax(140px, 0.9fr); }
.grow-learner-dashboard-table .grow-dashboard-table-head,
.grow-learner-dashboard-table .grow-dashboard-table-row { grid-template-columns: minmax(150px, 1.05fr) minmax(170px, 1fr) minmax(110px, 0.72fr) minmax(105px, 0.68fr) 32px; }

.grow-dashboard-table-head {
  min-height: 30px;
  padding: 0 9px;
  color: #8493a9;
  background: #f7f9fc;
  font-size: 9px;
  font-weight: 750;
}

.grow-dashboard-table-row {
  min-height: 54px;
  padding: 7px 9px;
  border-bottom: 1px solid #edf1f6;
}

.grow-dashboard-table-row:last-child { border-bottom: 0; }
.grow-dashboard-person { min-width: 0; display: flex; align-items: center; gap: 9px; }
.grow-dashboard-person > span,
.grow-attention-list button > span {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  color: #1769f7;
  background: #eaf2ff;
  font-size: 11px;
  font-weight: 800;
}
.grow-dashboard-person > div { min-width: 0; }
.grow-dashboard-person strong,
.grow-dashboard-person small,
.grow-dashboard-latest strong,
.grow-dashboard-latest small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grow-dashboard-person strong { color: #29415f; font-size: 11px; }
.grow-dashboard-person small { margin-top: 3px; color: #8a99ad; font-size: 9px; }
.grow-dashboard-number { color: #334d72; font-size: 11px; font-variant-numeric: tabular-nums; }
.grow-dashboard-progress > div { height: 6px; overflow: hidden; border-radius: 3px; background: #e8eef6; }
.grow-dashboard-progress > div i { height: 100%; display: block; border-radius: 3px; background: #347cf6; }
.grow-dashboard-progress > span { display: block; margin-top: 5px; color: #71829a; font-size: 9px; font-variant-numeric: tabular-nums; }
.grow-dashboard-pending em { display: inline-block; padding: 4px 6px; border-radius: 5px; color: #9b6513; background: #fff5df; font-size: 9px; font-style: normal; }
.grow-dashboard-pending em.is-warn { color: #9a5263; background: #fff0f4; }
.grow-dashboard-pending span { color: #8494aa; font-size: 9px; }
.grow-dashboard-latest strong { color: #405878; font-size: 10px; }
.grow-dashboard-latest small { margin-top: 3px; color: #8a99ad; font-size: 9px; }

.grow-attention-list { display: grid; gap: 2px; margin-top: 7px; }
.grow-attention-list button {
  width: 100%;
  min-height: 54px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.grow-attention-list button:hover { background: #f8faff; }
.grow-attention-list button > div { min-width: 0; }
.grow-attention-list button strong,
.grow-attention-list button small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grow-attention-list button strong { color: #29415f; font-size: 11px; }
.grow-attention-list button small { margin-top: 4px; color: #8b6a48; font-size: 9px; }
.grow-attention-list button > svg { width: 14px; height: 14px; color: #91a4be; }
.grow-dashboard-empty { min-height: 72px; display: grid; place-items: center; padding: 14px; color: #8797ad; font-size: 10px; text-align: center; }
.grow-dashboard-learners { margin-top: 10px; }

@media (max-width: 1180px) {
  .grow-live-dashboard-grid,
  .grow-live-dashboard-grid.is-lower { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .grow-live-dashboard { padding: 10px; }
  .grow-live-dashboard-head { align-items: flex-start; }
  .grow-live-dashboard-head > div:last-child small { display: none; }
  .grow-map-distribution { grid-template-columns: 1fr; gap: 10px; }
  .grow-map-distribution-total { min-height: 90px; border-right: 0; border-bottom: 1px solid #e7edf5; }
  .grow-dashboard-table { margin-right: -14px; padding-right: 14px; }
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body.grow-body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--grow-text);
  background:
    radial-gradient(circle at 18% 0%, rgba(36, 107, 254, 0.16), transparent 30rem),
    linear-gradient(180deg, #f8fbff 0%, var(--grow-bg) 48%, #eef6ff 100%);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.grow-app,
.grow-admin-app {
  min-height: 100vh;
}

.grow-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--grow-muted);
}

.grow-loading-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--grow-primary), #6ad8ff);
  box-shadow: var(--grow-shadow);
  position: relative;
}

.grow-loading-mark::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 999px;
  background: #fff;
}

.grow-shell {
  min-height: 100vh;
  padding-bottom: 86px;
}

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

.grow-login-card {
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid rgba(219, 231, 251, 0.92);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--grow-shadow);
}

.grow-login-card h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.grow-login-card p {
  margin: 10px 0 22px;
  color: var(--grow-muted);
  line-height: 1.7;
}

.grow-password-change-card {
  width: min(500px, 100%);
}

.grow-password-change-card .grow-btn-ghost {
  width: 100%;
  margin-top: 8px;
}

.grow-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(18px, 4vw, 42px);
  background: rgba(248, 251, 255, 0.82);
  border-bottom: 1px solid rgba(219, 231, 251, 0.82);
  backdrop-filter: blur(16px);
}

.grow-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.grow-brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--grow-primary), #5cc8ff);
  box-shadow: 0 12px 28px rgba(36, 107, 254, 0.26);
  overflow: hidden;
}

.grow-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grow-brand-title {
  min-width: 0;
}

.grow-brand-title strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grow-brand-title span {
  display: block;
  margin-top: 2px;
  color: var(--grow-muted);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grow-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grow-user-pill,
.grow-admin-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--grow-border);
  border-radius: 999px;
  color: var(--grow-text);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.grow-admin-link {
  border: 1px solid var(--grow-border);
  color: var(--grow-primary);
  font-weight: 700;
}

.grow-main {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
}

.grow-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 22px;
  align-items: stretch;
}

.grow-hero-card,
.grow-panel,
.grow-card,
.grow-admin-panel,
.grow-modal-card {
  border: 1px solid rgba(219, 231, 251, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--grow-shadow);
}

.grow-hero-card {
  min-height: 330px;
  padding: clamp(24px, 4vw, 42px);
  position: relative;
  overflow: hidden;
}

.grow-hero-card::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(36, 107, 254, 0.12);
}

.grow-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.grow-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.grow-hero p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--grow-muted);
  font-size: 17px;
  line-height: 1.75;
}

.grow-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.grow-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.grow-btn:hover {
  transform: translateY(-1px);
}

.grow-btn-primary {
  color: #fff;
  background: var(--grow-primary);
  box-shadow: 0 14px 26px rgba(36, 107, 254, 0.26);
}

.grow-btn-secondary {
  color: var(--grow-primary);
  background: #fff;
  border-color: var(--grow-border);
}

.grow-btn-ghost {
  color: var(--grow-text);
  background: rgba(234, 242, 255, 0.72);
  border-color: transparent;
}

.grow-hero-buddy {
  min-height: 330px;
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  overflow: hidden;
}

.grow-buddy-scene {
  min-height: 150px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 70% 20%, rgba(106, 216, 255, 0.62), transparent 7rem),
    linear-gradient(135deg, #eef6ff, #ffffff);
  position: relative;
}

.grow-buddy-person {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 104px;
  height: 104px;
  border-radius: 34px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 28%, #fff 0 15px, transparent 16px),
    linear-gradient(160deg, var(--grow-primary), #6ad8ff);
  box-shadow: 0 22px 40px rgba(36, 107, 254, 0.22);
}

.grow-buddy-orbit {
  position: absolute;
  inset: 30px 46px;
  border: 2px solid rgba(36, 107, 254, 0.14);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.grow-buddy-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  color: var(--grow-muted);
  line-height: 1.7;
  box-shadow: 0 12px 28px rgba(36, 107, 254, 0.1);
}

.grow-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.grow-stat {
  padding: 12px;
  border-radius: 16px;
  background: var(--grow-soft);
}

.grow-stat strong {
  display: block;
  font-size: 22px;
  color: var(--grow-primary);
}

.grow-stat span {
  display: block;
  margin-top: 3px;
  color: var(--grow-muted);
  font-size: 12px;
}

.grow-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-top: 18px;
}

.grow-panel {
  padding: 22px;
}

.grow-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.grow-panel-head h2,
.grow-panel-head h3 {
  margin: 0;
  font-size: 21px;
}

.grow-panel-head p {
  margin: 6px 0 0;
  color: var(--grow-muted);
  line-height: 1.6;
}

.grow-record-list,
.grow-feedback-list,
.grow-whisper-list,
.grow-handbook-grid,
.grow-admin-list {
  display: grid;
  gap: 12px;
}

.grow-record-item,
.grow-feedback-item,
.grow-whisper-item,
.grow-handbook-card,
.grow-admin-row {
  border: 1px solid var(--grow-border);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.grow-record-item h3,
.grow-handbook-card h3,
.grow-feedback-item h3 {
  margin: 0;
  font-size: 16px;
}

.grow-meta,
.grow-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: var(--grow-muted);
  font-size: 12px;
}

.grow-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--grow-soft);
  color: var(--grow-primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.grow-record-text {
  margin: 12px 0 0;
  color: var(--grow-muted);
  line-height: 1.72;
}

.grow-ai-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #f3fbff;
  color: #315d7c;
  line-height: 1.68;
}

.grow-map {
  display: grid;
  gap: 12px;
}

.grow-map-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.grow-map-dot {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: var(--grow-primary);
}

.grow-map-step strong {
  display: block;
}

.grow-map-step span {
  display: block;
  margin-top: 4px;
  color: var(--grow-muted);
  line-height: 1.5;
}

.grow-handbook-card {
  min-height: 140px;
  position: relative;
  overflow: hidden;
}

.grow-handbook-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border-radius: 32px;
  background: rgba(36, 107, 254, 0.11);
  transform: rotate(12deg);
}

.grow-handbook-card p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: var(--grow-muted);
  line-height: 1.65;
}

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

.grow-field {
  display: grid;
  gap: 7px;
}

.grow-field label {
  color: var(--grow-text);
  font-size: 13px;
  font-weight: 800;
}

.grow-field input,
.grow-field select,
.grow-field textarea {
  width: 100%;
  border: 1px solid var(--grow-border);
  border-radius: 14px;
  background: #fff;
  color: var(--grow-text);
  padding: 12px 13px;
  outline: none;
  line-height: 1.5;
}

.grow-field textarea {
  min-height: 112px;
  resize: vertical;
}

.grow-field input:focus,
.grow-field select:focus,
.grow-field textarea:focus {
  border-color: var(--grow-primary);
  box-shadow: 0 0 0 4px rgba(36, 107, 254, 0.12);
}

.grow-record-compose {
  gap: 16px;
}

.grow-record-compose .grow-field textarea {
  min-height: 260px;
  padding: 18px;
  border-radius: 16px;
  color: #172441;
  font-size: 15px;
  line-height: 1.8;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(36, 107, 254, 0.08), transparent 220px);
}

.grow-record-compose .grow-field textarea::placeholder {
  color: #8a98ad;
}

.grow-mood-modal {
  width: min(640px, 100%);
}

.grow-mood-modal .grow-panel-head h2 {
  margin: 0;
  font-size: 24px;
}

.grow-mood-modal .grow-panel-head p {
  margin-top: 6px;
  color: var(--grow-muted);
}

.grow-mood-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.grow-mood-option {
  min-width: 0;
  min-height: 132px;
  padding: 14px 10px;
  border: 1px solid #dce7f8;
  border-radius: 14px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  color: #273756;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 70, 140, 0.06);
}

.grow-mood-option:hover,
.grow-mood-option.is-active {
  border-color: var(--grow-primary);
  background: #f4f8ff;
  box-shadow: 0 12px 28px rgba(36, 107, 254, 0.14);
}

.grow-mood-option strong {
  font-size: 15px;
  font-weight: 900;
}

.grow-mood-option em {
  color: #73829b;
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
  text-align: center;
}

.grow-mood-face {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: block;
  position: relative;
  border: 2px solid #e0cdb8;
  background: #ffe2c2;
}

.grow-mood-face::before,
.grow-mood-face::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6f5d4e;
}

.grow-mood-face::before {
  left: 12px;
}

.grow-mood-face::after {
  right: 12px;
}

.grow-mood-face[data-level="0"] {
  background: #ffd1c8;
  border-color: #f1aaa1;
}

.grow-mood-face[data-level="1"] {
  background: #ffe0b8;
  border-color: #edc18a;
}

.grow-mood-face[data-level="2"] {
  background: #fff0bf;
  border-color: #ecd47b;
}

.grow-mood-face[data-level="3"] {
  background: #d8f2d5;
  border-color: #a8dca4;
}

.grow-mood-face[data-level="4"] {
  background: #c6f1dc;
  border-color: #8bd7b0;
}

.grow-mood-face[data-level="0"]::before,
.grow-mood-face[data-level="0"]::after {
  top: 13px;
}

.grow-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.grow-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 30;
  width: min(560px, calc(100% - 28px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(219, 231, 251, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(43, 90, 168, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.grow-nav-btn {
  min-width: 0;
  min-height: 52px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--grow-muted);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 750;
}

.grow-nav-btn span {
  font-size: 19px;
  line-height: 1;
}

.grow-nav-btn.is-active {
  color: var(--grow-primary);
  background: var(--grow-soft);
}

.grow-view {
  display: none;
}

.grow-view.is-active {
  display: block;
}

.grow-mobile-submit {
  display: none;
}

.grow-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  padding: 18px;
  background: rgba(18, 31, 61, 0.38);
  overflow: auto;
}

.grow-modal.is-open {
  display: grid;
  place-items: center;
}

.grow-modal-card {
  width: min(720px, 100%);
  max-height: min(780px, calc(100vh - 36px));
  overflow: auto;
  padding: 24px;
}

.grow-reader h2 {
  margin: 0;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.18;
}

.grow-reader p {
  color: var(--grow-muted);
  line-height: 1.9;
  font-size: 16px;
  white-space: pre-wrap;
}

.grow-empty {
  padding: 22px;
  border: 1px dashed var(--grow-border);
  border-radius: 18px;
  color: var(--grow-muted);
  background: rgba(255, 255, 255, 0.64);
  text-align: center;
}

.grow-admin-layout {
  width: min(1280px, calc(100% - 32px));
  margin: 22px auto 48px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
}

.grow-admin-side,
.grow-admin-main {
  min-width: 0;
}

.grow-admin-panel {
  padding: 20px;
  margin-bottom: 16px;
}

.grow-admin-tabs {
  display: grid;
  gap: 8px;
}

.grow-admin-tab {
  min-height: 42px;
  border: 1px solid var(--grow-border);
  border-radius: 14px;
  color: var(--grow-text);
  background: #fff;
  font-weight: 800;
  text-align: left;
  padding: 0 13px;
}

.grow-admin-tab.is-active {
  color: #fff;
  border-color: var(--grow-primary);
  background: var(--grow-primary);
}

.grow-admin-section {
  display: none;
}

.grow-admin-section.is-active {
  display: block;
}

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

.grow-admin-form-grid .is-wide {
  grid-column: 1 / -1;
}

.grow-admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.grow-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.grow-status {
  min-height: 24px;
  margin-top: 10px;
  color: var(--grow-muted);
  font-size: 13px;
}

.grow-status.is-error {
  color: #c53f3a;
}

@media (max-width: 900px) {
  .grow-topbar {
    padding: 12px 16px;
  }

  .grow-user-pill {
    display: none;
  }

  .grow-main {
    width: min(calc(100vw - 24px), 680px);
    margin-top: 14px;
  }

  .grow-hero,
  .grow-grid,
  .grow-admin-layout {
    grid-template-columns: 1fr;
  }

  .grow-hero-card {
    min-height: 0;
    padding: 24px;
    border-radius: 22px;
  }

  .grow-hero h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .grow-hero p {
    font-size: 15px;
  }

  .grow-hero-buddy {
    min-height: 0;
  }

  .grow-admin-layout {
    margin-top: 14px;
  }

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

/* Final role-page polish: quieter, warmer and closer to the newcomer home. */
.grow-side-role-card {
  grid-template-columns: minmax(0, 1fr) 64px;
  min-height: 132px;
}

.grow-side-role-card .grow-side-help-copy {
  min-width: 0;
  align-self: center;
}

.grow-side-role-card .grow-side-help-copy > span {
  display: block;
  color: #6a7a98;
  font-size: 10px;
  font-weight: 750;
}

.grow-side-role-card .grow-side-help-copy strong {
  margin-top: 7px;
  color: #14244b;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.grow-side-role-card .grow-side-help-copy p {
  margin: 7px 0 0;
  color: #7890b2;
  font-size: 9px;
  line-height: 1.45;
}

.grow-side-role-card .grow-side-robot {
  width: 60px;
  height: 76px;
}

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

.grow-role-stats article {
  min-height: 96px;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(41, 92, 176, 0.08);
}

.grow-role-stat-icon {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.grow-role-stat-icon svg {
  width: 19px;
  height: 19px;
}

.grow-role-stats article > div > strong {
  font-size: 25px;
}

.grow-role-home-grid {
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, 0.62fr);
}

.grow-role-main-panel,
.grow-role-record-panel,
.grow-role-care-panel,
.grow-admin-role-preview {
  border-radius: 14px;
  box-shadow: var(--grow-shadow);
}

.grow-admin-role-preview {
  padding: 16px;
}

.grow-admin-role-preview .grow-panel-head {
  margin-bottom: 10px;
}

.grow-admin-role-preview-grid {
  gap: 8px;
}

.grow-admin-role-preview-card {
  min-height: 94px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
}

.grow-admin-role-preview-card > span {
  grid-row: 1 / 3;
  margin: 0;
}

.grow-admin-role-preview-card strong {
  margin: 0;
  font-size: 13px;
}

.grow-admin-role-preview-card p {
  min-height: 0;
  margin: 2px 0 0;
  font-size: 10px;
  line-height: 1.45;
}

.grow-admin-role-preview-card em {
  display: none;
}

.grow-person-row {
  min-height: 58px;
}

.grow-management-record {
  padding: 12px;
}

.grow-management-record.is-compact p {
  -webkit-line-clamp: 2;
}

@media (max-width: 1180px) {
  .grow-role-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grow-admin-role-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Growth record workflow */
.grow-record-composer-head {
  min-height: 96px;
}

.grow-record-compose {
  gap: 18px;
}

.grow-record-editor {
  min-height: 220px;
}

.grow-record-editor textarea {
  height: 220px;
  min-height: 220px;
  max-height: 420px;
  resize: none;
}

.grow-record-draft-status {
  margin-top: -8px;
  color: #7588a8;
  font-size: 12px;
  text-align: right;
}

.grow-record-history > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.grow-record-filters {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 3px;
  border: 1px solid #e0e9f8;
  border-radius: 8px;
  background: #f6f9fe;
}

.grow-record-filters button {
  min-height: 32px;
  padding: 5px 10px;
  border: 0;
  border-radius: 6px;
  color: #657a9c;
  background: transparent;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.grow-record-filters button.is-active {
  color: #185fd7;
  background: #fff;
  box-shadow: 0 2px 8px rgba(45, 84, 151, 0.1);
  font-weight: 760;
}

.grow-timeline-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 7px 0 5px;
}

.grow-timeline-labels span {
  padding: 3px 7px;
  border-radius: 5px;
  color: #60779d;
  background: #f0f5fc;
  font-size: 10px;
  line-height: 1.3;
}

.grow-timeline-card > div > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.grow-timeline-feedback,
.grow-timeline-human-feedback {
  margin-top: 11px;
  padding: 10px 12px;
  border-left: 3px solid #75a8ff;
  border-radius: 0 7px 7px 0;
  background: #f4f8ff;
}

.grow-timeline-human-feedback {
  border-left-color: #38b792;
  background: #f1fbf8;
}

.grow-timeline-human-feedback.is-mentor {
  border-left-color: #347cf2;
  background: #eef5ff;
  box-shadow: inset 0 0 0 1px rgba(52, 124, 242, 0.08);
}

.grow-timeline-feedback strong,
.grow-timeline-human-feedback strong {
  display: block;
  margin-bottom: 3px;
  color: #2762b5;
  font-size: 11px;
}

.grow-timeline-human-feedback strong {
  color: #16816a;
}

.grow-timeline-human-feedback.is-mentor strong {
  color: #1f63cf;
}

.grow-timeline-feedback p,
.grow-timeline-human-feedback p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #617696;
  font-size: 11px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.grow-timeline-card > button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 6px;
  cursor: pointer;
}

.grow-timeline-card > button:hover {
  color: #1768ee;
  background: #edf4ff;
}

.grow-timeline-card > button svg {
  width: 16px;
  height: 16px;
}

.grow-record-more {
  display: block;
  min-width: 160px;
  min-height: 38px;
  margin: 22px auto 0;
  border: 1px solid #d6e3f7;
  border-radius: 7px;
  color: #2764be;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
}

.grow-record-human-detail {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #d6eee7;
  border-radius: 8px;
  background: #f4fbf9;
}

.grow-record-human-detail.is-mentor {
  border-color: #bdd5fb;
  background: #f2f7ff;
}

.grow-feedback-item.is-mentor {
  border-color: #bdd5fb;
  background: #f5f8ff;
}

.grow-feedback-item h3 span {
  display: inline-flex;
  margin-right: 8px;
  padding: 3px 7px;
  border-radius: 5px;
  color: #397097;
  background: #edf5f7;
  font-size: 10px;
}

.grow-feedback-item.is-mentor h3 span {
  color: #1d61ce;
  background: #e7f0ff;
}

.grow-side-help .grow-mini-btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.grow-record-human-detail strong,
.grow-record-human-detail time {
  display: block;
}

.grow-record-human-detail p {
  margin: 6px 0;
  color: #3b5770;
  line-height: 1.7;
}

.grow-record-human-detail time,
.grow-record-edit-window {
  color: #7b8da8;
  font-size: 11px;
}

.grow-record-edit-modal {
  width: min(620px, 100%);
}

.grow-record-edit-modal form {
  display: grid;
  gap: 9px;
}

.grow-record-edit-modal label {
  margin-top: 6px;
  color: #31496f;
  font-size: 12px;
  font-weight: 720;
}

.grow-record-edit-modal textarea,
.grow-record-edit-modal select {
  width: 100%;
  border: 1px solid #d6e3f7;
  border-radius: 8px;
  color: #263f67;
  background: #fff;
  font: inherit;
}

.grow-record-edit-modal textarea {
  min-height: 180px;
  padding: 14px;
  resize: vertical;
}

.grow-record-edit-modal select {
  min-height: 42px;
  padding: 0 12px;
}

.grow-record-edit-modal .grow-btn-primary {
  margin-top: 12px;
}

@media (max-width: 1080px) {
  .grow-record-history > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .grow-record-filters {
    width: 100%;
  }

  .grow-record-filters button {
    flex: 1;
  }
}

/* Handbook publishing and reading */
.grow-handbook-admin-head { align-items: center; }
.grow-handbook-admin-stats { display: flex; gap: 8px; }
.grow-handbook-admin-stats span {
  min-width: 88px;
  padding: 8px 11px;
  border: 1px solid #dfe7f2;
  border-radius: 6px;
  color: #6b7890;
  background: #f8fafc;
  font-size: 11px;
  text-align: center;
}
.grow-handbook-admin-stats strong { color: #17233f; font-size: 16px; }
.grow-handbook-create,
.grow-handbook-create-article {
  margin-top: 12px;
  border: 1px solid #dfe7f2;
  border-radius: 7px;
  background: #fff;
}
.grow-handbook-create > summary,
.grow-handbook-create-article > summary {
  padding: 10px 12px;
  color: #28558f;
  background: #f6f9fd;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.grow-handbook-create > form,
.grow-handbook-create-article > form { padding: 12px; }
.grow-handbook-admin-sections { display: grid; gap: 14px; margin-top: 16px; }
.grow-handbook-admin-section {
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.grow-handbook-admin-section > header {
  min-height: 84px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e7edf5;
  background: #f8fafc;
}
.grow-handbook-admin-section > header span {
  color: var(--grow-primary);
  font-size: 10px;
  font-weight: 800;
}
.grow-handbook-admin-section > header h3 { margin: 4px 0; color: #17233f; font-size: 15px; }
.grow-handbook-admin-section > header p { margin: 0; color: #6c7990; font-size: 11px; }
.grow-handbook-section-actions { position: relative; }
.grow-handbook-section-actions > summary {
  padding: 7px 10px;
  border: 1px solid #d7e1ef;
  border-radius: 5px;
  color: #52627b;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
}
.grow-handbook-section-actions > form {
  position: absolute;
  z-index: 5;
  top: 36px;
  right: 0;
  width: 360px;
  padding: 12px;
  border: 1px solid #dbe4f1;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(25, 54, 96, 0.16);
}
.grow-handbook-admin-section > .grow-handbook-create-article { margin: 12px 14px; }
.grow-handbook-admin-articles { display: grid; gap: 8px; padding: 0 14px 14px; }
.grow-handbook-admin-article {
  border: 1px solid #e1e8f2;
  border-radius: 7px;
  overflow: hidden;
}
.grow-handbook-admin-article > summary {
  min-height: 76px;
  padding: 9px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.grow-handbook-admin-article > summary::-webkit-details-marker { display: none; }
.grow-handbook-admin-article > summary > img,
.grow-handbook-admin-fallback {
  width: 92px;
  height: 58px;
  border-radius: 5px;
  object-fit: cover;
  background: linear-gradient(135deg, #dbeaff, #f4f8ff);
}
.grow-handbook-admin-article > summary strong { color: #17233f; font-size: 12px; }
.grow-handbook-admin-article > summary p {
  max-width: 720px;
  margin: 4px 0;
  overflow: hidden;
  color: #65738a;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.grow-handbook-admin-article > summary small { display: block; margin-top: 6px; color: #8994a6; font-size: 10px; }
.grow-handbook-admin-article > summary > span:last-child { color: var(--grow-primary); font-size: 11px; }
.grow-handbook-admin-article[open] > summary { border-bottom: 1px solid #e5ebf3; background: #f8fbff; }
.grow-handbook-admin-article > form { padding: 12px; }
.grow-handbook-admin-article > .grow-btn { margin: 0 12px 12px; }
.grow-handbook-admin-thumbs { display: flex; gap: 8px; padding: 12px 12px 0; }
.grow-handbook-admin-thumbs img { width: 88px; height: 58px; border-radius: 5px; object-fit: cover; }
.grow-handbook-admin-thumbs span,
.grow-handbook-admin-noimage {
  padding: 8px 12px;
  color: #7d899c;
  font-size: 10px;
}
.grow-handbook-keep { display: inline-flex; gap: 6px; margin: 0 14px 10px 0; color: #62718a; font-size: 11px; }
.grow-handbook-simple-form .grow-admin-form-grid { align-items: start; }
.grow-handbook-simple-form textarea { min-height: 156px; line-height: 1.7; resize: vertical; }
.grow-handbook-simple-form .grow-field label span,
.grow-handbook-upload-field small { color: #8a98ac; font-size: 10px; font-weight: 500; }
.grow-handbook-upload-field small { display: block; margin-top: 6px; line-height: 1.5; }

.grow-handbook-view { display: grid; gap: 16px; }
.grow-handbook-hero {
  min-height: 260px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: center;
  border: 1px solid #d8e6f8;
  border-radius: 12px;
  background: linear-gradient(110deg, #edf5ff, #fff);
}
.grow-handbook-hero h1 { margin: 0; color: #101c43; font-size: 34px; }
.grow-handbook-hero > div > p { max-width: 600px; margin: 12px 0 20px; color: #596b87; line-height: 1.7; }
.grow-handbook-hero nav { display: flex; flex-wrap: wrap; gap: 8px; }
.grow-handbook-hero nav button {
  padding: 7px 11px;
  border: 1px solid #cbdcf4;
  border-radius: 5px;
  color: #315582;
  background: rgba(255,255,255,.8);
  cursor: pointer;
  font-size: 11px;
}
.grow-handbook-featured {
  height: 204px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  overflow: hidden;
  position: relative;
  color: #fff;
  background: #1f5fd1;
  cursor: pointer;
  text-align: left;
}
.grow-handbook-featured > img,
.grow-handbook-featured-fallback { width: 100%; height: 100%; display: block; object-fit: cover; }
.grow-handbook-featured-fallback {
  background: url("/grow/assets/grow-handbook-strip.png") center / cover no-repeat;
}
.grow-handbook-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(10,28,68,.86));
}
.grow-handbook-featured > span:last-child { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; }
.grow-handbook-featured em,
.grow-handbook-featured strong,
.grow-handbook-featured small { display: block; }
.grow-handbook-featured em { font-size: 10px; font-style: normal; opacity: .82; }
.grow-handbook-featured strong { margin-top: 5px; font-size: 20px; }
.grow-handbook-featured small { margin-top: 6px; font-size: 10px; opacity: .8; }
.grow-handbook-sections { display: grid; gap: 14px; }
.grow-handbook-category {
  scroll-margin-top: 20px;
  padding: 20px;
  border: 1px solid #dfe8f5;
  border-radius: 10px;
  background: #fff;
}
.grow-handbook-category > header { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.grow-handbook-category h2 { margin: 0; color: #18264a; font-size: 19px; }
.grow-handbook-category header p { margin: 5px 0 0; color: #6b7890; font-size: 12px; }
.grow-handbook-category header > span { color: #7b899f; font-size: 11px; }
.grow-handbook-library,
.grow-handbook-section .grow-handbook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.grow-handbook-card {
  min-height: 270px;
  padding: 0;
  display: grid;
  grid-template-rows: 132px minmax(0, 1fr);
  overflow: hidden;
  text-align: left;
}
.grow-handbook-card::after { content: none; }
.grow-handbook-cover { display: block; min-height: 0; overflow: hidden; background: #edf4ff; }
.grow-handbook-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grow-handbook-cover .grow-card-asset {
  width: 100%;
  height: 100%;
  position: static;
  display: block;
  background-size: 400% 100%;
}
.grow-handbook-card-copy { min-width: 0; padding: 14px; display: flex; flex-direction: column; align-items: flex-start; }
.grow-handbook-card-copy h3 { margin: 8px 0 5px; font-size: 15px; }
.grow-handbook-card-copy p {
  min-height: 42px;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 11px;
}
.grow-handbook-card-copy small { margin-top: 9px; color: #8793a7; font-size: 10px; }
.grow-handbook-card-copy .grow-read-link { margin-top: auto; padding-top: 10px; }
.grow-reader { width: min(900px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow-y: auto; }
.grow-reader > header { max-width: 680px; margin: 24px auto 0; }
.grow-reader > header h2 { margin: 0; font-size: 30px; line-height: 1.35; }
.grow-reader > header p { margin: 8px 0 0; color: #7a879a; font-size: 11px; }
.grow-reader-body { max-width: 680px; margin: 22px auto 40px; }
.grow-reader-body p { margin: 0 0 20px; color: #34445f; font-size: 15px; line-height: 1.95; }
.grow-reader-body img { width: 100%; max-height: 520px; margin: 6px 0 24px; border-radius: 8px; object-fit: cover; }
.grow-record-feedback { grid-column: 1 / -1; }

.grow-check-list { display: grid; gap: 7px; }
.grow-check-list button {
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid #e1e9f5;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 16px;
  gap: 7px;
  align-items: center;
  color: #53627c;
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.grow-check-list button > span:first-child { color: #8ea1ba; font-weight: 900; }
.grow-check-list button > span:first-child.is-done { color: #18a978; }
.grow-check-list button strong { font-size: 11px; }
.grow-check-list button svg { width: 13px; }
.grow-stage-line { grid-template-columns: repeat(4, minmax(52px, 1fr)); overflow-x: auto; }
.grow-stage-line div { min-width: 52px; }
.grow-goal-body { grid-template-columns: 1fr; align-items: start; }
.grow-goal-body .grow-ring { margin: 0 auto; }
.grow-goal-list label { align-items: flex-start; line-height: 1.45; word-break: normal; }
.grow-shell.is-sidebar-collapsed { grid-template-columns: 76px minmax(0, 1fr); }
.grow-shell.is-sidebar-collapsed .grow-sidebar { width: 76px; padding-inline: 12px; }
.grow-shell.is-sidebar-collapsed .grow-sidebar .grow-brand-title,
.grow-shell.is-sidebar-collapsed .grow-side-link > span:last-child,
.grow-shell.is-sidebar-collapsed .grow-side-help { display: none; }
.grow-shell.is-sidebar-collapsed .grow-side-link { justify-content: center; padding-inline: 0; }

@media (max-width: 1100px) {
  .grow-handbook-hero { grid-template-columns: 1fr; }
  .grow-handbook-featured { max-width: 620px; }
  .grow-handbook-library, .grow-handbook-section .grow-handbook-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Professional SaaS operations console */
body.grow-admin-body {
  background: #f4f6f9;
  color: #172033;
}

.saas-admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
}

.saas-admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 16px 12px 12px;
  border-right: 1px solid #dfe4ec;
  background: #fff;
}

.saas-admin-brand {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 12px;
}

.saas-admin-brand .grow-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 14px;
}

.saas-admin-brand strong,
.saas-admin-brand span {
  display: block;
}

.saas-admin-brand strong {
  color: #111827;
  font-size: 14px;
}

.saas-admin-brand span {
  margin-top: 2px;
  color: #8590a3;
  font-size: 10px;
}

.saas-admin-org,
.saas-admin-org-static {
  margin: 4px 4px 12px;
  padding: 10px;
  border: 1px solid #e3e8ef;
  border-radius: 6px;
  background: #f8fafc;
}

.saas-admin-org label,
.saas-admin-org-static span {
  display: block;
  margin-bottom: 5px;
  color: #7b8798;
  font-size: 10px;
  font-weight: 700;
}

.saas-admin-org select {
  width: 100%;
  min-height: 30px;
  padding: 0;
  border: 0;
  color: #253047;
  background: transparent;
  font-size: 12px;
  font-weight: 750;
}

.saas-admin-org-static strong {
  color: #253047;
  font-size: 12px;
}

.saas-admin-nav {
  display: grid;
  gap: 3px;
}

.saas-admin-nav-item {
  min-height: 48px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 6px 9px;
  border: 0;
  border-radius: 6px;
  color: #58657a;
  background: transparent;
  text-align: left;
}

.saas-admin-nav-item:hover {
  color: #1f5fc4;
  background: #f3f7fd;
}

.saas-admin-nav-item.is-active {
  color: #1459bd;
  background: #eaf2ff;
}

.saas-admin-nav-item > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.saas-admin-nav-item svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.saas-admin-nav-item strong,
.saas-admin-nav-item small {
  display: block;
}

.saas-admin-nav-item strong {
  font-size: 12px;
  line-height: 1.25;
}

.saas-admin-nav-item small {
  margin-top: 2px;
  color: #929bad;
  font-size: 9px;
  line-height: 1.25;
}

.saas-admin-nav-item.is-active small {
  color: #6385b5;
}

.saas-admin-account {
  margin-top: auto;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  gap: 8px;
  align-items: center;
  padding: 10px 7px 0;
  border-top: 1px solid #e7ebf1;
}

.saas-admin-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2563c9;
  font-size: 12px;
  font-weight: 800;
}

.saas-admin-account strong,
.saas-admin-account span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.saas-admin-account strong {
  font-size: 11px;
}

.saas-admin-account span {
  margin-top: 2px;
  color: #8893a5;
  font-size: 9px;
}

.saas-admin-account button,
.saas-create-user-head button,
.saas-person-drawer > header > button {
  width: 28px;
  height: 28px;
  border: 0;
  display: grid;
  place-items: center;
  color: #768196;
  background: transparent;
}

.saas-admin-account svg,
.saas-create-user-head svg,
.saas-person-drawer > header svg {
  width: 16px;
  height: 16px;
}

.saas-admin-workspace {
  min-width: 0;
}

.saas-admin-header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 24px;
  border-bottom: 1px solid #dfe4ec;
  background: #fff;
}

.saas-admin-header h1 {
  margin: 0;
  color: #172033;
  font-size: 17px;
}

.saas-admin-header p {
  margin: 3px 0 0;
  color: #8490a2;
  font-size: 10px;
}

.saas-admin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.saas-admin-scope {
  color: #68758a;
  font-size: 11px;
}

.saas-admin-content {
  width: min(1400px, calc(100% - 32px));
  margin: 16px auto 32px;
}

.saas-dashboard {
  display: grid;
  gap: 12px;
}

.saas-dashboard-intro {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid #dde4ed;
  border-radius: 7px;
  background: #fff;
}

.saas-dashboard-intro h2 {
  margin: 0;
  font-size: 16px;
}

.saas-dashboard-intro p {
  margin: 5px 0 0;
  color: #7b879a;
  font-size: 11px;
}

.saas-dashboard-intro .grow-btn svg,
.saas-metric svg,
.saas-task-list svg,
.saas-people-row svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

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

.saas-metric {
  min-height: 92px;
  position: relative;
  padding: 14px;
  border: 1px solid #dde4ed;
  border-radius: 7px;
  color: #182237;
  background: #fff;
  text-align: left;
}

.saas-metric:not(:disabled):hover {
  border-color: #9fbae1;
  box-shadow: 0 6px 18px rgba(31, 68, 126, 0.08);
}

.saas-metric:disabled {
  cursor: default;
}

.saas-metric span,
.saas-metric strong,
.saas-metric small {
  display: block;
}

.saas-metric span {
  color: #6d798d;
  font-size: 10px;
  font-weight: 750;
}

.saas-metric strong {
  margin-top: 8px;
  font-size: 25px;
  line-height: 1;
}

.saas-metric small {
  margin-top: 8px;
  color: #939cad;
  font-size: 9px;
}

.saas-metric > svg {
  position: absolute;
  right: 12px;
  top: 13px;
  color: #9aa5b7;
}

.saas-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 10px;
}

.saas-surface {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dde4ed;
  border-radius: 7px;
  background: #fff;
}

.saas-surface > header {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.saas-surface h3 {
  margin: 0;
  font-size: 13px;
}

.saas-surface header p {
  margin: 3px 0 0;
  color: #8a95a6;
  font-size: 9px;
}

.saas-task-list > button {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  padding: 8px 2px;
  border: 0;
  border-top: 1px solid #edf0f4;
  color: #29354a;
  background: transparent;
  text-align: left;
}

.saas-task-list > button > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 850;
}

.saas-task-list .is-warning { color: #9a5a00; background: #fff4d8; }
.saas-task-list .is-primary { color: #1854a9; background: #eaf2ff; }
.saas-task-list .is-danger { color: #a4343f; background: #fff0f1; }

.saas-task-list strong,
.saas-task-list small {
  display: block;
}

.saas-task-list strong {
  font-size: 11px;
}

.saas-task-list small {
  margin-top: 3px;
  color: #8792a4;
  font-size: 9px;
}

.saas-role-distribution {
  display: grid;
  gap: 11px;
}

.saas-role-distribution > div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 24px;
  gap: 9px;
  align-items: center;
  color: #667287;
  font-size: 10px;
}

.saas-role-distribution i {
  height: 6px;
  border-radius: 999px;
  background: #eef1f5;
  overflow: hidden;
}

.saas-role-distribution em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #3978d4;
}

.saas-role-distribution strong {
  color: #2c374a;
  text-align: right;
}

.saas-activity-list {
  display: grid;
}

.saas-activity-list > button {
  min-height: 50px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 56px;
  gap: 9px;
  align-items: center;
  padding: 7px 2px;
  border: 0;
  border-top: 1px solid #edf0f4;
  color: #273246;
  background: transparent;
  text-align: left;
}

.saas-activity-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #245da9;
  background: #e9f1fd;
  font-size: 10px;
  font-weight: 800;
}

.saas-status-dot {
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-radius: 50%;
  background: #e24f5a;
}

.saas-activity-list strong,
.saas-activity-list p {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.saas-activity-list strong {
  font-size: 10px;
}

.saas-activity-list p {
  margin: 3px 0 0;
  color: #7e899b;
  font-size: 9px;
}

.saas-activity-list time {
  color: #929cad;
  font-size: 9px;
  text-align: right;
}

.saas-map-summary {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.saas-map-summary strong {
  color: #2563c9;
  font-size: 36px;
}

.saas-map-summary span,
.saas-map-summary p {
  color: #758197;
  font-size: 10px;
}

.saas-map-summary p {
  margin: 7px 0 12px;
}

.saas-admin-permissions {
  margin-bottom: 16px;
  border: 1px solid #dfe7f2;
  border-radius: 6px;
  background: #fff;
}

.saas-admin-permissions > header {
  padding: 16px 18px;
  border-bottom: 1px solid #e6edf6;
}

.saas-admin-permissions > header span,
.saas-admin-permissions > header p {
  color: #72839b;
  font-size: 12px;
}

.saas-admin-permissions > header h2 {
  margin: 3px 0;
  color: #19365e;
  font-size: 17px;
}

.saas-admin-permission-list > form {
  display: grid;
  grid-template-columns: minmax(190px, 1.3fr) repeat(3, minmax(130px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 13px 18px;
  border-bottom: 1px solid #edf1f6;
}

.saas-admin-permission-list > form:last-child {
  border-bottom: 0;
}

.saas-admin-permission-person {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: center;
}

.saas-admin-permission-person > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: #eaf2ff;
  color: #1763d5;
  font-style: normal;
  font-weight: 800;
}

.saas-admin-permission-person > span,
.saas-admin-permission-list label {
  display: grid;
  gap: 4px;
}

.saas-admin-permission-person small,
.saas-admin-permission-list label > span {
  color: #7b8ca4;
  font-size: 11px;
}

.saas-admin-permission-list select {
  min-height: 36px;
  border: 1px solid #d9e4f2;
  border-radius: 5px;
  background: #fff;
  color: #294568;
  padding: 0 10px;
}

.saas-admin-permission-list em {
  align-self: center;
  color: #7690b3;
  font-size: 12px;
  font-style: normal;
}

.saas-admin-permission-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.saas-admin-permission-actions .grow-btn {
  min-height: 36px;
  white-space: nowrap;
}

.saas-page-toolbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.saas-page-toolbar select,
.saas-search {
  min-height: 34px;
  border: 1px solid #d9e0e9;
  border-radius: 6px;
  background: #fff;
}

.saas-search {
  width: min(320px, 35vw);
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
}

.saas-search svg {
  width: 15px;
  height: 15px;
  justify-self: center;
  color: #8b96a8;
}

.saas-search input {
  min-height: 32px;
  border: 0;
  padding: 0 8px 0 0;
  font-size: 11px;
}

.saas-page-toolbar select {
  min-width: 120px;
  padding: 0 28px 0 9px;
  color: #526078;
  font-size: 10px;
}

.saas-result-count {
  margin-left: auto;
  color: #8490a2;
  font-size: 10px;
}

.saas-create-user {
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid #cfdced;
  border-radius: 7px;
  background: #fff;
}

.saas-create-user-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.saas-create-user-head h3 {
  margin: 0;
  font-size: 13px;
}

.saas-create-user-head p {
  margin: 3px 0 0;
  color: #8390a3;
  font-size: 9px;
}

.saas-people-table {
  overflow-x: auto;
  border: 1px solid #dce3ec;
  border-radius: 7px;
  background: #fff;
}

.saas-people-head,
.saas-people-row {
  min-width: 1080px;
  display: grid;
  grid-template-columns: 24px minmax(190px, 1.25fr) 74px 92px 105px minmax(135px, .9fr) 92px 92px 28px;
  gap: 10px;
  align-items: center;
}

.saas-people-head {
  min-height: 36px;
  padding: 0 12px;
  color: #758196;
  background: #f7f8fa;
  font-size: 9px;
  font-weight: 750;
}

.saas-people-row {
  min-height: 58px;
  padding: 7px 12px;
  border-top: 1px solid #edf0f4;
  color: #526078;
  background: #fff;
  text-align: left;
}

.saas-people-row:hover {
  background: #f8fbff;
}

.saas-person-cell {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

button.saas-person-cell,
.saas-row-open {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.saas-row-open { display: grid; place-items: center; }
.saas-row-open svg { width: 15px; color: #7e90aa; }
.saas-people-head input[type="checkbox"],
.saas-people-row > input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--grow-primary); cursor: pointer; }

.saas-person-cell > i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #245da9;
  background: #e9f1fd;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.saas-person-cell strong,
.saas-person-cell small,
.saas-people-row > span > strong,
.saas-people-row > span > small {
  display: block;
}

.saas-person-cell strong {
  color: #202a3d;
  font-size: 11px;
}

.saas-person-cell small,
.saas-people-row > span > small {
  margin-top: 3px;
  color: #929cad;
  font-size: 9px;
}

.saas-role-tag {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 999px;
  color: #3f5f8e;
  background: #eaf2fd;
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
}

.saas-role-tag.is-mentor { color: #276750; background: #e7f5ef; }
.saas-role-tag.is-manager { color: #73551d; background: #f8f0dc; }
.saas-role-tag.is-executive { color: #8a4d17; background: #fff0df; }
.saas-role-tag.is-hr,
.saas-role-tag.is-advisor { color: #74427d; background: #f5eaf7; }

.saas-scope-cell {
  overflow: hidden;
  color: #435878;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saas-mentor-picker {
  max-height: 172px;
  padding: 7px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid #d9e4f2;
  border-radius: 7px;
  background: #f8fbff;
}

.saas-mentor-picker > label {
  min-width: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.saas-mentor-picker > label:has(input:checked) {
  border-color: #9fc0f8;
  background: #edf5ff;
}

.saas-mentor-picker input {
  width: 15px;
  height: 15px;
  accent-color: var(--grow-primary);
}

.saas-mentor-picker strong,
.saas-mentor-picker small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saas-mentor-picker strong { color: #294467; font-size: 10px; }
.saas-mentor-picker small { margin-top: 2px; color: #8190a6; font-size: 8px; }

.saas-status-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 5px; font-size: 9px; font-style: normal; font-weight: 800; }
.saas-status-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.saas-status-tag.is-active { color: #08765a; background: #e6f7f1; }
.saas-status-tag.is-pending { color: #966300; background: #fff4d8; }
.saas-status-tag.is-disabled { color: #69778b; background: #edf1f5; }

.saas-user-import { margin-bottom: 12px; padding: 18px; border: 1px solid #cbdcf5; border-radius: 8px; background: #fff; box-shadow: 0 10px 26px rgba(39,76,134,.06); }
.saas-user-import > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid #e6edf7; }
.saas-user-import > header span { color: var(--grow-primary); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.saas-user-import > header h3 { margin: 4px 0; color: #1d3154; font-size: 15px; }
.saas-user-import > header p { margin: 0; color: #74839a; font-size: 10px; }
.saas-user-import > header button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 6px; color: #718098; background: #f3f6fa; cursor: pointer; }
.saas-user-import > header button svg { width: 15px; }
.saas-import-actions { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.saas-import-actions > span { color: #8491a4; font-size: 9px; }
.saas-import-actions .grow-btn svg,.saas-bulk-bar .grow-btn svg { width: 14px; }
.saas-import-summary { min-height: 42px; margin-top: 14px; padding: 9px 11px; display: flex; align-items: center; gap: 10px; border: 1px solid #bfe4d8; border-radius: 7px; color: #587267; background: #f2fbf8; font-size: 10px; }
.saas-import-summary strong { color: #08765a; font-size: 11px; }
.saas-import-summary.has-errors { border-color: #f1c8c4; color: #9b625d; background: #fff8f7; }
.saas-import-summary.has-errors strong { color: #bd443c; }
.saas-import-empty { min-height: 140px; margin-top: 16px; display: grid; place-content: center; justify-items: center; gap: 6px; border: 1px dashed #cfdbeb; border-radius: 7px; color: #7b899d; background: #f9fbfd; text-align: center; font-size: 10px; }
.saas-import-empty strong { color: #405778; font-size: 12px; }
.saas-import-errors { max-height: 190px; margin: 12px 0 0; padding: 10px 10px 10px 28px; overflow: auto; border: 1px solid #f1c8c4; border-radius: 7px; color: #a53e38; background: #fff8f7; font-size: 10px; line-height: 1.7; }
.saas-import-preview-table { margin-top: 12px; border: 1px solid #dfe6ef; border-radius: 7px; overflow: hidden; }
.saas-import-preview-table > div { min-height: 38px; padding: 7px 10px; display: grid; grid-template-columns: 1fr 1.3fr 90px 1fr 1.2fr; gap: 12px; align-items: center; border-top: 1px solid #edf1f5; color: #53627a; font-size: 10px; }
.saas-import-preview-table > div:first-child { border-top: 0; color: #738096; background: #f7f9fc; font-size: 9px; font-weight: 800; }
.saas-import-preview-table strong,.saas-import-preview-table small { display: block; }
.saas-import-preview-table small { margin-top: 2px; color: #939dad; font-size: 8px; }
.saas-user-import > footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #e8edf4; color: #718199; font-size: 10px; }
.saas-user-import button:disabled { opacity: .5; cursor: not-allowed; }

.saas-bulk-bar { min-height: 52px; margin-bottom: 10px; padding: 8px 10px; display: grid; grid-template-columns: minmax(150px,.7fr) minmax(330px,1.3fr) auto; gap: 12px; align-items: center; border: 1px solid #bcd2f2; border-radius: 7px; background: #f3f7fd; }
.saas-bulk-bar > div,.saas-bulk-bar > label { display: flex; align-items: center; gap: 7px; }
.saas-bulk-bar > div:first-child { color: #274c82; font-size: 10px; }
.saas-bulk-bar > div:first-child button { border: 0; color: #6b7f9e; background: transparent; font-size: 9px; cursor: pointer; }
.saas-bulk-bar label span { color: #62728a; font-size: 9px; font-weight: 750; }
.saas-bulk-bar select { min-width: 170px; min-height: 34px; border: 1px solid #ccd9eb; border-radius: 6px; color: #405371; background: #fff; font-size: 10px; }
.saas-bulk-bar > div:last-child { justify-content: flex-end; }
@media (max-width: 1180px) {
  .saas-bulk-bar { grid-template-columns: 1fr; }
  .saas-bulk-bar > div:last-child { justify-content: flex-start; }
}

.saas-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(24, 33, 48, 0.24);
}

.saas-person-drawer {
  position: fixed;
  z-index: 81;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100vh;
  padding: 16px;
  overflow-y: auto;
  border-left: 1px solid #dce3ec;
  background: #fff;
  box-shadow: -18px 0 40px rgba(24, 42, 70, 0.14);
}

.saas-person-drawer > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #e6eaf0;
}

.saas-person-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.saas-person-profile > i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #3978d4;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.saas-person-profile h2 {
  margin: 0;
  font-size: 15px;
}

.saas-person-profile p {
  margin: 3px 0 0;
  color: #8390a3;
  font-size: 10px;
}

.saas-drawer-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 14px 0;
  border: 1px solid #e0e6ee;
  border-radius: 7px;
}

.saas-drawer-metrics > div {
  padding: 11px;
  text-align: center;
}

.saas-drawer-metrics > div + div {
  border-left: 1px solid #e0e6ee;
}

.saas-drawer-metrics strong,
.saas-drawer-metrics span {
  display: block;
}

.saas-drawer-metrics strong {
  font-size: 17px;
}

.saas-drawer-metrics span {
  margin-top: 4px;
  color: #8591a3;
  font-size: 9px;
}

.saas-person-form,
.saas-person-readonly,
.saas-drawer-section {
  padding: 14px 0;
  border-top: 1px solid #e6eaf0;
}

.saas-person-form h3,
.saas-person-readonly h3,
.saas-drawer-section h3 {
  margin: 0 0 10px;
  font-size: 12px;
}

.saas-person-form {
  display: grid;
  gap: 9px;
}

.saas-person-transfer-form {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding: 14px;
  border: 1px solid #dfe7f2;
  border-radius: 7px;
  background: #f8fafd;
}

.saas-person-transfer-form h3,
.saas-person-transfer-form p {
  margin: 0;
}

.saas-person-transfer-form h3 {
  color: #263b5f;
  font-size: 12px;
}

.saas-person-transfer-form p {
  margin-top: 4px;
  color: #75839a;
  font-size: 9px;
  line-height: 1.5;
}

.saas-person-transfer-form details {
  border-top: 1px solid #e3e9f2;
  padding-top: 9px;
}

.saas-person-transfer-form summary {
  cursor: pointer;
  color: #536783;
  font-size: 10px;
  font-weight: 750;
}

.saas-transfer-history {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 9px;
  cursor: pointer;
}

.saas-transfer-history input {
  margin-top: 2px;
}

.saas-transfer-history span,
.saas-transfer-history strong,
.saas-transfer-history small {
  display: block;
}

.saas-transfer-history strong {
  color: #30435f;
  font-size: 10px;
}

.saas-transfer-history small {
  margin-top: 3px;
  color: #7a879b;
  font-size: 9px;
  line-height: 1.45;
}

.saas-drawer-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.saas-person-readonly dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.saas-person-readonly dl > div {
  display: flex;
  justify-content: space-between;
}

.saas-person-readonly dt {
  color: #8490a2;
  font-size: 10px;
}

.saas-person-readonly dd {
  margin: 0;
  font-size: 10px;
}

.saas-drawer-section article {
  padding: 9px 0;
  border-top: 1px solid #eef1f5;
}

.saas-drawer-section article strong {
  color: #647187;
  font-size: 9px;
}

.saas-drawer-section article p {
  margin: 5px 0 0;
  color: #344056;
  font-size: 10px;
  line-height: 1.5;
}

.saas-readonly-note {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-left: 3px solid #6e91c8;
  color: #607088;
  background: #f3f7fc;
  font-size: 10px;
}

@media (max-width: 1100px) {
  .saas-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saas-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .saas-people-table {
    overflow-x: auto;
  }
}

.grow-toast {
  position: fixed;
  z-index: 1000;
  top: 78px;
  left: 50%;
  max-width: min(460px, calc(100vw - 32px));
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid #bed3f6;
  border-radius: 8px;
  color: #173260;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 36px rgba(35, 82, 153, 0.18);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  opacity: 0;
  transform: translate(-50%, -10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.grow-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.grow-toast.is-success {
  border-color: #a7dfca;
  color: #176047;
}

.grow-toast.is-error {
  border-color: #f0b7bc;
  color: #9b2833;
  background: #fffafb;
}

/* Role hero integration: reuse the newcomer hero composition exactly. */
.grow-role-hero-card {
  min-height: 250px;
}

.grow-role-hero-card .grow-hero-content {
  min-height: 250px;
}

.grow-role-hero-card .grow-hero-copy {
  max-width: 520px;
}

.grow-role-hero-card h1 {
  max-width: 560px;
  margin: 0;
  color: #11194b;
  font-size: clamp(36px, 3.15vw, 48px);
  line-height: 1.12;
  font-weight: 950;
}

.grow-role-hero-card .grow-hero-copy > p {
  max-width: 520px;
  margin: 14px 0 0;
  color: #334464;
  font-size: 15px;
  line-height: 1.72;
  font-weight: 650;
}

.grow-role-hero-card .grow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.grow-role-hero-card .grow-btn svg {
  width: 18px;
  height: 18px;
}

.grow-role-hero-card .grow-role-hero-media {
  height: auto;
  margin: 0;
}

.grow-role-hero-card .grow-role-hero-media img {
  width: 610px;
  max-width: none;
  height: 250px;
  max-height: 250px;
  object-fit: cover;
  object-position: 73% center;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 94%, transparent 100%);
}

.grow-role-hero-mentor .grow-role-hero-media img {
  object-position: 72% center;
}

.grow-role-hero-manager .grow-role-hero-media img {
  object-position: 75% center;
}

.grow-role-hero-hr .grow-role-hero-media img,
.grow-role-hero-advisor .grow-role-hero-media img,
.grow-role-hero-admin .grow-role-hero-media img {
  object-position: 78% center;
}

.grow-role-hero-card .grow-role-overview {
  min-width: 0;
  min-height: 186px;
  padding: 18px 18px 14px;
  border: 0;
}

.grow-role-hero-card .grow-role-overview h2 {
  font-size: 18px;
}

.grow-role-hero-card .grow-role-overview p {
  min-height: 42px;
  margin: 12px 0 14px;
  color: #475a7d;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 650;
}

.grow-role-hero-card .grow-role-overview-stats {
  padding: 12px 0;
}

.grow-role-hero-card .grow-role-overview-stats strong {
  font-size: 22px;
}

.grow-role-stats article {
  box-shadow: var(--grow-shadow);
}

.grow-role-stats article:hover {
  transform: none;
}

@media (max-width: 1180px) {
  .grow-role-hero-card .grow-hero-content {
    grid-template-columns: minmax(340px, 1fr) minmax(350px, 1fr);
  }

  .grow-role-hero-card .grow-role-overview {
    display: none;
  }
}

@media (max-width: 900px) {
  .grow-role-hero-card .grow-hero-content {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .grow-role-hero-card .grow-role-hero-media {
    height: 230px;
    margin: 0 -24px;
  }

  .grow-role-hero-card .grow-role-hero-media img {
    width: 100%;
    min-width: 620px;
    height: 230px;
    max-height: 230px;
    object-position: 74% center;
  }
}

@media (max-width: 560px) {
  .grow-shell {
    padding-bottom: 94px;
  }

  .grow-main {
    width: min(360px, calc(100vw - 24px));
    margin-left: 12px;
    margin-right: auto;
  }

  .grow-brand-title strong {
    max-width: 210px;
    font-size: 15px;
  }

  .grow-brand-title span {
    max-width: 210px;
  }

  .grow-hero h1 {
    font-size: clamp(28px, 10vw, 36px);
    line-height: 1.16;
    max-width: calc(100vw - 72px);
    word-break: break-all;
  }

  .grow-hero-card::before {
    right: -150px;
  }

  .grow-hero p,
  .grow-panel-head p {
    overflow-wrap: anywhere;
  }

  .grow-admin-link {
    padding: 0 10px;
    font-size: 12px;
  }

  .grow-hero-card,
  .grow-hero-buddy,
  .grow-panel,
  .grow-admin-panel {
    border-radius: 20px;
    padding: 18px;
  }

  .grow-hero-actions .grow-btn {
    width: 100%;
  }

  .grow-quick-stats {
    grid-template-columns: 1fr;
  }

  .grow-panel-head {
    display: grid;
  }

  .grow-admin-form-grid {
    grid-template-columns: 1fr;
  }

  .grow-admin-row {
    grid-template-columns: 1fr;
  }

  .grow-bottom-nav {
    left: 8px;
    right: auto;
    bottom: 10px;
    width: min(360px, calc(100vw - 16px));
    max-width: none;
    transform: none;
    border-radius: 22px;
  }

  .grow-nav-btn {
    min-height: 50px;
    font-size: 11px;
  }

  .grow-mobile-submit {
    position: sticky;
    bottom: 84px;
    z-index: 10;
    display: grid;
    margin-top: 12px;
  }

  .grow-mobile-submit .grow-btn {
    width: 100%;
  }

  .grow-modal {
    padding: 10px;
  }

  .grow-modal-card {
    max-height: calc(100vh - 20px);
    padding: 18px;
    border-radius: 20px;
  }
}

/* Role homepages share the same visual language as the newcomer dashboard. */
.grow-role-hero {
  min-height: 270px;
  display: block;
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cfe0f8;
  border-radius: 14px;
  background: #eaf4ff;
  box-shadow: 0 18px 42px rgba(35, 91, 173, 0.12);
}

.grow-role-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(226, 240, 255, 0.98) 0%, rgba(238, 247, 255, 0.88) 43%, rgba(221, 237, 255, 0.96) 100%),
    radial-gradient(circle at 70% 18%, rgba(26, 110, 255, 0.16), transparent 300px);
}

.grow-role-hero-content {
  position: relative;
  min-height: 270px;
  display: grid;
  grid-template-columns: minmax(360px, 0.96fr) minmax(340px, 1.08fr) 250px;
  align-items: center;
  gap: 12px;
  padding: 20px 18px 18px 34px;
}

.grow-role-hero-copy {
  min-width: 0;
  max-width: 530px;
  position: relative;
  z-index: 2;
}

.grow-role-hero h1 {
  max-width: 540px;
  margin: 0;
  color: #11194b;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.16;
  font-weight: 950;
}

.grow-role-hero p {
  max-width: 510px;
  margin: 14px 0 0;
  color: #405374;
  font-size: 14px;
  line-height: 1.72;
  font-weight: 650;
}

.grow-role-hero .grow-hero-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 22px;
}

.grow-role-hero .grow-btn {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.grow-role-hero .grow-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.grow-role-hero-media {
  min-width: 0;
  height: 270px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.grow-role-hero-media img {
  width: 650px;
  max-width: none;
  height: 270px;
  object-fit: contain;
  object-position: 68% center;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 93%, transparent 100%);
}

.grow-role-hero-mentor .grow-role-hero-media img {
  object-position: 71% center;
}

.grow-role-hero-manager .grow-role-hero-media img,
.grow-role-hero-hr .grow-role-hero-media img,
.grow-role-hero-advisor .grow-role-hero-media img,
.grow-role-hero-admin .grow-role-hero-media img {
  object-position: 74% center;
}

.grow-role-overview {
  min-width: 0;
  min-height: 196px;
  align-self: center;
  padding: 19px 18px 16px;
  border: 1px solid rgba(210, 225, 247, 0.95);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 16px 34px rgba(33, 89, 182, 0.1);
  position: relative;
  z-index: 2;
}

.grow-role-overview h2 {
  margin: 0;
  color: #17234d;
  font-size: 17px;
  line-height: 1.35;
}

.grow-role-overview p {
  min-height: 44px;
  margin: 10px 0 14px;
  color: #536685;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 600;
}

.grow-role-overview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 13px 0;
  border-top: 1px solid #e0eafa;
  border-bottom: 1px solid #e0eafa;
}

.grow-role-overview-stats > div + div {
  padding-left: 16px;
  border-left: 1px solid #e0eafa;
}

.grow-role-overview-stats strong,
.grow-role-overview-stats span {
  display: block;
}

.grow-role-overview-stats strong {
  color: #0b60f6;
  font-size: 25px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.grow-role-overview-stats span {
  margin-top: 7px;
  color: #70809a;
  font-size: 11px;
  font-weight: 700;
}

.grow-role-overview small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  color: #7888a3;
  font-size: 10px;
  font-weight: 700;
}

.grow-role-overview small svg {
  width: 13px;
  height: 13px;
  color: #397cf1;
}

.grow-role-stats {
  gap: 12px;
  margin-top: 12px;
}

.grow-role-stats article {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 18px;
  border-color: #d9e7fa;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 9px 24px rgba(35, 82, 153, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.grow-role-stats article:hover {
  transform: translateY(-2px);
  border-color: #9fc1f6;
  box-shadow: 0 14px 28px rgba(35, 82, 153, 0.11);
}

.grow-role-stat-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid !important;
  place-items: center;
  border-radius: 10px;
  color: #1769f7 !important;
  background: linear-gradient(145deg, #e4efff, #f4f8ff);
}

.grow-role-stat-icon svg {
  width: 21px;
  height: 21px;
}

.grow-role-stats article > div {
  min-width: 0;
}

.grow-role-stats article > div > span {
  color: #687792;
  font-size: 11px;
  font-weight: 750;
}

.grow-role-stats article > div > strong {
  margin-top: 6px;
  font-size: 27px;
}

.grow-role-stats article > div > p {
  margin-top: 7px;
}

.grow-role-home-grid {
  gap: 12px;
}

.grow-role-main-panel,
.grow-role-record-panel,
.grow-role-care-panel {
  border-color: #d8e6f8;
  box-shadow: 0 10px 28px rgba(35, 82, 153, 0.07);
}

.grow-role-main-panel .grow-panel-head,
.grow-role-record-panel .grow-panel-head,
.grow-role-care-panel .grow-panel-head {
  padding-bottom: 14px;
  border-bottom: 1px solid #e7eef9;
}

.grow-people-compact,
.grow-management-records,
.grow-care-preview {
  margin-top: 14px;
}

.grow-person-row,
.grow-management-record {
  border-color: #e1eaf7;
  background: #fbfdff;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.grow-person-row:hover,
.grow-management-record:hover {
  border-color: #b7cff2;
  background: #f5f9ff;
}

.grow-admin-role-preview {
  border-color: #d8e6f8;
  box-shadow: 0 10px 28px rgba(35, 82, 153, 0.07);
}

@media (max-width: 1180px) {
  .grow-role-hero-content {
    grid-template-columns: minmax(340px, 1fr) minmax(330px, 1fr);
  }

  .grow-role-overview {
    display: none;
  }
}

@media (max-width: 900px) {
  .grow-role-hero-content {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 26px 24px 0;
  }

  .grow-role-hero-copy {
    max-width: 620px;
  }

  .grow-role-hero-media {
    height: 250px;
    margin: 0 -24px;
  }

  .grow-role-hero-media img {
    width: 100%;
    min-width: 620px;
    height: 250px;
    object-position: 72% center;
  }
}

/* 2026-06 role-scoped workspaces */
.grow-side-scope {
  padding: 14px;
  border: 1px solid #dce8fb;
  border-radius: 10px;
  background: #f7faff;
}

.grow-side-scope span,
.grow-side-scope strong,
.grow-side-scope p {
  display: block;
}

.grow-side-scope span {
  color: #71809c;
  font-size: 11px;
}

.grow-side-scope strong {
  margin-top: 6px;
  color: #18264a;
  font-size: 14px;
  line-height: 1.45;
}

.grow-side-scope p {
  margin: 8px 0 0;
  color: #7b89a3;
  font-size: 11px;
  line-height: 1.45;
}

.grow-role-hero {
  min-height: 210px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 28px;
  padding: 30px 34px;
  border: 1px solid #d7e6fb;
  border-radius: 14px;
  background:
    linear-gradient(100deg, rgba(236, 245, 255, 0.98), rgba(249, 252, 255, 0.96)),
    #f2f7ff;
  box-shadow: 0 14px 34px rgba(41, 92, 176, 0.1);
}

.grow-role-hero > div:first-child > span {
  color: var(--grow-primary);
  font-size: 13px;
  font-weight: 800;
}

.grow-role-hero h1 {
  max-width: 720px;
  margin: 10px 0 0;
  color: #111b46;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 900;
}

.grow-role-hero p {
  max-width: 760px;
  margin: 12px 0 20px;
  color: #52627f;
  font-size: 14px;
  line-height: 1.75;
}

.grow-role-hero .grow-btn {
  width: fit-content;
  text-decoration: none;
}

.grow-role-scope {
  min-height: 126px;
  padding: 22px;
  border-left: 3px solid var(--grow-primary);
  background: rgba(255, 255, 255, 0.82);
}

.grow-role-scope span,
.grow-role-scope strong {
  display: block;
}

.grow-role-scope span {
  color: #75839d;
  font-size: 12px;
}

.grow-role-scope strong {
  margin-top: 10px;
  color: #16234a;
  font-size: 20px;
  line-height: 1.4;
}

.grow-role-scope p {
  margin-bottom: 0;
}

.grow-role-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.grow-role-stats article {
  min-height: 110px;
  padding: 18px;
  border: 1px solid #dce8fb;
  border-radius: 10px;
  background: #fff;
}

.grow-role-stats span,
.grow-role-stats strong,
.grow-role-stats p {
  display: block;
}

.grow-role-stats span {
  color: #687792;
  font-size: 12px;
  font-weight: 700;
}

.grow-role-stats strong {
  margin-top: 8px;
  color: #10265a;
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.grow-role-stats p {
  margin: 10px 0 0;
  color: #8894a9;
  font-size: 11px;
}

.grow-role-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 12px;
  margin-top: 12px;
}

.grow-role-main-panel,
.grow-role-record-panel {
  min-width: 0;
}

.grow-role-main-panel .grow-panel-head,
.grow-role-record-panel .grow-panel-head,
.grow-role-care-panel .grow-panel-head,
.grow-people-panel .grow-panel-head {
  align-items: center;
}

.grow-people-compact,
.grow-people-table,
.grow-management-records,
.grow-care-preview {
  display: grid;
  gap: 8px;
}

.grow-person-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(150px, 1fr) 82px 82px 104px;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #e4edf9;
  border-radius: 8px;
  background: #fff;
}

.grow-person-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #2f7cff, #0a56e8);
  font-size: 14px;
  font-weight: 800;
}

.grow-person-main,
.grow-person-metric,
.grow-person-state {
  min-width: 0;
}

.grow-person-main strong,
.grow-person-main span,
.grow-person-metric strong,
.grow-person-metric span,
.grow-person-state small {
  display: block;
}

.grow-person-main strong {
  color: #18264a;
  font-size: 13px;
}

.grow-person-main span,
.grow-person-metric span,
.grow-person-state small {
  margin-top: 4px;
  color: #7b89a3;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-person-metric strong {
  color: #25436f;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.grow-management-record {
  padding: 14px;
  border: 1px solid #e1eaf8;
  border-radius: 9px;
  background: #fff;
}

.grow-management-record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.grow-management-record-head strong,
.grow-management-record-head span {
  display: block;
}

.grow-management-record-head strong {
  color: #17264b;
  font-size: 13px;
}

.grow-management-record-head div > span {
  margin-top: 4px;
  color: #8390a6;
  font-size: 10px;
}

.grow-management-record p {
  margin: 10px 0 0;
  color: #50617f;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.grow-management-record.is-compact p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.grow-management-records-full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grow-chip.is-success {
  color: #087a5b;
  background: #e7f8f2;
}

.grow-role-care-panel {
  margin-top: 12px;
}

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

.grow-feedback-workspace {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  gap: 12px;
}

.grow-feedback-workspace .grow-panel {
  min-width: 0;
}

.grow-feedback-workspace textarea {
  min-height: 180px;
}

.grow-preview-banner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 24px;
  border-bottom: 1px solid #bed5fb;
  background: #edf5ff;
}

.grow-preview-banner strong,
.grow-preview-banner span {
  display: block;
}

.grow-preview-banner strong {
  color: #13336c;
  font-size: 14px;
}

.grow-preview-banner span {
  margin-top: 3px;
  color: #60779c;
  font-size: 11px;
}

.grow-preview-banner .grow-btn {
  min-height: 34px;
  flex: 0 0 auto;
}

.grow-admin-role-preview {
  margin-top: 12px;
  padding: 20px;
  border: 1px solid #d7e5f9;
  border-radius: 12px;
  background: #fff;
}

.grow-admin-role-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.grow-admin-role-preview-card {
  min-width: 0;
  min-height: 146px;
  padding: 16px;
  border: 1px solid #dce7f7;
  border-radius: 9px;
  color: #17264b;
  background: #fbfdff;
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.grow-admin-role-preview-card:hover {
  border-color: #8eb8ff;
  background: #f4f8ff;
  box-shadow: 0 10px 22px rgba(32, 91, 177, 0.09);
}

.grow-admin-role-preview-card > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--grow-primary);
  background: #eaf2ff;
}

.grow-admin-role-preview-card svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.grow-admin-role-preview-card strong {
  display: block;
  margin-top: 14px;
  font-size: 14px;
}

.grow-admin-role-preview-card p {
  min-height: 34px;
  margin: 7px 0 12px;
  color: #6f7f99;
  font-size: 11px;
  line-height: 1.55;
}

.grow-admin-role-preview-card em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--grow-primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.grow-admin-role-preview-card em svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1180px) {
  .grow-role-home-grid,
  .grow-feedback-workspace {
    grid-template-columns: 1fr;
  }

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

  .grow-management-records-full {
    grid-template-columns: 1fr;
  }

  .grow-admin-role-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .grow-preview-banner {
    padding: 10px 14px;
  }

  .grow-role-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .grow-role-hero h1 {
    font-size: 28px;
  }

  .grow-role-scope {
    min-height: 0;
    border-left-width: 2px;
  }

  .grow-person-row {
    grid-template-columns: 38px minmax(0, 1fr) 74px;
  }

  .grow-person-row .grow-person-metric:nth-of-type(2),
  .grow-person-state {
    display: none;
  }

  .grow-care-preview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .grow-preview-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .grow-preview-banner .grow-btn {
    width: 100%;
    max-width: none;
  }

  .grow-admin-role-preview-grid {
    grid-template-columns: 1fr;
  }

  .grow-role-stats {
    grid-template-columns: 1fr 1fr;
  }

  .grow-role-stats article {
    min-height: 96px;
    padding: 14px;
  }

  .grow-role-hero {
    padding: 20px 18px;
  }
}

/* Final override: generated mood PNG sprite */
.grow-mood,
.grow-mood-face {
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-image: url("/grow/assets/grow-mood-sprite.png?v=20260617-user") !important;
  background-repeat: no-repeat !important;
  background-size: 500% 100% !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.grow-mood::before,
.grow-mood::after,
.grow-mood-face::before,
.grow-mood-face::after {
  content: none !important;
}

.grow-mood {
  width: 34px !important;
  height: 34px !important;
  filter: drop-shadow(0 7px 10px rgba(34, 83, 155, 0.14));
}

.grow-mood-face {
  width: 54px !important;
  height: 54px !important;
  filter: drop-shadow(0 10px 14px rgba(34, 83, 155, 0.16));
}

.grow-mood[data-mood="sad"],
.grow-mood-face[data-level="0"] {
  background-position: 0% 50% !important;
}

.grow-mood[data-mood="soft"],
.grow-mood-face[data-level="1"] {
  background-position: 25% 50% !important;
}

.grow-mood[data-mood="calm"],
.grow-mood-face[data-level="2"] {
  background-position: 50% 50% !important;
}

.grow-mood[data-mood="good"],
.grow-mood-face[data-level="3"] {
  background-position: 75% 50% !important;
}

.grow-mood[data-mood="great"],
.grow-mood-face[data-level="4"] {
  background-position: 100% 50% !important;
}

.grow-mood.is-active {
  filter: drop-shadow(0 8px 12px rgba(34, 83, 155, 0.18));
}

/* 2026-06 growth learning map */
.grow-map-hero {
  min-height: 210px;
  padding: 28px 32px;
  border: 1px solid #dbe7fb;
  border-radius: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(44, 118, 255, 0.18), transparent 260px),
    linear-gradient(135deg, #eff7ff 0%, #ffffff 58%, #eaf4ff 100%);
  box-shadow: var(--grow-shadow);
  overflow: hidden;
}

.grow-map-hero-copy {
  position: relative;
  z-index: 1;
}

.grow-map-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--grow-primary);
  font-size: 12px;
  font-weight: 900;
}

.grow-map-hero h1 {
  margin: 0;
  color: #101a48;
  font-size: 40px;
  line-height: 1.14;
  font-weight: 950;
}

.grow-map-hero p {
  max-width: 680px;
  margin: 14px 0 0;
  color: #435574;
  font-size: 15px;
  line-height: 1.75;
}

.grow-map-score {
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid #dbe7fb;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 32px rgba(36, 87, 155, 0.1);
}

.grow-map-compass {
  position: relative;
  width: 54px;
  height: 54px;
  border: 1px solid #dce8fb;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 38%, transparent 39%),
    conic-gradient(from 35deg, #246bfe, #79b8ff, #18b889, #f7b955, #246bfe);
  box-shadow: 0 14px 24px rgba(36, 107, 254, 0.18);
}

.grow-map-compass span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 9px;
  height: 23px;
  border-radius: 999px 999px 3px 3px;
  background: var(--grow-primary);
  transform: translateX(-50%) rotate(26deg);
  transform-origin: 50% 82%;
}

.grow-map-compass span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 7px;
  height: 17px;
  border-radius: 3px 3px 999px 999px;
  background: #ff806f;
  transform: translateX(-50%);
}

.grow-map-score strong {
  display: block;
  color: var(--grow-primary);
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
}

.grow-map-score span {
  display: block;
  margin-top: 10px;
  color: #53637e;
  font-size: 13px;
  font-weight: 760;
}

.grow-learning-map {
  position: relative;
  min-height: 820px;
  margin-top: 16px;
  padding: 28px;
  border: 1px solid rgba(205, 223, 247, 0.96);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.08), rgba(247, 251, 255, 0.2)),
    url("/grow/assets/grow-learning-map-bg-ai-20260617.png") center top / contain no-repeat;
  background-color: #f6fbff;
  box-shadow: 0 18px 42px rgba(43, 90, 168, 0.12);
  overflow: hidden;
}

.grow-map-terrain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grow-map-cloud,
.grow-map-lake,
.grow-map-hill,
.grow-map-tree {
  position: absolute;
  display: block;
}

.grow-map-cloud {
  width: 118px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(78, 126, 191, 0.08);
}

.grow-map-cloud::before,
.grow-map-cloud::after {
  content: "";
  position: absolute;
  bottom: 9px;
  border-radius: 50%;
  background: inherit;
}

.grow-map-cloud::before {
  left: 18px;
  width: 42px;
  height: 42px;
}

.grow-map-cloud::after {
  right: 22px;
  width: 54px;
  height: 54px;
}

.cloud-a {
  left: 11%;
  top: 42px;
}

.cloud-b {
  right: 9%;
  top: 118px;
  transform: scale(0.84);
}

.grow-map-lake {
  right: 8%;
  bottom: 96px;
  width: 190px;
  height: 80px;
  border-radius: 56% 44% 49% 51% / 53% 38% 62% 47%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.78), transparent 34px),
    linear-gradient(135deg, rgba(95, 169, 255, 0.54), rgba(140, 224, 234, 0.42));
  box-shadow: inset 0 0 0 1px rgba(69, 132, 216, 0.16);
}

.grow-map-hill {
  width: 200px;
  height: 110px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(104, 197, 152, 0.22), rgba(36, 107, 254, 0.08));
  clip-path: ellipse(50% 42% at 50% 58%);
}

.hill-a {
  left: 6%;
  bottom: 58px;
}

.hill-b {
  right: 19%;
  top: 265px;
  transform: scale(0.72);
}

.grow-map-tree {
  width: 30px;
  height: 44px;
}

.grow-map-tree::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 24px;
  height: 30px;
  border-radius: 50% 50% 46% 46%;
  background: linear-gradient(145deg, #49c28f, #1b8d68);
}

.grow-map-tree::after {
  content: "";
  position: absolute;
  left: 13px;
  bottom: 0;
  width: 5px;
  height: 18px;
  border-radius: 4px;
  background: #9b6b46;
}

.tree-a {
  left: 42%;
  top: 206px;
}

.tree-b {
  right: 30%;
  bottom: 160px;
  transform: scale(1.15);
}

.grow-map-route {
  position: absolute;
  inset: 28px 36px;
  width: calc(100% - 72px);
  height: calc(100% - 56px);
  pointer-events: none;
}

.grow-map-route path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.grow-map-route-shadow {
  stroke: rgba(53, 99, 161, 0.12);
  stroke-width: 34;
}

.grow-map-route-line {
  stroke: #79aefc;
  stroke-width: 12;
  stroke-dasharray: 18 24;
  filter: drop-shadow(0 8px 10px rgba(59, 120, 210, 0.18));
}

.grow-map-legend {
  position: absolute;
  right: 22px;
  top: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(213, 227, 247, 0.96);
  border-radius: 999px;
  color: #586984;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 26px rgba(43, 90, 168, 0.08);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 780;
}

.grow-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.grow-map-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a9bfdc;
}

.grow-map-legend i.is-current {
  background: var(--grow-primary);
  box-shadow: 0 0 0 5px rgba(36, 107, 254, 0.13);
}

.grow-map-legend i.is-done {
  background: #18b889;
}

.grow-map-trail {
  position: relative;
  z-index: 2;
  min-height: 764px;
}

.grow-map-stage {
  position: absolute;
  width: min(330px, calc(50% - 30px));
  display: block;
}

.grow-map-stage-1 {
  left: 36px;
  top: 78px;
}

.grow-map-stage-2 {
  right: 42px;
  top: 132px;
}

.grow-map-stage-3 {
  left: 148px;
  top: 430px;
}

.grow-map-stage-4 {
  right: 92px;
  top: 464px;
}

.grow-map-stage:nth-child(n + 5) {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  width: min(560px, 100%);
  margin: 22px auto 0;
}

.grow-map-node {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: -32px;
  width: 62px;
  height: 70px;
  border-radius: 50% 50% 50% 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 24%, #ffffff 0 14px, transparent 15px),
    linear-gradient(145deg, #8fc3ff, #246bfe);
  box-shadow: 0 18px 30px rgba(44, 105, 196, 0.18);
  transform: rotate(-45deg);
}

.grow-map-node span {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(13, 46, 122, 0.9);
  font-size: 14px;
  font-weight: 900;
  transform: rotate(45deg);
}

.grow-map-stage.is-current .grow-map-node {
  background:
    radial-gradient(circle at 32% 24%, #ffffff 0 14px, transparent 15px),
    linear-gradient(145deg, #89eecb, #246bfe);
  box-shadow:
    0 18px 30px rgba(44, 105, 196, 0.22),
    0 0 0 10px rgba(36, 107, 254, 0.1);
}

.grow-map-stage.is-complete .grow-map-node span {
  background: #18b889;
}

.grow-map-stage-card {
  min-width: 0;
  padding: 22px 16px 14px;
  border: 1px solid #dbe7fb;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 253, 255, 0.9));
  box-shadow: 0 18px 34px rgba(43, 90, 168, 0.13);
  backdrop-filter: blur(12px);
}

.grow-map-stage-card::before {
  content: "";
  display: block;
  height: 5px;
  margin: -22px -16px 14px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #246bfe, #75b8ff);
}

.grow-map-stage.is-meadow .grow-map-stage-card::before {
  background: linear-gradient(90deg, #18b889, #82dcae);
}

.grow-map-stage.is-river .grow-map-stage-card::before {
  background: linear-gradient(90deg, #246bfe, #74d0ff);
}

.grow-map-stage.is-peak .grow-map-stage-card::before {
  background: linear-gradient(90deg, #8c7bff, #78c2ff);
}

.grow-map-stage.is-harbor .grow-map-stage-card::before {
  background: linear-gradient(90deg, #f7b955, #ff8d70);
}

.grow-map-stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.grow-map-stage-head span {
  color: var(--grow-primary);
  font-size: 12px;
  font-weight: 850;
}

.grow-map-stage-head h2 {
  margin: 5px 0 0;
  color: #14204a;
  font-size: 20px;
  font-weight: 950;
}

.grow-map-stage-head p,
.grow-map-focus {
  margin: 7px 0 0;
  color: #5c6d88;
  line-height: 1.58;
}

.grow-map-stage-head > strong {
  min-width: 54px;
  min-height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--grow-primary);
  background: #eef5ff;
  font-weight: 950;
}

.grow-map-task-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.grow-map-task-dot {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(205, 223, 247, 0.95);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--grow-primary);
  background: #f3f8ff;
  box-shadow: 0 7px 14px rgba(43, 90, 168, 0.08);
  cursor: pointer;
}

.grow-map-task-dot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.grow-map-task-dot span {
  font-size: 11px;
  font-weight: 900;
}

.grow-map-task-dot.is-done {
  color: #fff;
  border-color: rgba(24, 184, 137, 0.28);
  background: #18b889;
}

.grow-map-task-more {
  min-width: 38px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #51627d;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(205, 223, 247, 0.95);
  font-size: 12px;
  font-weight: 900;
}

.grow-map-task-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
  padding-left: 16px;
}

.grow-map-task-list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d9e6f8, #eaf2ff);
}

.grow-map-task {
  position: relative;
  min-width: 0;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(224, 233, 247, 0.96);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 18px 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(43, 90, 168, 0.06);
}

.grow-map-task::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 25px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #a9bfdc;
  box-shadow: 0 0 0 1px #d9e6f8;
}

.grow-map-task input {
  margin: 0;
  accent-color: var(--grow-primary);
}

.grow-map-task-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--grow-primary);
  background: #edf5ff;
}

.grow-map-task-icon svg {
  width: 18px;
  height: 18px;
}

.grow-map-task strong,
.grow-map-task em {
  display: block;
}

.grow-map-task strong {
  color: #1a2a4f;
  font-size: 13px;
  font-weight: 900;
}

.grow-map-task em {
  margin-top: 6px;
  color: #687891;
  font-size: 12px;
  line-height: 1.5;
  font-style: normal;
}

.grow-map-task.is-done {
  border-color: rgba(24, 184, 137, 0.35);
  background: linear-gradient(180deg, #f4fffb, #ffffff);
}

.grow-map-task.is-done::before {
  background: #18b889;
  box-shadow: 0 0 0 5px rgba(24, 184, 137, 0.12);
}

.grow-map-task.is-done .grow-map-task-icon {
  color: #fff;
  background: #18b889;
}

.grow-map-mentor-note {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #dce8fb;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  color: #4d5d78;
  background: #f5f9ff;
  font-size: 12px;
}

.grow-map-mentor-note strong {
  color: var(--grow-primary);
}

.grow-map-task-atlas {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(219, 231, 251, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(43, 90, 168, 0.08);
}

.grow-map-atlas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.grow-map-atlas-stage {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e0e9f7;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.grow-map-atlas-head {
  display: flex;
  gap: 10px;
  align-items: center;
}

.grow-map-atlas-head > span {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grow-primary);
  font-size: 13px;
  font-weight: 950;
}

.grow-map-atlas-head strong,
.grow-map-atlas-head em {
  display: block;
  min-width: 0;
}

.grow-map-atlas-head strong {
  color: #18284d;
  font-size: 14px;
  font-weight: 930;
}

.grow-map-atlas-head em {
  margin-top: 2px;
  color: #62728c;
  font-size: 12px;
  font-style: normal;
}

.grow-map-atlas-tasks {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.grow-map-atlas-task {
  min-width: 0;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  color: #364866;
  font-size: 12px;
  line-height: 1.35;
}

.grow-map-atlas-task input {
  accent-color: var(--grow-primary);
}

.grow-map-atlas-task span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-map-atlas-task.is-done span {
  color: #18a97e;
}

.grow-map-atlas-more {
  color: var(--grow-primary);
  font-size: 12px;
  font-weight: 820;
}

.grow-admin-map-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.grow-admin-map-stage {
  padding: 14px;
  border: 1px solid #dfe8f5;
  border-radius: 10px;
  background: #fff;
}

.grow-admin-map-tasks {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.grow-admin-map-task {
  display: grid;
  grid-template-columns: 82px minmax(140px, 0.7fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid #edf2f8;
  border-radius: 8px;
  background: #f9fbff;
}

.grow-admin-map-task strong,
.grow-admin-map-task p {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-admin-map-task p {
  margin: 0;
  color: #66748b;
  font-size: 12px;
}

@media (max-width: 1180px) {
  .grow-learning-map {
    min-height: 940px;
  }

  .grow-map-trail {
    min-height: 884px;
  }

  .grow-map-stage {
    width: min(310px, calc(50% - 20px));
  }

  .grow-map-stage-2 {
    right: 24px;
  }

  .grow-map-stage-3 {
    left: 42px;
    top: 492px;
  }

  .grow-map-stage-4 {
    right: 34px;
    top: 522px;
  }

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

@media (max-width: 900px) {
  .grow-map-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .grow-map-score {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .grow-learning-map {
    min-height: auto;
    padding: 22px 16px;
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.5), rgba(247, 251, 255, 0.54)),
      url("/grow/assets/grow-learning-map-bg-ai-20260617.png") center top / contain no-repeat;
    background-color: #f6fbff;
  }

  .grow-map-route,
  .grow-map-legend,
  .grow-map-terrain {
    display: none;
  }

  .grow-map-trail {
    min-height: 0;
    display: grid;
    gap: 18px;
  }

  .grow-map-stage {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
  }

  .grow-map-node {
    width: 52px;
    height: 60px;
    left: 14px;
    top: -26px;
  }

  .grow-map-node span {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .grow-map-stage-card {
    padding-top: 24px;
  }

  .grow-map-atlas-grid {
    grid-template-columns: 1fr;
  }

  .grow-admin-map-task {
    grid-template-columns: 1fr;
  }
}

/* 2026-06 desktop admin logic refresh */
.grow-current-role {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  color: #5c6c86;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.grow-current-role strong {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #bcd3fb;
  border-radius: 10px;
  color: var(--grow-primary);
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 98, 255, 0.08);
}

body.grow-admin-body {
  --grow-shadow: 0 14px 30px rgba(33, 67, 130, 0.08);
  background: #f6f8fc;
  font-size: 13px;
}

body.grow-admin-body .grow-admin-app {
  min-height: 100vh;
}

.grow-admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 58px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #dce5f2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.grow-admin-titlebar {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}

.grow-admin-brand .grow-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 15px;
}

.grow-admin-brand .grow-brand-title strong {
  font-size: 15px;
}

.grow-admin-brand .grow-brand-title span,
.grow-admin-context span {
  font-size: 11px;
}

.grow-admin-context {
  min-width: 0;
  padding-left: 20px;
  border-left: 1px solid #e4ebf6;
}

.grow-admin-context strong,
.grow-admin-context span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grow-admin-context strong {
  color: #16213f;
  font-size: 14px;
  line-height: 1.25;
}

body.grow-admin-body .grow-admin-link {
  min-height: 30px;
  border-radius: 7px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 760;
  background: #fff;
}

body.grow-admin-body .grow-admin-layout {
  width: min(1440px, calc(100% - 32px));
  margin: 16px auto 36px;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 14px;
}

body.grow-admin-body .grow-admin-panel {
  margin-bottom: 12px;
  padding: 14px;
  border-color: #dfe8f5;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(31, 60, 116, 0.06);
}

.grow-admin-panel-compact {
  padding: 14px;
}

body.grow-admin-body .grow-field label,
body.grow-admin-body .grow-field span {
  margin-bottom: 5px;
  color: #5f6f8a;
  font-size: 11px;
  font-weight: 760;
}

body.grow-admin-body input,
body.grow-admin-body select,
body.grow-admin-body textarea {
  min-height: 34px;
  border-radius: 7px;
  border-color: #d9e3f2;
  font-size: 12px;
  background: #fff;
}

body.grow-admin-body textarea {
  min-height: 82px;
  line-height: 1.55;
}

body.grow-admin-body .grow-btn {
  min-height: 32px;
  border-radius: 7px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 780;
}

body.grow-admin-body .grow-panel-head {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.grow-admin-body .grow-panel-head h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 850;
}

body.grow-admin-body .grow-panel-head h3 {
  margin: 0;
  font-size: 14px;
}

body.grow-admin-body .grow-panel-head p {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
}

.grow-admin-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 0;
}

.grow-admin-mini-stats div {
  padding: 8px;
  border: 1px solid #e1eaf7;
  border-radius: 8px;
  background: #f8fbff;
}

.grow-admin-mini-stats dt {
  color: #6a7891;
  font-size: 10px;
}

.grow-admin-mini-stats dd {
  margin: 4px 0 0;
  color: #152044;
  font-size: 16px;
  font-weight: 850;
}

body.grow-admin-body .grow-admin-tabs {
  gap: 6px;
}

body.grow-admin-body .grow-admin-tab {
  min-height: 54px;
  border-radius: 8px;
  padding: 9px 10px;
  display: grid;
  align-content: center;
  gap: 3px;
  background: #fff;
}

body.grow-admin-body .grow-admin-tab strong {
  font-size: 13px;
  line-height: 1.2;
}

body.grow-admin-body .grow-admin-tab span {
  color: #73829b;
  font-size: 10px;
  line-height: 1.25;
}

body.grow-admin-body .grow-admin-tab.is-active span {
  color: rgba(255, 255, 255, 0.78);
}

body.grow-admin-body .grow-admin-tab.is-active {
  color: #fff;
  border-color: var(--grow-primary);
  background: var(--grow-primary);
}

body.grow-admin-body .grow-admin-tab.is-active strong {
  color: #fff;
}

.grow-admin-dashboard {
  display: grid;
  gap: 12px;
}

.grow-admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.grow-admin-stat-card {
  min-height: 96px;
  padding: 14px;
  border: 1px solid #dfe8f5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 60, 116, 0.05);
}

.grow-admin-stat-card span {
  color: #64738d;
  font-size: 11px;
  font-weight: 760;
}

.grow-admin-stat-card strong {
  display: block;
  margin-top: 9px;
  color: #111d3f;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.grow-admin-stat-card p {
  margin: 9px 0 0;
  color: #7a879c;
  font-size: 11px;
}

.grow-admin-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.grow-admin-portal-preview {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid #e2eaf6;
  border-radius: 9px;
  background: linear-gradient(180deg, #fbfdff, #f5f9ff);
}

.grow-admin-portal-preview .grow-brand-mark {
  width: 44px;
  height: 44px;
}

.grow-admin-portal-preview strong,
.grow-admin-portal-preview span,
.grow-admin-portal-preview p {
  display: block;
  min-width: 0;
}

.grow-admin-portal-preview strong {
  font-size: 14px;
}

.grow-admin-portal-preview span {
  margin-top: 3px;
  color: #6c7a92;
  font-size: 11px;
}

.grow-admin-portal-preview p {
  margin: 8px 0 0;
  color: #273756;
  font-size: 12px;
  line-height: 1.5;
}

.grow-admin-role-bars {
  display: grid;
  gap: 10px;
}

.grow-admin-role-bars div {
  display: grid;
  grid-template-columns: 82px 32px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: #4e5d74;
  font-size: 12px;
}

.grow-admin-role-bars strong {
  color: #152044;
  text-align: right;
}

.grow-admin-role-bars i {
  height: 7px;
  border-radius: 999px;
  background: #edf3fb;
  overflow: hidden;
}

.grow-admin-role-bars em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grow-primary);
}

.grow-admin-table {
  border: 1px solid #e0e8f4;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}

.grow-admin-table-head,
.grow-admin-table-row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 9px 11px;
}

.grow-admin-table-head {
  color: #697893;
  background: #f6f9fd;
  font-size: 11px;
  font-weight: 780;
}

.grow-admin-table-row {
  min-height: 38px;
  border-top: 1px solid #edf2f8;
  color: #52617a;
  font-size: 12px;
}

.grow-admin-table-row strong,
.grow-admin-table-row span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.grow-admin-table-row strong {
  color: #182542;
  font-weight: 760;
}

.grow-admin-table-records .grow-admin-table-head,
.grow-admin-table-records .grow-admin-table-row {
  grid-template-columns: 110px minmax(0, 1fr) 92px;
}

.grow-admin-table-care .grow-admin-table-head,
.grow-admin-table-care .grow-admin-table-row {
  grid-template-columns: 160px 90px minmax(0, 1fr) 92px;
}

.grow-admin-queue {
  display: grid;
  gap: 8px;
}

.grow-admin-queue article {
  padding: 10px;
  border: 1px solid #e4ebf6;
  border-radius: 8px;
  background: #fff;
}

.grow-admin-queue strong {
  margin-left: 6px;
  font-size: 12px;
}

.grow-admin-queue p {
  margin: 7px 0 0;
  color: #5b6b84;
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.grow-admin-create-card {
  padding: 12px;
  border: 1px solid #dfe8f5;
  border-radius: 10px;
  background: #f9fbff;
}

.grow-admin-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.grow-admin-subhead h3 {
  margin: 0;
  font-size: 14px;
}

.grow-admin-subhead span {
  color: #76849a;
  font-size: 11px;
}

body.grow-admin-body .grow-admin-form-grid {
  gap: 10px;
}

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

.grow-admin-member-table {
  margin-top: 12px;
  border: 1px solid #dfe8f5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.grow-admin-member-head,
.grow-admin-member-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.15fr) 128px minmax(110px, 0.9fr) minmax(110px, 0.9fr) minmax(110px, 0.9fr) 116px;
  gap: 8px;
  align-items: center;
}

.grow-admin-member-head {
  padding: 9px 10px;
  color: #667690;
  background: #f6f9fd;
  font-size: 11px;
  font-weight: 800;
}

.grow-admin-member-row {
  margin: 0;
  padding: 8px 10px;
  border-top: 1px solid #edf2f8;
}

.grow-admin-member-name strong,
.grow-admin-member-name span {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.grow-admin-member-name strong {
  color: #172441;
  font-size: 12px;
}

.grow-admin-member-name span {
  margin-top: 3px;
  color: #74839a;
  font-size: 11px;
}

.grow-admin-row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.grow-admin-care-list {
  display: grid;
  gap: 9px;
}

.grow-admin-care-item {
  padding: 11px;
  border: 1px solid #e0e8f4;
  border-radius: 9px;
  background: #fff;
}

.grow-admin-care-item header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.grow-admin-care-item header strong {
  color: #172441;
  font-size: 12px;
}

.grow-admin-care-item time {
  margin-left: auto;
  color: #7a879d;
  font-size: 11px;
}

.grow-admin-care-item p {
  margin: 8px 0 10px;
  color: #4d5e77;
  font-size: 12px;
  line-height: 1.5;
}

.grow-admin-care-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px auto;
  gap: 8px;
  align-items: start;
}

.grow-admin-care-edit textarea {
  min-height: 54px;
}

body.grow-admin-body .grow-empty {
  padding: 14px;
  border-radius: 8px;
  font-size: 12px;
}

@media (max-width: 1180px) {
  body.grow-admin-body .grow-admin-layout,
  .grow-admin-workbench,
  .grow-admin-summary {
    grid-template-columns: 1fr;
  }

  .grow-admin-member-table {
    overflow-x: auto;
  }

  .grow-admin-member-head,
  .grow-admin-member-row {
    min-width: 900px;
  }
}

@media (max-width: 900px) {
  .grow-current-role {
    display: none;
  }

  .grow-admin-topbar {
    position: static;
    align-items: flex-start;
    padding: 12px 14px;
  }

  .grow-admin-titlebar {
    display: grid;
    gap: 10px;
  }

  .grow-admin-context {
    padding-left: 0;
    border-left: 0;
  }

  body.grow-admin-body .grow-admin-layout {
    width: min(100% - 24px, 760px);
    grid-template-columns: 1fr;
  }

  body.grow-admin-body .grow-admin-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grow-admin-form-grid-3,
  .grow-admin-care-edit,
  .grow-admin-table-care .grow-admin-table-head,
  .grow-admin-table-care .grow-admin-table-row {
    grid-template-columns: 1fr;
  }
}

/* 2026-06 mood image assets */
.grow-mood,
.grow-mood-face {
  border: 0;
  background-color: transparent;
  background-image: url("/grow/assets/grow-mood-sprite.png?v=20260617-user");
  background-repeat: no-repeat;
  background-size: 500% 100%;
  box-shadow: none;
  overflow: visible;
}

.grow-mood::before,
.grow-mood::after,
.grow-mood-face::before,
.grow-mood-face::after {
  content: none;
}

.grow-mood {
  width: 34px;
  height: 34px;
  border-radius: 0;
  filter: drop-shadow(0 7px 10px rgba(34, 83, 155, 0.14));
}

.grow-mood-face {
  width: 54px;
  height: 54px;
  border-radius: 0;
  filter: drop-shadow(0 10px 14px rgba(34, 83, 155, 0.16));
}

.grow-mood[data-mood="sad"],
.grow-mood-face[data-level="0"] {
  background-position: 0% 50%;
}

.grow-mood[data-mood="soft"],
.grow-mood-face[data-level="1"] {
  background-position: 25% 50%;
}

.grow-mood[data-mood="calm"],
.grow-mood-face[data-level="2"] {
  background-position: 50% 50%;
}

.grow-mood[data-mood="good"],
.grow-mood-face[data-level="3"] {
  background-position: 75% 50%;
}

.grow-mood[data-mood="great"],
.grow-mood-face[data-level="4"] {
  background-position: 100% 50%;
}

.grow-mood.is-active {
  box-shadow: none;
  filter:
    drop-shadow(0 0 0 rgba(0, 0, 0, 0))
    drop-shadow(0 8px 12px rgba(34, 83, 155, 0.18));
}

/* 2026-06 Grow visual refresh: concept-faithful front desk */
:root {
  --grow-primary: #1062ff;
  --grow-primary-dark: #073b9d;
  --grow-bg: #f5f9ff;
  --grow-surface: #ffffff;
  --grow-text: #111b46;
  --grow-muted: #607095;
  --grow-soft: #edf4ff;
  --grow-border: #dce8fb;
  --grow-shadow: 0 14px 34px rgba(41, 92, 176, 0.12);
  --grow-strong-shadow: 0 24px 60px rgba(33, 89, 182, 0.16);
}

body.grow-body {
  background: #fff;
}

.grow-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
  padding-bottom: 0;
  background: linear-gradient(180deg, #fbfdff 0%, #f7fbff 100%);
}

.grow-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  min-width: 0;
  padding: 18px 14px;
  border-right: 1px solid #e5eefb;
  background: #fff;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
}

.grow-brand-side {
  min-height: 48px;
  padding: 0 6px;
}

.grow-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(145deg, #1e77ff, #064ff0);
  box-shadow: 0 12px 24px rgba(16, 98, 255, 0.25);
}

.grow-planet-mark {
  position: relative;
  width: 28px;
  height: 22px;
  display: block;
}

.grow-planet-mark::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 20px;
  height: 16px;
  border-radius: 999px 999px 10px 10px;
  background: #fff;
  transform: rotate(-8deg);
}

.grow-planet-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 18px;
  height: 5px;
  border-radius: 999px;
  border: 2px solid #7bb8ff;
  transform: rotate(-18deg);
}

.grow-brand-title strong {
  font-size: 22px;
  letter-spacing: 0;
  color: #111b46;
}

.grow-brand-title span {
  margin-top: 0;
  font-size: 13px;
  color: #5b6d92;
}

.grow-side-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.grow-side-link {
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: transparent;
  color: #39486a;
  font-size: 15px;
  font-weight: 760;
  text-align: left;
}

.grow-side-link:hover {
  background: #f2f7ff;
  color: var(--grow-primary);
}

.grow-side-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0d66ff, #0752f6);
  box-shadow: 0 10px 20px rgba(16, 98, 255, 0.22);
}

.grow-side-icon,
.grow-nav-btn span,
.grow-top-home-btn svg,
.grow-icon-btn svg,
.grow-btn svg,
.grow-link-btn svg,
.grow-mail-icon svg,
.grow-chat-mini svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  fill: currentColor;
}

.grow-side-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
}

.grow-side-help {
  min-height: 152px;
  border-radius: 10px;
  padding: 16px 14px 12px;
  display: grid;
  grid-template-columns: 1fr 72px;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 40%, rgba(16, 98, 255, 0.16), transparent 58px),
    linear-gradient(145deg, #eef6ff, #ffffff);
}

.grow-side-help-copy strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.grow-mini-btn {
  min-height: 32px;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background: var(--grow-primary);
  font-size: 12px;
  font-weight: 800;
}

.grow-side-robot {
  width: 68px;
  height: 86px;
  border-radius: 32px 32px 20px 20px;
  background:
    radial-gradient(circle at 35% 28%, #27d4ff 0 4px, transparent 5px),
    radial-gradient(circle at 65% 28%, #27d4ff 0 4px, transparent 5px),
    linear-gradient(#071b3f 0 34%, transparent 35%),
    linear-gradient(160deg, #ffffff 0%, #e6f2ff 100%);
  box-shadow: 0 18px 28px rgba(16, 98, 255, 0.18);
}

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

.grow-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  padding: 0 24px;
  border-bottom: 1px solid #e4edf9;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.grow-icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #1a2a4f;
}

.grow-top-home {
  display: flex;
  margin-right: auto;
}

.grow-top-home-btn {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--grow-primary);
  background: #eef5ff;
  font-size: 15px;
  font-weight: 850;
}

.grow-role-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: #1d2a4c;
  font-size: 14px;
  font-weight: 760;
}

.grow-role-switch button {
  min-width: 82px;
  min-height: 38px;
  border: 1px solid transparent;
  padding: 0 18px;
  color: #52627f;
  background: #eef4ff;
  font-weight: 780;
}

.grow-role-switch button:first-of-type {
  border-radius: 12px 0 0 12px;
}

.grow-role-switch button:last-of-type {
  border-radius: 0 12px 12px 0;
}

.grow-role-switch button.is-active {
  color: var(--grow-primary);
  border-color: var(--grow-primary);
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 98, 255, 0.12);
}

.grow-top-actions {
  gap: 14px;
}

.grow-bell {
  position: relative;
}

.grow-bell span {
  position: absolute;
  right: 3px;
  top: 3px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #ff3b35;
  font-size: 10px;
  font-weight: 900;
}

.grow-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 28%, #ffd7c0 0 11px, transparent 12px),
    linear-gradient(160deg, #1c6dff, #93c6ff);
  border: 4px solid #eef5ff;
  font-size: 0;
  box-shadow: 0 8px 20px rgba(20, 70, 150, 0.15);
}

.grow-user-pill {
  border: 0;
  background: transparent;
  padding: 0;
  color: #1b294a;
  font-size: 15px;
  font-weight: 800;
}

.grow-admin-link {
  min-height: 34px;
  border-radius: 8px;
  color: var(--grow-primary);
  background: #fff;
  font-size: 13px;
}

.grow-main {
  width: min(1280px, calc(100% - 48px));
  margin: 18px auto 28px;
}

.grow-hero-card,
.grow-panel,
.grow-card,
.grow-modal-card {
  border: 1px solid var(--grow-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--grow-shadow);
}

.grow-hero-card {
  min-height: 250px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.grow-hero-card::before {
  content: none;
}

.grow-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(226, 240, 255, 0.96) 0%, rgba(235, 245, 255, 0.9) 45%, rgba(218, 236, 255, 0.96) 100%),
    radial-gradient(circle at 72% 20%, rgba(16, 98, 255, 0.18), transparent 300px);
}

.grow-hero-content {
  position: relative;
  min-height: 250px;
  display: grid;
  grid-template-columns: minmax(360px, 0.94fr) minmax(360px, 1.08fr) 260px;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 18px 34px;
}

.grow-hero-copy {
  max-width: 520px;
  z-index: 2;
}

.grow-hero h1 {
  max-width: 560px;
  color: #11194b;
  font-size: clamp(38px, 3.4vw, 52px);
  line-height: 1.12;
  font-weight: 950;
}

.grow-hero p {
  max-width: 520px;
  margin-top: 14px;
  color: #334464;
  font-size: 15px;
  line-height: 1.72;
  font-weight: 650;
}

.grow-hero-actions {
  margin-top: 22px;
  gap: 12px;
}

.grow-btn {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 850;
}

.grow-btn-primary {
  background: linear-gradient(135deg, #1268ff, #0754ef);
}

.grow-btn-secondary {
  border-color: #0f63ff;
  color: #0f63ff;
}

.grow-hero-media {
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.grow-hero-media img {
  width: min(610px, 118%);
  height: auto;
  max-height: 250px;
  object-fit: contain;
  object-position: 62% center;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.grow-week-card {
  align-self: center;
  min-height: 186px;
  padding: 18px 18px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(33, 89, 182, 0.1);
}

.grow-week-card h2 {
  margin: 0;
  font-size: 18px;
}

.grow-week-card p {
  margin: 12px 0 16px;
  color: #475a7d;
  line-height: 1.6;
  font-size: 13px;
  font-weight: 650;
}

.grow-mood-row {
  display: flex;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dbe7fb;
}

.grow-mood {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: block;
  position: relative;
  background: #ffe7c8;
  border: 2px solid #f0d7ba;
}

.grow-mood::before,
.grow-mood::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #7b6b5a;
}

.grow-mood::before {
  left: 9px;
}

.grow-mood::after {
  right: 9px;
}

.grow-mood[data-mood="good"],
.grow-mood[data-mood="great"] {
  background: #c7f1da;
  border-color: #9eddb8;
}

.grow-mood.is-active {
  box-shadow: 0 0 0 6px rgba(16, 98, 255, 0.12);
}

.grow-week-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.grow-week-stats div + div {
  border-left: 1px solid #dbe7fb;
  padding-left: 18px;
}

.grow-week-stats strong {
  display: inline-block;
  margin-right: 4px;
  color: var(--grow-primary);
  font-size: 20px;
}

.grow-week-stats span {
  color: #566887;
  font-size: 12px;
}

.grow-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.48fr 1.08fr 1.32fr;
  gap: 12px;
  margin-top: 12px;
}

.grow-panel {
  padding: 16px;
}

.grow-panel-head {
  margin-bottom: 12px;
}

.grow-panel-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 900;
}

.grow-panel-head p {
  font-size: 12px;
}

.grow-title-sun,
.grow-title-badge,
.grow-title-target {
  width: 20px;
  height: 20px;
  display: inline-block;
  border-radius: 50%;
  background: #ffb320;
  box-shadow: 0 0 0 5px rgba(255, 179, 32, 0.14);
}

.grow-title-badge,
.grow-title-target {
  background: #1268ff;
  box-shadow: 0 0 0 5px rgba(18, 104, 255, 0.12);
}

.grow-daily-quote {
  min-height: 88px;
  border: 1px solid #dfeafd;
  border-radius: 10px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 72px;
  align-items: center;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
}

.grow-daily-quote span,
.grow-small-note {
  color: #5c6f92;
  font-size: 12px;
}

.grow-daily-quote p {
  margin: 6px 0 0;
  color: #26375c;
  font-weight: 750;
  line-height: 1.5;
}

.grow-sprout {
  width: 62px;
  height: 60px;
  justify-self: end;
  background:
    radial-gradient(ellipse at 38% 40%, #65cb69 0 16px, transparent 17px),
    radial-gradient(ellipse at 62% 36%, #83d47b 0 14px, transparent 15px),
    linear-gradient(#40a85a 0 100%),
    radial-gradient(ellipse at 50% 85%, #b8783a 0 24px, transparent 25px);
  background-size: 34px 30px, 32px 28px, 4px 34px, 62px 24px;
  background-position: 12px 4px, 30px 10px, 31px 24px, 0 38px;
  background-repeat: no-repeat;
}

.grow-check-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.grow-check-list label,
.grow-goal-list label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #4b5d7b;
  font-size: 13px;
}

.grow-check-list input,
.grow-goal-list input {
  width: 16px;
  height: 16px;
  accent-color: var(--grow-primary);
}

.grow-home-map-task-link {
  width: 100%;
  min-height: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #4b5d7b;
  text-align: left;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.grow-home-map-task-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-home-map-task-link em {
  color: #7690b7;
  font-size: 11px;
  font-style: normal;
}

.grow-home-map-task-link svg {
  width: 14px;
  height: 14px;
  color: var(--grow-primary);
}

.grow-progress-line {
  height: 5px;
  margin-top: 14px;
  border-radius: 999px;
  background: #e7effd;
  overflow: hidden;
}

.grow-progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grow-primary);
}

.grow-map-panel {
  overflow: hidden;
}

.grow-map-visual {
  position: relative;
  height: 118px;
  margin: 2px 0 8px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 72% 74%, rgba(16, 98, 255, 0.18), transparent 55px),
    linear-gradient(180deg, #f0f7ff, #ffffff);
}

.grow-map-mountain {
  position: absolute;
  inset: 20px 26px 10px;
  background:
    linear-gradient(135deg, transparent 42%, rgba(147, 194, 255, 0.42) 43% 58%, transparent 59%),
    linear-gradient(150deg, transparent 30%, rgba(65, 137, 255, 0.22) 31% 45%, transparent 46%);
  clip-path: polygon(0 78%, 20% 45%, 34% 62%, 50% 24%, 70% 72%, 100% 44%, 100% 100%, 0 100%);
  border-radius: 18px;
}

.grow-map-pin {
  position: absolute;
  left: 58%;
  top: 38px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grow-primary);
  box-shadow: 0 10px 20px rgba(16, 98, 255, 0.24);
}

.grow-stage-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 0;
  margin-top: 4px;
}

.grow-stage-line div {
  position: relative;
  text-align: center;
  color: #647592;
  font-size: 11px;
}

.grow-stage-line div::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
  background: #d8e4f8;
}

.grow-stage-line div.is-done::before {
  background: var(--grow-primary);
}

.grow-stage-line span {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  margin: 2px auto 8px;
  display: block;
  border-radius: 50%;
  background: #c8d7ee;
}

.grow-stage-line .is-done span {
  background: var(--grow-primary);
  box-shadow: 0 0 0 5px rgba(16, 98, 255, 0.12);
}

.grow-stage-line strong,
.grow-stage-line em {
  display: block;
  font-style: normal;
}

.grow-stage-line strong {
  color: #385073;
  font-size: 11px;
}

.grow-map-btn {
  width: 62%;
  min-height: 34px;
  margin: 12px auto 0;
  border: 1px solid #dce8fb;
  border-radius: 8px;
  display: block;
  color: var(--grow-primary);
  background: #fff;
  font-weight: 800;
}

.grow-goal-body {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 14px;
  align-items: center;
}

.grow-ring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--grow-primary) 0 68%, #e5eefc 68% 100%);
  position: relative;
}

.grow-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: #fff;
}

.grow-ring strong,
.grow-ring span {
  position: relative;
  z-index: 1;
}

.grow-ring strong {
  align-self: end;
  color: var(--grow-primary);
  font-size: 28px;
}

.grow-ring span {
  align-self: start;
  color: #405173;
  font-size: 12px;
  line-height: 1.15;
}

.grow-goal-list {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #edf3fd;
  border-radius: 10px;
  background: #fff;
}

.grow-link-btn {
  min-height: 30px;
  margin-top: 12px;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--grow-primary);
  background: transparent;
  font-weight: 850;
}

.grow-link-btn svg {
  width: 16px;
  height: 16px;
}

.grow-right-stack {
  display: grid;
  grid-template-rows: 1fr 0.72fr;
  gap: 12px;
}

.grow-feedback-head {
  display: grid;
  grid-template-columns: 48px 1fr 34px;
  gap: 12px;
  align-items: start;
}

.grow-avatar-photo {
  width: 48px;
  height: 48px;
  border-width: 2px;
}

.grow-feedback-head h2,
.grow-mail-panel h2 {
  margin: 0;
  font-size: 16px;
}

.grow-feedback-head p,
.grow-mail-panel p {
  margin: 8px 0 0;
  color: #4b5d7b;
  font-size: 12px;
  line-height: 1.6;
}

.grow-feedback-head span {
  display: inline-block;
  margin-top: 8px;
  color: #7a89a3;
  font-size: 11px;
}

.grow-chat-mini {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #7aa9ff;
  background: #eaf3ff;
}

.grow-mail-panel {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
}

.grow-mail-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #0f63ff;
  background: linear-gradient(145deg, #dbeafe, #ffffff);
  box-shadow: 0 14px 24px rgba(16, 98, 255, 0.14);
}

.grow-handbook-section {
  margin-top: 14px;
}

.grow-handbook-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.grow-handbook-card {
  min-height: 118px;
  border-radius: 10px;
  padding: 18px 170px 14px 18px;
  overflow: hidden;
  text-align: left;
  box-shadow: none;
}

.grow-handbook-card::after {
  content: none;
}

.grow-handbook-card h3 {
  margin-top: 8px;
  color: #14204a;
  font-size: 16px;
  font-weight: 900;
}

.grow-handbook-card p {
  max-width: 170px;
  margin-top: 8px;
  color: #5d6c88;
  font-size: 12px;
  line-height: 1.55;
}

.grow-read-link {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--grow-primary);
  font-size: 13px;
  font-weight: 850;
}

.grow-read-link svg {
  width: 15px;
  height: 15px;
}

.grow-card-asset {
  position: absolute;
  right: -26px;
  bottom: -12px;
  width: 194px;
  height: 112px;
  background-image: url("/grow/assets/grow-handbook-strip.png");
  background-repeat: no-repeat;
  background-size: 400% 100%;
  background-position: 0% 50%;
}

.grow-handbook-card[data-cover-index="1"] .grow-card-asset {
  background-position: 33.333% 50%;
}

.grow-handbook-card[data-cover-index="2"] .grow-card-asset {
  background-position: 66.666% 50%;
}

.grow-handbook-card[data-cover-index="3"] .grow-card-asset {
  background-position: 100% 50%;
}

.grow-view[data-view-panel="records"] .grow-grid,
.grow-view[data-view-panel="whisper"] .grow-grid,
.grow-view[data-view-panel="profile"] .grow-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 1180px) {
  .grow-shell {
    grid-template-columns: 196px minmax(0, 1fr);
  }

  .grow-brand-title strong {
    font-size: 19px;
  }

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

  .grow-right-stack {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

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

  .grow-hero-content {
    grid-template-columns: minmax(340px, 0.92fr) minmax(320px, 1fr);
  }

  .grow-week-card {
    display: none;
  }
}

@media (max-width: 900px) {
  .grow-shell {
    display: block;
    padding-bottom: 92px;
  }

  .grow-sidebar {
    display: none;
  }

  .grow-topbar {
    min-height: 58px;
    padding: 0 14px;
  }

  .grow-top-home,
  .grow-role-switch {
    display: none;
  }

  .grow-user-pill,
  .grow-admin-link {
    display: none;
  }

  .grow-main {
    width: min(720px, calc(100% - 24px));
    margin: 14px auto 20px;
  }

  .grow-hero-content {
    grid-template-columns: 1fr;
    padding: 24px 22px 0;
  }

  .grow-hero-copy {
    max-width: none;
  }

  .grow-hero h1 {
    max-width: 100%;
    font-size: clamp(31px, 8vw, 42px);
  }

  .grow-hero p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .grow-hero-media {
    height: 218px;
    margin: -6px -22px 0;
  }

  .grow-hero-media img {
    width: 100%;
    object-position: 64% center;
  }

  .grow-dashboard-grid,
  .grow-grid,
  .grow-view[data-view-panel="records"] .grow-grid,
  .grow-view[data-view-panel="whisper"] .grow-grid,
  .grow-view[data-view-panel="profile"] .grow-grid {
    grid-template-columns: 1fr;
  }

  .grow-right-stack {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .grow-handbook-grid {
    grid-template-columns: 1fr;
  }

  .grow-bottom-nav {
    display: grid;
  }
}

@media (min-width: 901px) {
  .grow-bottom-nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .grow-main {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;
    padding-right: 12px;
  }

  .grow-top-actions {
    margin-left: auto;
  }

  .grow-hero-card,
  .grow-panel,
  .grow-card {
    border-radius: 12px;
  }

  .grow-hero-content {
    min-height: 0;
    padding: 22px 18px 0;
    min-width: 0;
  }

  .grow-hero-copy,
  .grow-hero-actions,
  .grow-btn {
    min-width: 0;
    max-width: min(100%, 334px);
  }

  .grow-hero h1 {
    font-size: clamp(29px, 9.2vw, 36px);
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .grow-hero p {
    font-size: 14px;
    line-height: 1.62;
    word-break: break-all;
    max-width: min(100%, 334px);
  }

  .grow-btn {
    padding-left: 14px;
    padding-right: 14px;
    overflow: hidden;
  }

  .grow-hero-actions .grow-btn {
    width: min(100%, 334px);
  }

  .grow-hero-actions {
    display: grid;
  }

  .grow-hero-actions .grow-btn {
    width: 100%;
  }

  .grow-hero-media {
    height: 190px;
    margin-left: -18px;
    margin-right: -18px;
  }

  .grow-panel {
    padding: 15px;
  }

  .grow-goal-body {
    grid-template-columns: 86px 1fr;
  }

  .grow-ring {
    width: 78px;
    height: 78px;
  }

  .grow-stage-line strong {
    font-size: 10px;
  }

  .grow-stage-line em {
    display: none;
  }

  .grow-map-btn {
    width: 100%;
  }

  .grow-handbook-card {
    min-height: 132px;
    padding-right: 150px;
  }

  .grow-card-asset {
    right: -52px;
    width: 188px;
    height: 112px;
  }

  .grow-bottom-nav {
    left: 50%;
    right: auto;
    width: min(410px, calc(100vw - 18px));
    transform: translateX(-50%);
  }
}

/* Final cascade lock for the shared newcomer/role visual system. */
.grow-side-help.grow-side-role-card {
  min-height: 132px;
  grid-template-columns: minmax(0, 1fr) 64px;
}

.grow-side-role-card .grow-side-help-copy > span {
  display: block;
  color: #6a7a98;
  font-size: 10px;
  font-weight: 750;
}

.grow-side-role-card .grow-side-help-copy strong {
  margin-top: 7px;
  color: #14244b;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.grow-side-role-card .grow-side-help-copy p {
  margin: 7px 0 0;
  color: #7890b2;
  font-size: 9px;
  line-height: 1.45;
}

.grow-role-hero-card {
  min-height: 250px;
}

.grow-role-hero-card .grow-hero-content {
  min-height: 250px;
  grid-template-columns: minmax(360px, 0.94fr) minmax(360px, 1.08fr) 260px;
}

.grow-role-hero-card h1 {
  margin: 0;
  color: #11194b;
  font-size: clamp(36px, 3.15vw, 48px);
  line-height: 1.12;
  font-weight: 950;
}

.grow-role-hero-card .grow-hero-copy > p {
  margin: 14px 0 0;
  color: #334464;
  font-size: 15px;
  line-height: 1.72;
  font-weight: 650;
}

.grow-role-hero-card .grow-role-hero-media {
  height: auto;
  margin: 0;
}

.grow-role-hero-card .grow-role-hero-media img {
  width: 610px;
  max-width: none;
  height: 250px;
  max-height: 250px;
  object-fit: cover;
  object-position: 74% center;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 94%, transparent 100%);
}

.grow-role-hero-card .grow-role-overview {
  min-height: 186px;
  padding: 18px 18px 14px;
  border: 0;
  border-radius: 10px;
}

.grow-role-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.grow-role-stats article {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 16px;
  border: 1px solid var(--grow-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(41, 92, 176, 0.08);
}

.grow-role-stats article:hover {
  transform: none;
}

.grow-role-home-grid {
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, 0.62fr);
  gap: 12px;
}

.grow-role-main-panel,
.grow-role-record-panel,
.grow-role-care-panel,
.grow-admin-role-preview {
  border-radius: 14px;
  box-shadow: var(--grow-shadow);
}

.grow-admin-role-preview {
  padding: 16px;
}

.grow-preview-org {
  min-width: 180px;
  display: grid;
  gap: 5px;
  color: #607493;
  font-size: 11px;
  font-weight: 700;
}

.grow-preview-org select {
  min-height: 34px;
  padding: 0 32px 0 10px;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  background: #fff;
  color: #263b61;
  font: inherit;
}

.grow-admin-role-preview-grid {
  gap: 8px;
}

.grow-admin-role-preview-card {
  min-height: 94px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
}

.grow-admin-role-preview-card > span {
  grid-row: 1 / 3;
}

.grow-admin-role-preview-card strong {
  margin: 0;
  font-size: 13px;
}

.grow-admin-role-preview-card p {
  min-height: 0;
  margin: 2px 0 0;
  font-size: 10px;
}

.grow-admin-role-preview-card em {
  display: none;
}

@media (max-width: 1180px) {
  .grow-role-hero-card .grow-hero-content {
    grid-template-columns: minmax(340px, 1fr) minmax(350px, 1fr);
  }

  .grow-role-hero-card .grow-role-overview {
    display: none;
  }

  .grow-role-stats,
  .grow-admin-role-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grow-role-home-grid {
    grid-template-columns: 1fr;
  }
}
/* Enterprise learning map administration */
.grow-map-admin-heading { align-items: center; }
.grow-map-admin-stats { display: flex; gap: 8px; }
.grow-map-admin-stats span {
  min-width: 92px;
  padding: 9px 12px;
  border: 1px solid #dde6f3;
  border-radius: 6px;
  color: #65738a;
  background: #f8fafc;
  font-size: 11px;
  text-align: center;
}
.grow-map-admin-stats strong { margin-right: 3px; color: #17233f; font-size: 16px; }
.grow-map-import {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #dce6f5;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f7faff;
}
.grow-map-import h3, .grow-map-import p { margin: 0; }
.grow-map-import h3 { color: #17233f; font-size: 13px; }
.grow-map-import p { margin-top: 4px; color: #6a7890; font-size: 11px; }
.grow-map-import-actions, .grow-map-import-confirm { display: flex; gap: 8px; align-items: center; }
.grow-map-import-preview {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #b9d4ff;
  border-radius: 7px;
  background: #f2f7ff;
}
.grow-map-import-preview.is-error { border-color: #f0c4c8; background: #fff6f6; }
.grow-map-import-preview > div:first-child { display: grid; gap: 4px; }
.grow-map-import-preview strong { color: #162443; font-size: 12px; }
.grow-map-import-preview span, .grow-map-import-preview li { color: #64748b; font-size: 11px; line-height: 1.55; }
.grow-map-import-preview ul { max-height: 150px; margin: 10px 0; padding-left: 18px; overflow: auto; }
.grow-map-import-confirm { justify-content: flex-end; margin-top: 12px; }
.grow-map-editor {
  margin-top: 12px;
  border: 1px solid #e0e7f1;
  border-radius: 6px;
  background: #fff;
}
.grow-map-editor > summary {
  padding: 10px 12px;
  color: #31517e;
  background: #f8fafc;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}
.grow-map-editor > .grow-form { padding: 12px; }
.grow-map-create-stage { margin: 14px 0; }
.grow-map-stage-index {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--grow-primary);
  font-size: 11px;
}
.grow-map-stage-task-count { color: #536782; font-size: 11px; font-weight: 750; }
.grow-admin-map-task { display: block; padding: 0; overflow: hidden; }
.grow-admin-map-task > summary {
  min-height: 46px;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 58px minmax(150px, 0.7fr) 110px minmax(220px, 1.4fr);
  gap: 10px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.grow-admin-map-task > summary::-webkit-details-marker { display: none; }
.grow-admin-map-task > summary strong { color: #1b2947; font-size: 12px; }
.grow-admin-map-task > summary p, .grow-admin-map-task > summary > span:last-child {
  margin: 0;
  color: #697991;
  font-size: 11px;
}
.grow-admin-map-task[open] > summary { border-bottom: 1px solid #e5ebf4; background: #f8fbff; }
.grow-admin-map-task > .grow-form { padding: 12px; }

/* Lightweight map administration */
.grow-map-workbench {
  padding: 0;
  overflow: hidden;
}

.grow-map-commandbar {
  min-height: 76px;
  padding: 16px 20px;
  border-bottom: 1px solid #e4eaf2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.grow-map-commandbar-title,
.grow-map-commandbar-actions,
.grow-map-commandbar-title > div,
.grow-map-batchbar,
.grow-map-batchbar > div,
.grow-map-stage-summary,
.grow-map-stage-summary > div:last-child {
  display: flex;
  align-items: center;
}

.grow-map-commandbar-title {
  min-width: 0;
  gap: 11px;
}

.grow-map-commandbar-title > div {
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
}

.grow-map-commandbar-title h2,
.grow-map-commandbar-title p,
.grow-map-batchbar strong,
.grow-map-batchbar span,
.grow-map-stage-summary h3,
.grow-map-stage-summary p {
  margin: 0;
}

.grow-map-commandbar-title h2 {
  overflow: hidden;
  color: #162544;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-map-commandbar-title p {
  margin-top: 3px;
  color: #748198;
  font-size: 11px;
}

.grow-map-command-icon {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #246bfe;
  background: #edf4ff;
}

.grow-map-command-icon svg,
.grow-map-icon-button svg,
.grow-map-commandbar-actions .grow-btn svg,
.grow-map-batchbar svg,
.grow-btn-danger-ghost svg,
.grow-map-operations summary svg {
  width: 16px;
  height: 16px;
}

.grow-map-commandbar-actions {
  flex-shrink: 0;
  gap: 8px;
}

.grow-map-commandbar-actions .grow-btn,
.grow-map-drawer-actions .grow-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.grow-map-batchbar {
  min-height: 52px;
  padding: 9px 20px;
  border-bottom: 1px solid #e8edf4;
  justify-content: space-between;
  gap: 16px;
  background: #f8fafc;
}

.grow-map-batchbar > div:first-child {
  min-width: 0;
  align-items: baseline;
  gap: 8px;
}

.grow-map-batchbar strong {
  flex-shrink: 0;
  color: #334663;
  font-size: 11px;
}

.grow-map-batchbar span {
  overflow: hidden;
  color: #8490a2;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-map-batchbar > div:last-child {
  flex-shrink: 0;
  gap: 4px;
}

.grow-map-batchbar a,
.grow-map-batchbar button,
.grow-map-batchbar label {
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4e607b;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}

.grow-map-batchbar a:hover,
.grow-map-batchbar button:hover,
.grow-map-batchbar label:hover {
  color: #1759db;
  background: #eaf2ff;
}

.grow-map-workspace {
  min-height: 540px;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
}

.grow-map-stage-nav {
  padding: 14px 10px;
  border-right: 1px solid #e5ebf3;
  background: #f8fafc;
}

.grow-map-stage-nav > header {
  height: 32px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grow-map-stage-nav > header strong {
  color: #718096;
  font-size: 10px;
  letter-spacing: 0;
}

.grow-map-stage-nav > header span {
  color: #95a0b0;
  font-size: 10px;
}

.grow-map-stage-nav > button {
  width: 100%;
  min-height: 54px;
  padding: 7px 8px;
  border: 0;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 24px;
  gap: 8px;
  align-items: center;
  color: #65758d;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.grow-map-stage-nav > button + button {
  margin-top: 2px;
}

.grow-map-stage-nav > button:hover {
  background: #eff3f8;
}

.grow-map-stage-nav > button.is-active {
  color: #174fae;
  background: #e8f1ff;
  box-shadow: inset 3px 0 #246bfe;
}

.grow-map-stage-nav > button > span {
  width: 26px;
  height: 26px;
  border: 1px solid #d6dfeb;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #64758e;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}

.grow-map-stage-nav > button.is-active > span {
  border-color: #246bfe;
  color: #fff;
  background: #246bfe;
}

.grow-map-stage-nav button div {
  min-width: 0;
}

.grow-map-stage-nav button strong,
.grow-map-stage-nav button small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-map-stage-nav button strong {
  color: #34465f;
  font-size: 11px;
}

.grow-map-stage-nav button small {
  margin-top: 3px;
  color: #8a96a8;
  font-size: 9px;
}

.grow-map-stage-nav button em {
  color: #8c98aa;
  font-size: 9px;
  font-style: normal;
  text-align: right;
}

.grow-map-task-workspace {
  min-width: 0;
  padding: 18px 20px 24px;
}

.grow-map-stage-summary {
  min-height: 84px;
  justify-content: space-between;
  gap: 20px;
}

.grow-map-stage-summary > div:first-child {
  min-width: 0;
}

.grow-map-stage-summary > div > span {
  color: #3970c7;
  font-size: 10px;
  font-weight: 800;
}

.grow-map-stage-summary h3 {
  margin-top: 4px;
  color: #1c2d49;
  font-size: 18px;
}

.grow-map-stage-summary p {
  max-width: 720px;
  margin-top: 7px;
  overflow: hidden;
  color: #6f7e94;
  font-size: 11px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-map-stage-summary > div:last-child {
  flex-shrink: 0;
  gap: 8px;
}

.grow-map-icon-button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #d8e1ed;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #566881;
  background: #fff;
  cursor: pointer;
}

.grow-map-icon-button:hover {
  border-color: #aac8fa;
  color: #246bfe;
  background: #f5f9ff;
}

.grow-map-icon-button:disabled {
  border-color: #e7ebf1;
  color: #b8c0cd;
  background: #f8fafc;
  cursor: not-allowed;
}

.grow-map-stage-actions,
.grow-map-order-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.grow-map-order-actions {
  padding-right: 8px;
  border-right: 1px solid #e5ebf3;
}

.grow-map-stage-empty {
  margin: 10px 4px;
  padding: 16px 12px;
  border: 1px dashed #ccd9ea;
  border-radius: 7px;
  display: grid;
  gap: 7px;
  color: #66758b;
  background: #fff;
  text-align: left;
}

.grow-map-stage-empty strong {
  color: #2a3d5d;
  font-size: 11px;
}

.grow-map-stage-empty span {
  font-size: 10px;
  line-height: 1.5;
}

.grow-map-stage-empty .grow-btn {
  width: 100%;
  margin-top: 3px;
}

.grow-map-schedule-field {
  padding: 12px;
  border: 1px solid #dfe7f2;
  border-radius: 7px;
  background: #f8fafc;
}

.grow-map-schedule-field > span {
  display: block;
  margin-bottom: 9px;
  color: #31445f;
  font-size: 11px;
  font-weight: 750;
}

.grow-map-schedule-field > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.grow-map-schedule-field label {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #d8e2ef;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5b6d86;
  background: #fff;
  font-size: 10px;
}

.grow-map-schedule-field input {
  width: 58px;
  min-width: 0;
  padding: 4px 6px;
  border: 0;
  border-bottom: 1px solid #b7c8df;
  border-radius: 0;
  color: #1d4f9f;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.grow-map-schedule-field input:focus {
  outline: none;
  border-bottom-color: #246bfe;
}

.grow-map-schedule-field small {
  display: block;
  margin-top: 8px;
  color: #8995a7;
  font-size: 9px;
}

@media (max-width: 760px) {
  .grow-map-schedule-field > div {
    grid-template-columns: 1fr;
  }

  .grow-map-stage-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

.grow-map-task-table {
  margin-top: 12px;
  border: 1px solid #e0e7f0;
  border-radius: 7px;
  overflow: hidden;
}

.grow-map-task-table-head,
.grow-map-task-line {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 104px 132px 24px;
  gap: 12px;
  align-items: center;
}

.grow-map-task-table-head {
  min-height: 34px;
  padding: 0 12px;
  color: #8290a4;
  background: #f7f9fc;
  font-size: 9px;
  font-weight: 800;
}

.grow-map-task-line {
  min-height: 58px;
  padding: 8px 12px;
  border: 0;
  border-top: 1px solid #edf1f5;
  color: #66768e;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  text-align: left;
}

.grow-map-task-line:hover {
  background: #f8fbff;
}

.grow-map-task-line-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.grow-map-task-line-title > i {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #4772b5;
  background: #edf4ff;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.grow-map-task-line-title > span {
  min-width: 0;
}

.grow-map-task-line-title strong,
.grow-map-task-line-title small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-map-task-line-title strong {
  color: #263a5b;
  font-size: 11px;
}

.grow-map-task-line-title strong em {
  margin-left: 6px;
  padding: 2px 5px;
  border-radius: 4px;
  color: #985f00;
  background: #fff1cf;
  font-size: 8px;
  font-style: normal;
}

.grow-map-task-line-title small {
  margin-top: 4px;
  color: #8793a5;
  font-size: 9px;
}

.grow-map-task-line-arrow {
  color: #9cacbf;
}

.grow-map-task-line-arrow svg {
  width: 14px;
  height: 14px;
}

.grow-map-task-empty {
  min-height: 260px;
  padding: 48px 20px;
  display: grid;
  place-items: center;
  align-content: center;
  color: #7d8ca2;
  text-align: center;
}

.grow-map-task-empty > span {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #4d7ccc;
  background: #edf4ff;
}

.grow-map-task-empty > span svg {
  width: 18px;
  height: 18px;
}

.grow-map-task-empty strong {
  color: #344966;
  font-size: 12px;
}

.grow-map-task-empty p {
  margin: 6px 0 14px;
  font-size: 10px;
}

.grow-map-operations {
  border-top: 1px solid #e4eaf2;
}

.grow-map-operations > summary {
  min-height: 56px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #344966;
  background: #fbfcfe;
  cursor: pointer;
  list-style: none;
}

.grow-map-operations > summary::-webkit-details-marker {
  display: none;
}

.grow-map-operations > summary span,
.grow-map-operations > summary strong,
.grow-map-operations > summary small {
  display: block;
}

.grow-map-operations > summary strong {
  font-size: 11px;
}

.grow-map-operations > summary small {
  margin-top: 3px;
  color: #8a96a8;
  font-size: 9px;
}

.grow-map-operations[open] > summary > svg {
  transform: rotate(90deg);
}

.grow-map-operations > .grow-map-execution {
  margin: 0;
  padding: 18px 20px 22px;
  border-top: 1px solid #e7ecf3;
}

.grow-map-drawer-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(27, 39, 60, .22);
  backdrop-filter: blur(1px);
}

.grow-map-drawer {
  width: min(460px, calc(100vw - 40px));
  height: 100%;
  border-left: 1px solid #dce4ee;
  background: #fff;
  box-shadow: -18px 0 46px rgba(25, 45, 77, .16);
  overflow: auto;
}

.grow-map-drawer > header {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 72px;
  padding: 14px 18px;
  border-bottom: 1px solid #e5eaf1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
}

.grow-map-drawer > header span {
  color: #246bfe;
  font-size: 9px;
  font-weight: 850;
}

.grow-map-drawer > header h2 {
  margin: 3px 0 0;
  color: #1b2d4a;
  font-size: 16px;
}

.grow-map-drawer-body {
  padding: 18px;
}

.grow-map-quick-form {
  display: grid;
  gap: 14px;
}

.grow-map-quick-form textarea {
  min-height: 78px;
}

.grow-map-material-toggle {
  min-height: 54px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d8e3f2;
  border-radius: 7px;
  background: #f7faff;
  cursor: pointer;
}

.grow-map-material-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--grow-primary);
}

.grow-map-material-toggle span,
.grow-map-material-toggle strong,
.grow-map-material-toggle small {
  display: block;
}

.grow-map-material-toggle strong { color: #294366; font-size: 11px; }
.grow-map-material-toggle small { margin-top: 3px; color: #7d8ca2; font-size: 9px; }
.grow-map-template-upload { display: grid; gap: 8px; padding: 12px; border: 1px solid #dce6f3; border-radius: 8px; background: #fbfcfe; }
.grow-map-template-upload > label { color: #294366; font-size: 11px; font-weight: 700; }
.grow-map-template-upload > label span { color: #8794a7; font-size: 9px; font-weight: 500; }
.grow-map-template-upload > input { width: 100%; color: #60738f; font-size: 10px; }
.grow-map-template-upload > input::file-selector-button { margin-right: 8px; padding: 6px 10px; border: 1px solid #cbd9eb; border-radius: 6px; color: #2d5f9e; background: #fff; cursor: pointer; }
.grow-map-template-upload > small { color: #7d8ca2; font-size: 9px; line-height: 1.55; }
.grow-map-template-current { display: grid; grid-template-columns: minmax(0,1fr) 30px; gap: 7px; align-items: center; }
.grow-map-template-current > a { min-width: 0; padding: 8px 9px; display: grid; grid-template-columns: 18px minmax(0,1fr) 16px; gap: 7px; align-items: center; border: 1px solid #d7e4f5; border-radius: 7px; color: #2f609f; background: #f1f6ff; }
.grow-map-template-current > a svg { width: 15px; }
.grow-map-template-current > a span,.grow-map-template-current > a strong,.grow-map-template-current > a small { display: block; min-width: 0; }
.grow-map-template-current > a strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.grow-map-template-current > a small { margin-top: 2px; color: #8492a6; font-size: 8px; }
.grow-map-template-current > button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #ead7d7; border-radius: 7px; color: #b55252; background: #fff; cursor: pointer; }
.grow-map-template-current > button svg { width: 14px; }

.grow-map-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.grow-map-more-fields {
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #fafbfd;
}

.grow-map-more-fields > summary {
  min-height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  color: #586b86;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.grow-map-more-fields[open] {
  padding-bottom: 12px;
}

.grow-map-more-fields[open] > summary {
  margin-bottom: 12px;
  border-bottom: 1px solid #e6ebf2;
}

.grow-map-more-fields > .grow-field,
.grow-map-more-fields > .grow-map-quick-grid {
  margin-right: 12px;
  margin-left: 12px;
}

.grow-map-more-fields > .grow-field + .grow-field,
.grow-map-more-fields > .grow-map-quick-grid + .grow-field,
.grow-map-more-fields > .grow-field + .grow-map-quick-grid {
  margin-top: 12px;
}

.grow-map-drawer-actions {
  position: sticky;
  bottom: -18px;
  min-height: 64px;
  margin: 8px -18px -18px;
  padding: 12px 18px;
  border-top: 1px solid #e4eaf2;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
}

.grow-btn-danger-ghost {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: #b54545;
  background: #fff3f3;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .grow-map-commandbar {
    align-items: flex-start;
  }

  .grow-map-commandbar-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .grow-map-workspace {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .grow-map-task-table-head,
  .grow-map-task-line {
    grid-template-columns: minmax(220px, 1fr) 90px 116px 18px;
    gap: 8px;
  }
}

/* Lightweight administration across modules */
.grow-admin-wide-drawer {
  width: min(760px, calc(100vw - 40px));
  height: 100%;
  padding: 18px;
  overflow: auto;
  border-left: 1px solid #dce4ee;
  background: #f8fafc;
  box-shadow: -18px 0 46px rgba(25, 45, 77, .16);
}

.grow-admin-wide-drawer .saas-user-import {
  min-height: calc(100vh - 36px);
  margin: 0;
  box-shadow: none;
}

.grow-handbook-workspace {
  min-height: 500px;
}

.grow-handbook-section-nav button em {
  display: grid;
  place-items: center;
}

.grow-handbook-section-nav button em svg {
  width: 13px;
  height: 13px;
}

.grow-handbook-article-list {
  margin-top: 12px;
  border: 1px solid #e0e7f0;
  border-radius: 7px;
  overflow: hidden;
}

.grow-handbook-article-line {
  width: 100%;
  min-height: 72px;
  padding: 8px 12px;
  border: 0;
  border-top: 1px solid #edf1f5;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  color: #6c7d94;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.grow-handbook-article-line:first-child {
  border-top: 0;
}

.grow-handbook-article-line:hover {
  background: #f8fbff;
}

.grow-handbook-article-line > img,
.grow-handbook-article-line > .grow-handbook-admin-fallback {
  width: 82px;
  height: 52px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  object-fit: cover;
}

.grow-handbook-article-line > .grow-handbook-admin-fallback svg {
  width: 18px;
  height: 18px;
  color: #4e7cca;
}

.grow-handbook-article-line strong,
.grow-handbook-article-line small {
  display: block;
}

.grow-handbook-article-line strong {
  color: #263a5b;
  font-size: 11px;
}

.grow-handbook-article-line small {
  margin-top: 6px;
  color: #8a96a8;
  font-size: 9px;
}

.grow-handbook-article-line > em {
  color: #9aacbf;
}

.grow-handbook-article-line > em svg {
  width: 14px;
  height: 14px;
}

.grow-handbook-editor-drawer {
  width: min(560px, calc(100vw - 40px));
}

.grow-handbook-editor-drawer .grow-handbook-simple-form {
  display: grid;
  gap: 14px;
}

.grow-handbook-editor-drawer .grow-handbook-simple-form textarea[name="content"] {
  min-height: 300px;
}

.grow-handbook-editor-drawer .grow-handbook-upload-field {
  margin-bottom: 12px;
}

.grow-handbook-current-files {
  display: grid;
  gap: 7px;
  margin: 0 0 12px;
}

.grow-handbook-current-files span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #e0e8f3;
  border-radius: 6px;
  color: #526b90;
  background: #fff;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.grow-handbook-current-files svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: #2670ef;
}

.grow-admin-segmented {
  flex-shrink: 0;
  padding: 3px;
  border: 1px solid #dbe3ed;
  border-radius: 6px;
  display: flex;
  gap: 2px;
  background: #f5f7fa;
}

.grow-admin-segmented button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  color: #65758d;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
}

.grow-admin-segmented button.is-active {
  color: #1d59bb;
  background: #fff;
  box-shadow: 0 1px 4px rgba(36, 67, 109, .12);
}

.grow-admin-segmented button span {
  margin-left: 4px;
  color: #8a96a8;
}

.grow-care-list-workspace {
  min-height: 520px;
  padding: 18px 20px 24px;
}

.grow-care-list-head,
.grow-care-list-row {
  display: grid;
  grid-template-columns: 150px minmax(280px, 1fr) 86px 96px 20px;
  gap: 12px;
  align-items: center;
}

.grow-care-record-head,
.grow-care-record-row {
  display: grid;
  grid-template-columns: 170px minmax(360px, 1fr) 110px 20px;
  gap: 12px;
  align-items: center;
}

.grow-care-list-head,
.grow-care-record-head {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e0e7f0;
  border-radius: 7px 7px 0 0;
  color: #8290a4;
  background: #f7f9fc;
  font-size: 9px;
  font-weight: 800;
}

.grow-care-list-row,
.grow-care-record-row {
  width: 100%;
  min-height: 62px;
  padding: 8px 12px;
  border: 1px solid #e6ebf2;
  border-top: 0;
  color: #697a91;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  text-align: left;
}

.grow-care-list-row:last-of-type,
.grow-care-record-row:last-of-type {
  border-radius: 0 0 7px 7px;
}

.grow-care-list-row:hover,
.grow-care-record-row:hover {
  background: #f8fbff;
}

.grow-care-list-row > span:first-child,
.grow-care-record-row > span:first-child {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.grow-care-list-row i,
.grow-care-record-row i {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #285ca8;
  background: #e9f2ff;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.grow-care-list-row strong,
.grow-care-record-row strong,
.grow-care-record-row small {
  display: block;
}

.grow-care-list-row strong,
.grow-care-record-row strong {
  color: #2b3f5f;
  font-size: 10px;
}

.grow-care-list-row > span:nth-child(2),
.grow-care-record-row > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-care-record-row small {
  margin-top: 4px;
  overflow: hidden;
  color: #8995a7;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-care-list-row time,
.grow-care-record-row time {
  color: #8b97a8;
  font-size: 9px;
}

.grow-care-list-row > span:last-child svg,
.grow-care-record-row > span:last-child svg {
  width: 14px;
  height: 14px;
  color: #9aabba;
}

.grow-care-admin-message {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid #dce6f3;
  border-radius: 7px;
  background: #f8fbff;
}

.grow-care-admin-message > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grow-care-admin-message > div > strong {
  color: #2c4264;
  font-size: 11px;
}

.grow-care-admin-message p {
  margin: 12px 0;
  color: #344b6b;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.grow-care-admin-message small {
  color: #8895a8;
  font-size: 9px;
}

.grow-settings-panel {
  padding: 0;
  overflow: hidden;
}

.grow-settings-page {
  grid-template-columns: minmax(0, 1fr);
}

.grow-settings-heading {
  min-height: 72px;
  padding: 14px 18px;
  border-bottom: 1px solid #e5eaf1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grow-settings-heading h2,
.grow-settings-heading p {
  margin: 0;
}

.grow-settings-heading h2 {
  color: #1b2e4c;
  font-size: 15px;
}

.grow-settings-heading p {
  margin-top: 4px;
  color: #8190a4;
  font-size: 10px;
}

.grow-settings-layout {
  min-height: 460px;
  padding: 22px;
  display: grid;
  grid-template-columns: 260px minmax(360px, 560px);
  gap: 34px;
  align-items: start;
}

.grow-settings-preview {
  min-height: 190px;
  padding: 22px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  color: #233b60;
  background: #f8fafc;
  text-align: center;
}

.grow-settings-preview-mark {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--preview-primary);
  font-size: 18px;
  font-weight: 900;
}

.grow-settings-preview-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.grow-settings-preview strong,
.grow-settings-preview small {
  display: block;
}

.grow-settings-preview strong {
  margin-top: 12px;
  font-size: 14px;
}

.grow-settings-preview small {
  margin-top: 4px;
  color: #8592a5;
  font-size: 9px;
}

.grow-settings-preview p {
  margin: 12px 0 0;
  color: #738198;
  font-size: 9px;
}

.grow-settings-fields {
  display: grid;
  gap: 13px;
}

.grow-settings-inline {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px;
}

.grow-settings-fields input[type="color"] {
  min-height: 42px;
  padding: 5px;
}

.grow-settings-advanced > .grow-field {
  margin-bottom: 12px;
}

.grow-settings-maintenance {
  border: 1px solid #e0e7f0;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}

.grow-settings-maintenance > summary {
  min-height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #344966;
  cursor: pointer;
  list-style: none;
}

.grow-settings-maintenance > summary::-webkit-details-marker {
  display: none;
}

.grow-settings-maintenance > summary strong,
.grow-settings-maintenance > summary small {
  display: block;
}

.grow-settings-maintenance > summary strong {
  font-size: 11px;
}

.grow-settings-maintenance > summary small {
  margin-top: 3px;
  color: #8794a7;
  font-size: 9px;
}

.grow-settings-maintenance > summary svg {
  width: 15px;
  height: 15px;
}

.grow-settings-maintenance[open] > summary svg {
  transform: rotate(90deg);
}

.grow-settings-maintenance > .grow-maintenance-panel {
  margin: 0;
  border: 0;
  border-top: 1px solid #e6ebf2;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 1120px) {
  .grow-settings-layout {
    grid-template-columns: 220px minmax(320px, 1fr);
  }

  .grow-care-list-head,
  .grow-care-list-row {
    grid-template-columns: 130px minmax(240px, 1fr) 78px 82px 16px;
    gap: 8px;
  }
}

/* Growth map 2.0 */
.grow-map-v2 { max-width: 1440px; margin: 0 auto; }
.grow-map-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.grow-map-meta span { padding: 6px 10px; border: 1px solid #dce8fb; border-radius: 6px; color: #526681; background: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; }
.grow-map-overview { position: relative; margin-top: 16px; padding: 26px 28px 34px; border: 1px solid #d7e5f8; border-radius: 16px; background: linear-gradient(180deg, rgba(247,251,255,.5), rgba(255,255,255,.94)), url('/grow/assets/grow-learning-map-bg-ai-20260617.png') center 42% / cover no-repeat; box-shadow: 0 14px 34px rgba(43,90,168,.1); overflow: hidden; }
.grow-map-overview header { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.grow-map-overview header span { color: var(--grow-primary); font-size: 12px; font-weight: 850; }
.grow-map-overview header h2 { margin: 4px 0 0; color: #10234b; font-size: 22px; }
.grow-map-overview header p { margin: 0; color: #63738d; font-size: 13px; }
.grow-map-route { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(106px,1fr)); gap: 28px 0; margin-top: 40px; padding: 0 8px; }
.grow-map-route::before { content: ''; position: absolute; left: 6%; right: 6%; top: 27px; border-top: 4px dashed rgba(65,126,225,.35); pointer-events: none; }
.grow-map-route.is-dense::before { display: none; }
.grow-map-route > .grow-empty { grid-column: 1 / -1; }
.grow-map-route-stop { position: relative; z-index: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: center; text-decoration: none; }
.grow-map-stage-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.grow-map-stage-panel { display: block; min-width: 0; margin-top: 0; padding: 18px; }
.grow-map-stage-panel .grow-map-current-head { gap: 12px; padding-bottom: 13px; }
.grow-map-stage-panel .grow-map-current-head h2 { font-size: 18px; }
.grow-map-stage-panel .grow-map-current-head p { font-size: 12px; }
.grow-map-stage-panel .grow-map-current-count { padding: 8px 10px; }
.grow-map-stage-panel .grow-map-current-count strong { font-size: 20px; }
.grow-map-stage-hint { min-height: 42px; margin: 12px 0; display: flex; gap: 8px; align-items: flex-start; color: #687a95; font-size: 11px; line-height: 1.55; }
.grow-map-stage-hint svg { flex: 0 0 auto; width: 16px; color: var(--grow-primary); }
.grow-map-stage-panel .grow-map-task-row { min-height: 56px; grid-template-columns: 28px minmax(150px,1fr) 72px 60px 18px; gap: 8px; padding: 9px 10px; }
.grow-map-stage-panel .grow-map-task-copy strong { font-size: 12px; }
.grow-map-stage-panel .grow-map-task-copy small { font-size: 10px; }
.grow-map-stage-panel .grow-map-task-owner,
.grow-map-stage-panel .grow-map-task-status { font-size: 10px; }
.grow-map-route-node { width: 58px; height: 58px; margin: 0 auto; display: grid; place-items: center; border: 6px solid rgba(255,255,255,.9); border-radius: 50%; background: #b8c9e2; box-shadow: 0 8px 18px rgba(40,77,137,.16); color: #fff; font-size: 15px; font-weight: 900; }
.grow-map-route-stop.is-done .grow-map-route-node { background: #24b88b; }
.grow-map-route-stop.is-current .grow-map-route-node { background: var(--grow-primary); box-shadow: 0 0 0 8px rgba(36,107,254,.13), 0 10px 24px rgba(36,107,254,.28); transform: translateY(-3px); }
.grow-map-route-stop.is-viewing .grow-map-route-node { outline: 3px solid #fff; box-shadow: 0 0 0 6px rgba(36,107,254,.2), 0 10px 24px rgba(36,107,254,.2); }
.grow-map-route-node svg { width: 20px; height: 20px; }
.grow-map-route-label { margin-top: 12px; display: grid; gap: 3px; min-width: 0; }
.grow-map-route-label small,.grow-map-route-label em { color: #70819c; font-size: 11px; font-style: normal; }
.grow-map-route-label strong { color: #20355c; font-size: 13px; white-space: normal; }
.grow-map-route-stop.is-current .grow-map-route-label strong { color: var(--grow-primary); }
.grow-map-current { margin-top: 16px; padding: 26px; border: 1px solid #dbe7f7; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(49,84,145,.08); }
.grow-map-current-head { display: flex; justify-content: space-between; align-items: start; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid #e8eef7; }
.grow-map-current-head > div:first-child > span { color: var(--grow-primary); font-size: 12px; font-weight: 800; }
.grow-map-current-head h2 { margin: 5px 0; color: #132750; font-size: 24px; }
.grow-map-current-head p { margin: 0; color: #60718d; font-size: 14px; }
.grow-map-current-count { display: flex; align-items: baseline; gap: 6px; padding: 12px 16px; border-radius: 10px; background: #f1f6ff; color: #687997; white-space: nowrap; }
.grow-map-current-actions { display: flex; align-items: center; gap: 10px; }
.grow-map-current-actions > button { min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d2e1f7; border-radius: 8px; color: #2764be; background: #fff; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.grow-map-current-actions > button svg { width: 16px; height: 16px; }
.grow-map-current.is-preview { border-color: #cadcf8; background: #fbfdff; }
.grow-map-preview-note { display: flex; gap: 12px; margin: 18px 0; padding: 13px 15px; border: 1px solid #cbdcf6; border-radius: 10px; background: #eef5ff; }
.grow-map-preview-note svg { flex: 0 0 auto; width: 20px; color: #3474d4; }
.grow-map-preview-note strong { color: #244b85; font-size: 13px; }
.grow-map-preview-note p { margin: 3px 0 0; color: #667b9c; font-size: 12px; }
.grow-map-task-row.is-preview { background: #fbfdff; }
.grow-map-task-row.is-preview .grow-map-task-status { color: #5673a0; background: #eaf1fc; }
@media (max-width: 1180px) { .grow-map-stage-panels { grid-template-columns: 1fr; } }

/* Mentor learner-route workspace */
.grow-mentor-map { max-width: 1440px; margin: 0 auto; }
.grow-mentor-map-hero { position: relative; min-height: 286px; padding: 30px 40% 28px 30px; border: 1px solid #d5e5fb; border-radius: 16px; background: linear-gradient(110deg,#f7fbff 0%,#eef5ff 52%,#dceaff 100%); box-shadow: 0 14px 34px rgba(43,90,168,.09); overflow: hidden; }
.grow-mentor-map-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg,rgba(247,251,255,.98) 0%,rgba(247,251,255,.88) 38%,rgba(238,245,255,.12) 64%); pointer-events: none; }
.grow-mentor-map-hero > img { position: absolute; inset: 0 0 0 auto; width: 66%; height: 100%; object-fit: cover; object-position: 66% center; }
.grow-mentor-map-hero-copy { position: relative; z-index: 2; max-width: 570px; }
.grow-mentor-map-hero-copy h1 { margin: 6px 0 8px; color: #10234b; font-size: 28px; }
.grow-mentor-map-hero-copy > p { max-width: 510px; margin: 0; color: #5c708f; font-size: 13px; line-height: 1.7; }
.grow-managed-map-actions { width: min(520px,100%); margin-top: 20px; display: flex; align-items: end; gap: 10px; }
.grow-managed-map-actions > label { min-width: 0; flex: 1 1 300px; display: grid; gap: 6px; color: #506683; font-size: 11px; font-weight: 800; }
.grow-managed-map-actions > button { min-height: 42px; flex: 0 0 auto; }
.grow-managed-map-actions > button svg { width: 16px; }
.grow-mentor-map-hero-copy select { min-height: 42px; padding: 0 38px 0 12px; border: 1px solid #c8d9f2; border-radius: 8px; color: #20375f; background: rgba(255,255,255,.92); box-shadow: 0 6px 16px rgba(45,84,150,.07); font: inherit; font-size: 13px; }
.grow-mentor-map-hero-progress { position: absolute; z-index: 3; right: 24px; bottom: 20px; min-width: 280px; padding: 13px 16px; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.82); border-radius: 12px; background: rgba(255,255,255,.88); box-shadow: 0 12px 26px rgba(43,83,149,.13); backdrop-filter: blur(10px); }
.grow-mentor-progress-ring { --progress: 0deg; width: 66px; height: 66px; flex: 0 0 auto; display: grid; place-content: center; border-radius: 50%; background: radial-gradient(circle at center,#fff 57%,transparent 59%),conic-gradient(var(--grow-primary) var(--progress),#dfeafb 0); text-align: center; }
.grow-mentor-progress-ring strong { color: #1763d8; font-size: 16px; line-height: 1; }
.grow-mentor-progress-ring span { margin-top: 3px; color: #71819a; font-size: 8px; }
.grow-mentor-map-hero-progress > div:last-child { display: grid; gap: 3px; }
.grow-mentor-map-hero-progress > div:last-child span,.grow-mentor-map-hero-progress small { color: #72819a; font-size: 10px; }
.grow-mentor-map-hero-progress > div:last-child strong { color: #1b3159; font-size: 15px; }
.grow-mentor-map-summary { margin-top: 14px; display: grid; grid-template-columns: minmax(250px, 1.5fr) repeat(4, minmax(120px, .65fr)); gap: 10px; }
.grow-mentor-map-summary > div { min-height: 92px; padding: 16px; display: flex; flex-direction: column; justify-content: center; border: 1px solid #dde7f5; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(45,82,145,.05); }
.grow-mentor-map-summary > div > strong { color: #19335f; font-size: 24px; }
.grow-mentor-map-summary > div > strong small { color: #7889a2; font-size: 12px; }
.grow-mentor-map-summary > div > span { margin-top: 5px; color: #71819a; font-size: 11px; }
.grow-mentor-map-summary > div.is-attention { border-color: #f0d18e; background: #fffaf0; }
.grow-mentor-map-summary > div.is-warning { border-color: #efc1bd; background: #fff7f6; }
.grow-mentor-person { flex-direction: row !important; align-items: center; gap: 12px; justify-content: flex-start !important; }
.grow-mentor-person .grow-avatar { flex: 0 0 auto; }
.grow-mentor-person strong { color: #19335f; font-size: 14px; }
.grow-mentor-person p { margin: 4px 0 0; color: #75849b; font-size: 11px; }
.grow-mentor-route { position: relative; min-height: 420px; margin-top: 14px; padding: 26px 28px 22px; border: 1px solid #d7e5f8; border-radius: 16px; background: linear-gradient(180deg,rgba(247,251,255,.3),rgba(255,255,255,.9)),url('/grow/assets/grow-learning-map-bg-ai-20260617.png') center 48% / cover no-repeat; box-shadow: 0 14px 34px rgba(43,90,168,.1); overflow: hidden; }
.grow-mentor-route::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(255,255,255,.1) 0%,rgba(255,255,255,.05) 55%,rgba(255,255,255,.78) 100%); pointer-events: none; }
.grow-mentor-route > header,.grow-mentor-route > .grow-map-route,.grow-mentor-route > footer { position: relative; z-index: 1; }
.grow-mentor-route > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.grow-mentor-route > header span { color: var(--grow-primary); font-size: 12px; font-weight: 850; }
.grow-mentor-route > header h2 { margin: 4px 0 0; color: #10234b; font-size: 22px; }
.grow-mentor-route > header p { margin: 0; color: #60738f; font-size: 12px; }
.grow-mentor-route .grow-map-route { margin-top: 76px; pointer-events: auto; }
.grow-mentor-route .grow-map-route-stop { cursor: pointer; }
.grow-mentor-route .grow-map-route-stop:hover .grow-map-route-node { transform: translateY(-3px); box-shadow: 0 0 0 6px rgba(36,107,254,.12),0 12px 24px rgba(40,77,137,.2); }
.grow-mentor-route > footer { position: absolute; left: 28px; right: 28px; bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; border-top: 1px solid rgba(183,204,234,.75); color: #687b98; font-size: 11px; }
.grow-mentor-route > footer span { display: flex; align-items: center; gap: 7px; }
.grow-mentor-route > footer svg { width: 16px; color: var(--grow-primary); }
.grow-mentor-route > footer strong { color: #2459a8; }
.grow-mentor-stage-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grow-mentor-stage-card { min-width: 0; padding: 17px; transition: border-color .25s ease,box-shadow .25s ease,transform .25s ease; scroll-margin-top: 90px; }
.grow-mentor-stage-card.is-current { border-color: #9fc3fb; box-shadow: inset 4px 0 0 var(--grow-primary),0 10px 24px rgba(39,94,177,.09); }
.grow-mentor-stage-card.is-located { border-color: var(--grow-primary); box-shadow: 0 0 0 4px rgba(36,107,254,.12),0 14px 30px rgba(39,94,177,.14); transform: translateY(-2px); }
.grow-mentor-stage-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid #e7edf6; }
.grow-mentor-stage-card > header span { color: var(--grow-primary); font-size: 10px; font-weight: 800; }
.grow-mentor-stage-card > header h2 { margin: 3px 0 0; color: #1b315b; font-size: 16px; }
.grow-mentor-stage-card > header > strong { color: #2369d8; font-size: 18px; }
.grow-mentor-stage-card > p { min-height: 36px; margin: 10px 0; color: #718099; font-size: 11px; line-height: 1.55; }
.grow-mentor-task-list { display: grid; gap: 5px; }
.grow-mentor-task { width: 100%; min-height: 48px; padding: 7px 8px; display: grid; grid-template-columns: 24px minmax(0,1fr) 64px 16px; gap: 8px; align-items: center; border: 1px solid #e3eaf4; border-radius: 7px; color: inherit; background: #fff; text-align: left; cursor: pointer; }
.grow-mentor-task:hover { border-color: #a9c6f8; background: #f9fbff; }
.grow-mentor-task > span:first-child { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #61738f; background: #edf3fa; font-size: 10px; font-weight: 800; }
.grow-mentor-task > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.grow-mentor-task strong { overflow: hidden; color: #263b62; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.grow-mentor-task small { color: #8491a6; font-size: 9px; }
.grow-mentor-task .grow-map-task-status { font-style: normal; font-size: 9px; }
.grow-mentor-task > svg { width: 14px; color: #6f8bb5; }
#mentor-map-review-form { margin-top: 18px; padding-top: 16px; display: grid; gap: 9px; border-top: 1px solid #e3eaf4; }
#mentor-map-review-form label { color: #29436e; font-size: 12px; font-weight: 750; }
#mentor-map-review-form select,
#mentor-map-review-form textarea { width: 100%; border: 1px solid #cfdcf0; border-radius: 8px; color: #2d456b; background: #fff; font: inherit; }
#mentor-map-review-form select { min-height: 42px; padding: 0 10px; }
#mentor-map-review-form textarea { min-height: 92px; padding: 11px; resize: vertical; }
.grow-map-batch-modal { position: relative; width: min(720px, calc(100vw - 32px)); padding: 0; overflow: hidden; }
.grow-map-batch-modal > .grow-modal-close { position: absolute; z-index: 2; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 7px; color: #61738e; background: #edf3fa; font-size: 21px; cursor: pointer; }
.grow-map-batch-modal > header { padding: 24px 64px 18px 26px; border-bottom: 1px solid #e3ebf6; background: #f8fbff; }
.grow-map-batch-modal > header > span { color: var(--grow-primary); font-size: 11px; font-weight: 800; }
.grow-map-batch-modal > header h2 { margin: 4px 0 5px; color: #172f59; font-size: 21px; }
.grow-map-batch-modal > header p { margin: 0; color: #6b7d98; font-size: 12px; }
.grow-map-batch-modal form { padding: 20px 26px 24px; display: grid; gap: 16px; }
.grow-map-batch-task,.grow-map-batch-note { display: grid; gap: 7px; color: #29436e; font-size: 12px; font-weight: 750; }
.grow-map-batch-task select { width: 100%; min-height: 44px; padding: 0 38px 0 12px; border: 1px solid #cfdcf0; border-radius: 8px; color: #21395f; background: #fff; font: inherit; }
.grow-map-batch-note span { display: flex; justify-content: space-between; }
.grow-map-batch-note em { color: #8a98ac; font-size: 10px; font-style: normal; font-weight: 600; }
.grow-map-batch-note textarea { min-height: 76px; padding: 11px 12px; border: 1px solid #cfdcf0; border-radius: 8px; color: #2d456b; background: #fff; font: inherit; resize: vertical; }
.grow-map-batch-selection { overflow: hidden; border: 1px solid #dce6f3; border-radius: 8px; }
.grow-map-batch-select-head { min-height: 46px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e6edf6; background: #f7faff; }
.grow-map-batch-select-head label { display: flex; align-items: center; gap: 9px; color: #29446f; font-size: 12px; font-weight: 750; cursor: pointer; }
.grow-map-batch-select-head strong { color: #2867c6; font-size: 12px; }
.grow-map-batch-learners { max-height: 300px; overflow-y: auto; }
.grow-map-batch-learners > label { min-height: 58px; padding: 8px 14px; display: grid; grid-template-columns: 18px 34px minmax(0,1fr) 70px; gap: 10px; align-items: center; border-bottom: 1px solid #edf1f7; cursor: pointer; }
.grow-map-batch-learners > label:last-child { border-bottom: 0; }
.grow-map-batch-learners > label:hover { background: #fbfdff; }
.grow-map-batch-learners .grow-avatar { width: 32px; height: 32px; font-size: 12px; }
.grow-map-batch-learners > label > span:nth-child(3) { min-width: 0; display: grid; gap: 2px; }
.grow-map-batch-learners strong { overflow: hidden; color: #233c64; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.grow-map-batch-learners small { color: #8290a4; font-size: 10px; }
.grow-map-batch-learners em { font-style: normal; font-size: 9px; }
.grow-map-batch-modal form > footer { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grow-map-batch-modal form > footer .grow-status { margin: 0; text-align: left; }
@media (max-width: 1180px) {
  .grow-mentor-map-hero { padding-right: 34%; }
  .grow-mentor-map-hero > img { width: 58%; }
  .grow-mentor-map-hero-progress { right: 18px; min-width: 250px; }
  .grow-mentor-map-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grow-mentor-person { grid-column: 1 / -1; }
  .grow-mentor-stage-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .grow-managed-map-actions { align-items: stretch; flex-direction: column; }
  .grow-managed-map-actions > label { flex-basis: auto; }
  .grow-map-batch-modal > header,.grow-map-batch-modal form { padding-left: 18px; padding-right: 18px; }
  .grow-map-batch-modal form > footer { align-items: stretch; flex-direction: column; }
  .grow-map-batch-modal form > footer button { width: 100%; }
}
.grow-map-current-count strong { color: var(--grow-primary); font-size: 28px; }
.grow-map-support-note { display: flex; gap: 12px; margin: 18px 0; padding: 13px 15px; border: 1px solid #dce8fc; border-radius: 10px; background: #f7faff; }
.grow-map-support-note svg { flex: 0 0 auto; width: 20px; color: var(--grow-primary); }
.grow-map-support-note strong { color: #24416f; font-size: 13px; }
.grow-map-support-note p { margin: 3px 0 0; color: #647590; font-size: 12px; }
.grow-map-task-list { display: grid; gap: 8px; }
.grow-map-task-row { width: 100%; min-height: 68px; padding: 12px 14px; display: grid; grid-template-columns: 36px minmax(220px,1fr) 90px 72px 24px; gap: 12px; align-items: center; border: 1px solid #e0e9f6; border-radius: 10px; background: #fff; color: inherit; text-align: left; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.grow-map-task-row:hover { border-color: #a9c6f8; box-shadow: 0 8px 20px rgba(42,91,173,.09); background: #fbfdff; }
.grow-map-task-order { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #60738f; background: #edf3fb; font-size: 12px; font-weight: 800; }
.grow-map-task-copy { min-width: 0; display: grid; gap: 4px; }
.grow-map-task-copy strong { color: #1a315b; font-size: 14px; }
.grow-map-task-copy small { color: #75849b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grow-map-task-owner,.grow-map-task-status { font-size: 12px; font-weight: 750; }
.grow-map-task-owner { color: #657791; }
.grow-map-task-status { padding: 5px 8px; border-radius: 6px; text-align: center; color: #63758e; background: #eef3f9; }
.grow-map-task-row.is-complete .grow-map-task-status,.grow-map-task-status.is-complete { color: #087b5c; background: #e3f8f1; }
.grow-map-task-row.is-review .grow-map-task-status,.grow-map-task-status.is-review { color: #8b5b00; background: #fff3d4; }
.grow-map-task-row.is-revision .grow-map-task-status,.grow-map-task-status.is-revision { color: #b43f38; background: #ffebe8; }
.grow-map-task-row.is-progress .grow-map-task-status,.grow-map-task-status.is-progress { color: #1d5ec4; background: #e8f1ff; }
.grow-map-task-arrow { color: var(--grow-primary); }
.grow-map-task-modal { width: min(680px, calc(100vw - 32px)); }
.grow-map-task-modal-head { padding-bottom: 18px; border-bottom: 1px solid #e4ebf5; }
.grow-map-task-modal-head > span { color: var(--grow-primary); font-size: 12px; font-weight: 800; }
.grow-map-task-modal-head h2 { margin: 6px 0 12px; color: #142952; font-size: 24px; }
.grow-map-task-modal-head > div { display: flex; flex-wrap: wrap; gap: 8px; }
.grow-map-task-modal-head small,.grow-map-task-modal-head em { padding: 5px 8px; border-radius: 6px; background: #f0f4fa; color: #65758e; font-size: 11px; font-style: normal; font-weight: 750; }
.grow-map-task-modal-head small.is-required { color: #936000; background: #fff1cf; }
.grow-map-task-modal section { margin-top: 18px; }
.grow-map-task-modal section h3 { margin: 0 0 6px; color: #233b67; font-size: 13px; }
.grow-map-task-modal section p { margin: 0; color: #5e708d; font-size: 14px; line-height: 1.7; }
.grow-map-resource-link { margin-top: 18px; min-height: 46px; padding: 0 14px; display: flex; align-items: center; gap: 9px; border: 1px solid #cfe0fa; border-radius: 9px; color: var(--grow-primary); background: #f6f9ff; font-size: 13px; font-weight: 800; }
.grow-map-resource-link svg { width: 18px; }
.grow-map-submission,.grow-map-review-note { margin-top: 16px; padding: 12px 14px; border-radius: 9px; background: #f5f8fc; }
.grow-map-submission p,.grow-map-review-note p { margin: 4px 0 0; color: #5f7089; }
.grow-map-materials > div { display: grid; gap: 7px; }
.grow-map-materials a { min-height: 46px; padding: 8px 11px; display: grid; grid-template-columns: 20px minmax(0,1fr) 18px; gap: 9px; align-items: center; border: 1px solid #d9e4f2; border-radius: 8px; color: #365273; background: #fbfcfe; }
.grow-map-materials a > svg { width: 18px; color: var(--grow-primary); }
.grow-map-materials a span,.grow-map-materials a strong,.grow-map-materials a small { display: block; min-width: 0; }
.grow-map-materials a strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.grow-map-materials a small { margin-top: 2px; color: #8895a7; font-size: 10px; }
.grow-map-material-upload { margin-top: 18px; padding: 12px; border: 1px dashed #c8d7eb; border-radius: 9px; background: #f8fbff; }
.grow-map-material-upload.is-required { border-style: solid; border-color: #efcf8f; background: #fffbf2; }
.grow-map-material-upload label { display: flex; align-items: center; gap: 10px; color: #29466f; cursor: pointer; }
.grow-map-material-upload label > svg { width: 22px; color: var(--grow-primary); }
.grow-map-material-upload label span,.grow-map-material-upload label strong,.grow-map-material-upload label small { display: block; }
.grow-map-material-upload label strong { font-size: 13px; }
.grow-map-material-upload label small { margin-top: 3px; color: #7889a0; font-size: 10px; font-weight: 500; }
.grow-map-material-upload input { width: 100%; margin-top: 10px; color: #5f7088; font-size: 11px; }
.grow-map-material-upload > em { display: block; margin-top: 8px; color: #8b6a2d; font-size: 10px; font-style: normal; }
.grow-map-template-download { grid-template-columns: 20px auto minmax(0,1fr) 18px !important; }
.grow-map-template-download span { min-width: 0; overflow: hidden; color: #71839b; font-size: 10px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.grow-map-text-material-editor { margin-top: 10px; padding: 12px; border: 1px solid #d8e4f3; border-radius: 9px; background: #f8fbff; }
.grow-map-text-material-editor.is-required { border-color: #efcf8f; background: #fffbf2; }
.grow-map-text-material-editor label { display: flex; justify-content: space-between; gap: 12px; color: #29466f; font-size: 12px; font-weight: 700; }
.grow-map-text-material-editor label span { color: #7d8da3; font-size: 10px; font-weight: 500; }
.grow-map-text-material-editor textarea { width: 100%; min-height: 116px; margin-top: 9px; padding: 10px 11px; resize: vertical; border: 1px solid #ccd9ea; border-radius: 8px; color: #243b5f; background: #fff; font: inherit; font-size: 12px; line-height: 1.7; }
.grow-map-text-material-editor > small { display: block; margin-top: 5px; color: #8190a4; font-size: 9px; text-align: right; }
.grow-map-text-material { margin-top: 14px; padding: 12px; border-left: 3px solid var(--grow-primary); border-radius: 0 8px 8px 0; background: #f4f8ff; }
.grow-map-text-material p { max-height: 240px; margin: 6px 0 0; overflow: auto; color: #435b7b; line-height: 1.75; white-space: pre-wrap; }
#map-task-submit-form { display: grid; gap: 10px; margin-top: 18px; }
#map-task-submit-form label { color: #263e68; font-size: 13px; font-weight: 750; }
#map-task-submit-form textarea { min-height: 100px; padding: 12px; border: 1px solid #cfdcf0; border-radius: 9px; resize: vertical; }

.grow-map-release-status { padding: 6px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; }
.grow-map-release-status.is-draft { color: #986000; background: #fff1cf; }
.grow-map-release-status.is-published { color: #087b5c; background: #dff7ef; }
.grow-map-release-status.is-enabled { color: #087b5c; background: #dff7ef; }
.grow-map-release-status.is-disabled { color: #6f7e92; background: #edf1f6; }

.grow-record-date-field {
  display: grid;
  grid-template-columns: auto 180px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #d8e5f7;
  border-radius: 8px;
  background: #f8fbff;
}

.grow-record-date-field label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #243c67;
  font-size: 14px;
  font-weight: 800;
}

.grow-record-date-field label svg {
  width: 18px;
  color: var(--grow-primary);
}

.grow-record-date-field input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cbdcf3;
  border-radius: 7px;
  color: #20385f;
  background: #fff;
  font: inherit;
}

.grow-record-date-field small,
.grow-field small {
  color: #7486a3;
  font-size: 12px;
  line-height: 1.5;
}

.grow-maintenance-panel {
  align-self: start;
}

.grow-backup-list {
  margin-top: 14px;
  border: 1px solid #e0e8f3;
  border-radius: 7px;
  overflow: hidden;
}

.grow-backup-list > div {
  min-height: 54px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #edf2f8;
  background: #fff;
}

.grow-backup-list > div:first-child {
  border-top: 0;
}

.grow-backup-list span,
.grow-backup-list strong,
.grow-backup-list small {
  display: block;
}

.grow-backup-list strong {
  color: #243b60;
  font-size: 12px;
}

.grow-backup-list small {
  margin-top: 3px;
  color: #7b899e;
  font-size: 10px;
}

.grow-backup-list em {
  color: #087b5c;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 760px) {
  .grow-record-date-field {
    grid-template-columns: 1fr;
  }

  .grow-record-date-field input {
    width: 100%;
  }
}
.grow-map-execution { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e3eaf4; }
.grow-map-execution-table { border: 1px solid #e0e8f3; border-radius: 9px; overflow: hidden; }
.grow-map-execution-row { min-height: 46px; padding: 8px 12px; display: grid; grid-template-columns: 1.2fr 1fr 1.4fr 70px 70px 92px; gap: 12px; align-items: center; border-top: 1px solid #edf1f6; color: #60718a; font-size: 12px; }
.grow-map-execution-row:first-child { border-top: 0; }
.grow-map-execution-row.is-head { color: #718099; background: #f7f9fc; font-size: 11px; font-weight: 750; }
.grow-map-execution-row strong { color: #253a60; }
.grow-map-execution-row > span:nth-child(3) { display: flex; align-items: center; gap: 8px; }
.grow-map-execution-row i { width: 82px; height: 6px; border-radius: 99px; background: #e6edf7; overflow: hidden; }
.grow-map-execution-row i b { display: block; height: 100%; background: var(--grow-primary); }
.grow-map-execution-row .is-attention { color: #976100; font-weight: 850; }
.grow-map-execution-row .is-danger { color: #bd4139; font-weight: 850; }
.grow-map-execution-action { min-height: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid #cddcf1; border-radius: 7px; color: #245fae; background: #fff; font-weight: 750; text-decoration: none; }
.grow-map-execution-action { padding: 0 9px; font: inherit; font-size: 10px; cursor: pointer; }
.grow-map-execution-action:hover { border-color: #96b9ec; background: #f3f7fd; }
.grow-map-execution-action svg { width: 13px; height: 13px; }
.grow-map-version-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; color: #6e7e95; font-size: 11px; }
.grow-map-version-list strong { color: #2a3f64; }
.grow-map-review-queue { margin-top: 18px; }
.grow-map-review-queue h4 { margin: 0 0 10px; color: #263d64; font-size: 13px; }
.grow-map-review-form { min-height: 62px; padding: 10px 12px; display: grid; grid-template-columns: minmax(220px,1fr) minmax(180px,.8fr) auto auto; gap: 10px; align-items: center; border: 1px solid #e0e8f3; border-radius: 9px; background: #fbfcfe; }
.grow-map-review-form + .grow-map-review-form { margin-top: 8px; }
.grow-map-review-form strong { color: #263d64; font-size: 12px; }
.grow-map-review-form p { margin: 3px 0 0; color: #6d7d94; font-size: 11px; }
.grow-map-review-materials { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.grow-map-review-materials a { padding: 4px 6px; display: inline-flex; align-items: center; gap: 4px; border-radius: 5px; color: #2f67b8; background: #edf4ff; font-size: 9px; }
.grow-map-review-materials svg { width: 12px; }
.grow-map-review-text { max-height: 120px; margin-top: 7px; padding: 8px 9px; overflow: auto; border-left: 3px solid #78a8ef; border-radius: 0 6px 6px 0; color: #425a79; background: #f4f8ff; font-size: 9px; line-height: 1.65; white-space: pre-wrap; }
.grow-map-retained-materials { margin-top: 16px; border: 1px solid #e0e8f3; border-radius: 9px; overflow: hidden; }
.grow-map-retained-materials h4 { margin: 0; padding: 10px 12px; display: flex; align-items: center; gap: 7px; color: #2a4063; background: #f7f9fc; font-size: 11px; }
.grow-map-retained-materials h4 span { color: #75859b; font-weight: 600; }
.grow-map-retained-materials > a { min-height: 52px; padding: 8px 12px; display: grid; grid-template-columns: minmax(0,1fr) 100px 16px; gap: 10px; align-items: center; border-top: 1px solid #edf1f6; color: #4f6078; font-size: 10px; }
.grow-map-retained-materials > a:hover { background: #f8fbff; }
.grow-map-retained-materials > a > span { min-width: 0; display: flex; align-items: center; gap: 8px; }
.grow-map-retained-materials > a svg { width: 15px; flex: 0 0 15px; color: var(--grow-primary); }
.grow-map-retained-materials strong,.grow-map-retained-materials small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grow-map-retained-materials strong { color: #294366; font-size: 10px; }
.grow-map-retained-materials small { margin-top: 3px; color: #8491a4; font-size: 9px; }
.grow-map-retained-materials em { color: #8491a4; font-size: 9px; font-style: normal; text-align: right; }
.grow-map-retained-texts { margin-top: 16px; border: 1px solid #e0e8f3; border-radius: 9px; overflow: hidden; }
.grow-map-retained-texts h4 { margin: 0; padding: 10px 12px; color: #2a4063; background: #f7f9fc; font-size: 11px; }
.grow-map-retained-texts h4 span { margin-left: 5px; color: #75859b; font-weight: 600; }
.grow-map-retained-texts article { padding: 10px 12px; border-top: 1px solid #edf1f6; }
.grow-map-retained-texts article > div { display: flex; justify-content: space-between; gap: 12px; }
.grow-map-retained-texts article strong { color: #294366; font-size: 10px; }
.grow-map-retained-texts article small { color: #8491a4; font-size: 9px; }
.grow-map-retained-texts article p { max-height: 108px; margin: 7px 0 0; overflow: auto; color: #536984; font-size: 9px; line-height: 1.7; white-space: pre-wrap; }
.grow-map-review-form input { min-height: 38px; padding: 0 10px; border: 1px solid #d5dfed; border-radius: 7px; font-size: 12px; }

/* Growth map operations dashboard */
.grow-map-workspace-tabs {
  min-height: 58px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e4eaf2;
  background: #fbfcfe;
}

.grow-map-workspace-tabs button {
  min-width: 210px;
  min-height: 42px;
  padding: 6px 11px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #687991;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.grow-map-workspace-tabs button:hover {
  color: #294b79;
  background: #f1f5fb;
}

.grow-map-workspace-tabs button.is-active {
  color: #1f5fb9;
  border-color: #c9dcf8;
  background: #edf4ff;
}

.grow-map-workspace-tabs button > svg {
  width: 18px;
  height: 18px;
  justify-self: center;
}

.grow-map-workspace-tabs button span,
.grow-map-workspace-tabs button strong,
.grow-map-workspace-tabs button small {
  display: block;
}

.grow-map-workspace-tabs button strong {
  font-size: 11px;
}

.grow-map-workspace-tabs button small {
  margin-top: 2px;
  color: #8592a5;
  font-size: 9px;
}

.grow-map-workspace-tabs button em {
  min-width: 23px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #285ea6;
  background: #dceaff;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.grow-map-execution-dashboard {
  padding: 20px;
  background: #f5f7fb;
}

.grow-execution-view .grow-map-execution-dashboard {
  overflow: hidden;
  border: 1px solid #d9e3f0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(42, 72, 119, .06);
}

.grow-map-dashboard-head,
.grow-map-dashboard-section > header,
.grow-map-chart-panel > header,
.grow-map-dashboard-kpi,
.grow-map-dashboard-filter,
.grow-map-donut-wrap,
.grow-map-material-tabs {
  display: flex;
  align-items: center;
}

.grow-map-dashboard-head {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.grow-map-dashboard-head > div:first-child span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #246bfe;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.grow-map-dashboard-head > div:first-child span svg {
  width: 15px;
  height: 15px;
}

.grow-map-dashboard-head h1,
.grow-map-dashboard-head h3,
.grow-map-dashboard-head p,
.grow-map-dashboard-head > div:last-child strong,
.grow-map-dashboard-head > div:last-child span,
.grow-map-dashboard-section h4,
.grow-map-dashboard-section p,
.grow-map-chart-panel h4,
.grow-map-chart-panel p,
.grow-map-dashboard-kpi small,
.grow-map-dashboard-kpi strong,
.grow-map-dashboard-kpi p {
  margin: 0;
}

.grow-map-dashboard-head h1,
.grow-map-dashboard-head h3 {
  margin-top: 3px;
  color: #182b4a;
  font-size: 18px;
  letter-spacing: 0;
}

.grow-map-dashboard-head p {
  margin-top: 4px;
  color: #718198;
  font-size: 11px;
}

.grow-map-dashboard-head > div:first-child > small {
  display: block;
  margin-top: 6px;
  color: #8794a7;
  font-size: 10px;
}

.grow-map-dashboard-head > div:last-child {
  min-width: 120px;
  padding-left: 18px;
  border-left: 1px solid #dce4ef;
  text-align: right;
}

.grow-map-dashboard-head > div:last-child strong,
.grow-map-dashboard-head > div:last-child span {
  display: block;
}

.grow-map-dashboard-head > div:last-child strong {
  color: #174f9e;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.grow-map-dashboard-head > div:last-child span {
  margin-top: 2px;
  color: #8693a6;
  font-size: 10px;
}

.grow-map-dashboard-filter {
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #fff;
}

.grow-map-dashboard-filter select,
.grow-map-dashboard-search {
  height: 38px;
  border: 1px solid #d7e1ee;
  border-radius: 7px;
  color: #334b6d;
  background: #fff;
  font: inherit;
  font-size: 11px;
}

.grow-map-dashboard-search {
  min-width: 250px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
}

.grow-map-dashboard-search:focus-within {
  border-color: #77a8ef;
  box-shadow: 0 0 0 3px rgba(36, 107, 254, .1);
}

.grow-map-dashboard-search svg {
  width: 15px;
  height: 15px;
  color: #7f8ea3;
}

.grow-map-dashboard-search input {
  min-width: 0;
  height: 100%;
  flex: 1;
  border: 0;
  outline: 0;
  color: #263e61;
  background: transparent;
  font: inherit;
}

.grow-map-dashboard-filter select {
  min-width: 140px;
  padding: 0 28px 0 10px;
}

.grow-map-dashboard-filter .grow-btn {
  min-height: 38px;
  margin: 0;
}

.grow-map-dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.grow-map-dashboard-kpi {
  min-width: 0;
  gap: 11px;
  padding: 14px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #fff;
}

.grow-map-dashboard-kpi > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #2569d7;
  background: #edf4ff;
}

.grow-map-dashboard-kpi.is-2 > span { color: #128463; background: #e9f7f2; }
.grow-map-dashboard-kpi.is-3 > span { color: #9a6511; background: #fff5df; }
.grow-map-dashboard-kpi.is-4 > span { color: #7057b5; background: #f2effb; }
.grow-map-dashboard-kpi svg { width: 18px; height: 18px; }
.grow-map-dashboard-kpi > div { min-width: 0; }
.grow-map-dashboard-kpi small { color: #6f7f95; font-size: 10px; }
.grow-map-dashboard-kpi strong { display: block; margin-top: 2px; color: #1e3456; font-size: 21px; font-variant-numeric: tabular-nums; }
.grow-map-dashboard-kpi p { margin-top: 2px; overflow: hidden; color: #8a97a9; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.grow-map-dashboard-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.grow-map-chart-panel,
.grow-map-dashboard-section {
  min-width: 0;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #fff;
}

.grow-map-chart-panel {
  min-height: 245px;
  padding: 15px;
}

.grow-map-chart-panel > header,
.grow-map-dashboard-section > header {
  justify-content: space-between;
  gap: 14px;
}

.grow-map-chart-panel h4,
.grow-map-dashboard-section h4 {
  color: #203858;
  font-size: 13px;
}

.grow-map-chart-panel p,
.grow-map-dashboard-section p {
  margin-top: 3px;
  color: #8491a4;
  font-size: 10px;
}

.grow-map-chart-panel > header > strong {
  color: #255fae;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.grow-map-chart-panel > header > strong small {
  color: #8390a3;
  font-size: 10px;
}

.grow-map-donut-wrap {
  min-height: 170px;
  justify-content: center;
  gap: 30px;
}

.grow-map-donut {
  width: 128px;
  height: 128px;
  flex: 0 0 128px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.grow-map-donut > span {
  width: 86px;
  height: 86px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.grow-map-donut strong,
.grow-map-donut small {
  display: block;
}

.grow-map-donut strong { color: #1f3c64; font-size: 21px; font-variant-numeric: tabular-nums; }
.grow-map-donut small { margin-top: 2px; color: #8693a6; font-size: 10px; }
.grow-map-donut-wrap ul { min-width: 170px; margin: 0; padding: 0; list-style: none; }
.grow-map-donut-wrap li { position: relative; padding: 6px 0 6px 15px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #66778f; font-size: 10px; }
.grow-map-donut-wrap li::before { content: ""; position: absolute; left: 0; width: 7px; height: 7px; border-radius: 2px; background: #d9e1ec; }
.grow-map-donut-wrap li.is-complete::before { background: #24a77b; }
.grow-map-donut-wrap li.is-progress::before { background: #3e7be8; }
.grow-map-donut-wrap li.is-attention::before { background: #e4a42b; }
.grow-map-donut-wrap li strong { color: #2a4163; font-variant-numeric: tabular-nums; }

.grow-map-bar-chart,
.grow-map-ranking-chart,
.grow-map-stage-chart {
  margin-top: 18px;
}

.grow-map-bar-chart > div {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  color: #60718a;
  font-size: 10px;
}

.grow-map-bar-chart i,
.grow-map-ranking-chart i,
.grow-map-stage-chart i {
  height: 7px;
  overflow: hidden;
  border-radius: 4px;
  background: #edf1f6;
}

.grow-map-bar-chart i b,
.grow-map-ranking-chart i b,
.grow-map-stage-chart i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #3e7be8;
}

.grow-map-bar-chart .is-complete i b { background: #24a77b; }
.grow-map-bar-chart .is-good i b { background: #4b82df; }
.grow-map-bar-chart .is-progress i b { background: #e4a42b; }
.grow-map-bar-chart .is-empty i b { background: #aab6c7; }
.grow-map-bar-chart strong { color: #2d4362; text-align: right; font-variant-numeric: tabular-nums; }
.grow-map-bar-chart small { color: #8794a6; font-size: 10px; }

.grow-map-ranking-chart > div {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.grow-map-ranking-chart > div > span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #6d7e94;
  background: #eef2f7;
  font-size: 10px;
  font-weight: 800;
}

.grow-map-ranking-chart > div:nth-child(-n+3) > span { color: #2463bc; background: #e7f0ff; }
.grow-map-ranking-chart > div > div { min-width: 0; display: grid; grid-template-columns: minmax(80px, .7fr) minmax(90px, 1fr); align-items: center; gap: 8px; }
.grow-map-ranking-chart strong { overflow: hidden; color: #334b6a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.grow-map-ranking-chart small { grid-column: 1 / -1; color: #8b97a8; font-size: 10px; }
.grow-map-ranking-chart em,
.grow-map-stage-chart em { color: #2e5f9f; font-size: 10px; font-style: normal; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }

.grow-map-stage-chart > div {
  display: grid;
  grid-template-columns: minmax(100px, .7fr) minmax(110px, 1fr) 42px;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}

.grow-map-stage-chart > div > span strong,
.grow-map-stage-chart > div > span small { display: block; }
.grow-map-stage-chart > div > span strong { overflow: hidden; color: #334b6a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.grow-map-stage-chart > div > span small { margin-top: 2px; color: #8b97a8; font-size: 10px; }
.grow-map-chart-empty { margin: 60px 0 0 !important; text-align: center; }

.grow-map-dashboard-section {
  margin-top: 10px;
  overflow: hidden;
}

.grow-map-dashboard-section > header {
  min-height: 64px;
  padding: 12px 14px;
  border-bottom: 1px solid #e6ebf2;
}

.grow-map-dashboard-section > header > span {
  color: #6d7e94;
  font-size: 10px;
  font-weight: 750;
}

.grow-map-execution-dashboard .grow-map-execution-table {
  border: 0;
  border-radius: 0;
}

.grow-map-execution-dashboard .grow-map-execution-row {
  min-height: 60px;
  grid-template-columns: 1.35fr 1fr .85fr 1.1fr .9fr .8fr 88px;
  padding: 9px 14px;
}

.grow-map-execution-dashboard .grow-map-execution-row.is-head {
  min-height: 38px;
}

.grow-map-execution-dashboard .grow-map-execution-row > span:nth-child(3) {
  display: block;
}

.grow-map-person-cell,
.grow-map-execution-dashboard .grow-map-execution-row > span:nth-child(2) {
  min-width: 0;
}

.grow-map-person-cell strong,
.grow-map-person-cell small,
.grow-map-execution-dashboard .grow-map-execution-row > span:nth-child(2) strong,
.grow-map-execution-dashboard .grow-map-execution-row > span:nth-child(2) small {
  display: block;
}

.grow-map-person-cell strong,
.grow-map-execution-dashboard .grow-map-execution-row > span:nth-child(2) strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-map-person-cell small,
.grow-map-execution-dashboard .grow-map-execution-row > span:nth-child(2) small {
  margin-top: 3px;
  overflow: hidden;
  color: #8a97a9;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-map-progress-cell {
  display: grid !important;
  grid-template-columns: minmax(50px, 1fr) 34px;
  align-items: center;
  gap: 7px;
}

.grow-map-progress-cell i { width: auto; }
.grow-map-progress-cell strong { color: #2f5f9d; font-size: 11px; text-align: right; font-variant-numeric: tabular-nums; }
.grow-map-table-status { padding: 4px 7px; display: inline-flex; border-radius: 5px; color: #6d7e93; background: #eef2f7; font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
.grow-map-table-status.is-complete { color: #11775a; background: #e6f6f0; }
.grow-map-table-status.is-progress { color: #245fae; background: #eaf2fe; }
.grow-map-table-status.is-attention { color: #8c5a0b; background: #fff3d9; }

.grow-map-review-queue {
  padding: 0 14px 14px;
}

.grow-map-review-queue > header {
  margin: 0 -14px 10px;
}

.grow-map-material-center > header {
  align-items: flex-end;
}

.grow-map-material-tabs {
  gap: 3px;
  padding: 3px;
  border-radius: 6px;
  background: #eef2f7;
}

.grow-map-material-tabs button {
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  color: #697a91;
  background: transparent;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.grow-map-material-tabs button.is-active {
  color: #245fae;
  background: #fff;
  box-shadow: 0 1px 3px rgba(32, 50, 79, .09);
  font-weight: 800;
}

.grow-map-material-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.grow-map-material-card {
  min-width: 0;
  min-height: 76px;
  padding: 9px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  border: 1px solid #e0e7f0;
  border-radius: 7px;
  color: #526780;
  background: #fbfcfe;
  text-decoration: none;
}

.grow-map-material-card:hover {
  border-color: #a9c5ec;
  background: #f5f9ff;
}

.grow-map-material-card > img,
.grow-map-material-file-icon {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
}

.grow-map-material-file-icon {
  display: grid;
  place-items: center;
  color: #3772c7;
  background: #eaf2fe;
}

.grow-map-material-file-icon svg { width: 22px; height: 22px; }
.grow-map-material-card > span:nth-child(2),
.grow-map-material-card summary > span:nth-child(2) { min-width: 0; }
.grow-map-material-card strong,
.grow-map-material-card small,
.grow-map-material-card em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grow-map-material-card strong { color: #294260; font-size: 11px; }
.grow-map-material-card small { margin-top: 4px; color: #718197; font-size: 10px; }
.grow-map-material-card em { margin-top: 5px; color: #94a0b0; font-size: 10px; font-style: normal; }
.grow-map-material-card > i,
.grow-map-material-card summary > i { color: #7890ae; font-style: normal; }
.grow-map-material-card > i svg,
.grow-map-material-card summary > i svg { width: 15px; height: 15px; }

.grow-map-material-card.is-text {
  display: block;
  padding: 0;
}

.grow-map-material-card.is-text summary {
  min-height: 74px;
  padding: 9px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.grow-map-material-card.is-text summary::-webkit-details-marker { display: none; }
.grow-map-material-card.is-text[open] summary > i { transform: rotate(90deg); }
.grow-map-material-card.is-text > p { max-height: 180px; margin: 0; padding: 10px 12px; overflow: auto; border-top: 1px solid #e2e8f0; color: #506783; background: #fff; font-size: 10px; line-height: 1.7; white-space: pre-wrap; }

@media (max-width: 1180px) {
  .grow-map-dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grow-map-execution-dashboard .grow-map-execution-table { overflow-x: auto; }
  .grow-map-execution-dashboard .grow-map-execution-row { min-width: 940px; }
}

@media (max-width: 860px) {
  .grow-map-workspace-tabs { align-items: stretch; }
  .grow-map-workspace-tabs button { min-width: 0; flex: 1; }
  .grow-map-dashboard-filter { align-items: stretch; flex-wrap: wrap; }
  .grow-map-dashboard-search { min-width: 100%; flex-basis: 100%; }
  .grow-map-dashboard-filter select { flex: 1; }
  .grow-map-dashboard-charts,
  .grow-map-material-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  .grow-map-route { grid-template-columns: repeat(auto-fit, minmax(110px,1fr)); row-gap: 28px; }
  .grow-map-route::before { display: none; }
}

/* Eight-stage annual learning map */
.grow-learning-map { min-height: auto; padding: 66px 22px 24px; }
.grow-map-trail {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 16px;
}
.grow-map-stage,
.grow-map-stage-1,
.grow-map-stage-2,
.grow-map-stage-3,
.grow-map-stage-4,
.grow-map-stage:nth-child(n + 5) {
  position: relative;
  inset: auto;
  width: auto;
  margin: 0;
}
.grow-map-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(100% - 8px);
  top: 24px;
  width: 24px;
  border-top: 3px dashed rgba(87, 145, 232, 0.38);
}
.grow-map-stage:nth-child(4n)::after, .grow-map-stage:last-child::after { display: none; }
.grow-map-node { left: 12px; top: -28px; width: 52px; height: 58px; }
.grow-map-node span { width: 26px; height: 26px; font-size: 12px; }
.grow-map-stage-card { height: 100%; min-height: 238px; padding: 18px 13px 12px; border-radius: 12px; }
.grow-map-stage-card::before { margin: -18px -13px 12px; border-radius: 12px 12px 0 0; }
.grow-map-stage-head h2 { font-size: 16px; }
.grow-map-stage-head p, .grow-map-focus { font-size: 11px; }
.grow-map-mentor-note { margin-top: 10px; padding: 8px 9px; }

@media (max-width: 1180px) {
  .grow-map-trail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grow-map-stage:nth-child(4n)::after { display: block; }
  .grow-map-stage:nth-child(2n)::after { display: none; }
  .grow-admin-map-task > summary { grid-template-columns: 58px minmax(150px, 1fr) 110px; }
  .grow-admin-map-task > summary > span:last-child { grid-column: 2 / -1; }
}

/* Final desktop homepage fit */
.grow-dashboard-grid .grow-goal-body {
  grid-template-columns: 1fr;
  align-items: start;
}
.grow-dashboard-grid .grow-goal-body .grow-ring { margin: 0 auto; }
.grow-dashboard-grid .grow-goal-list label {
  align-items: flex-start;
  white-space: normal;
  word-break: normal;
  line-height: 1.45;
}

/* Growth record workspace */
.grow-record-view {
  min-height: calc(100vh - 104px);
}

.grow-record-workspace {
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(520px, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.grow-record-composer,
.grow-record-history {
  min-width: 0;
  border: 1px solid #dce8fb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(45, 91, 168, 0.035);
}

.grow-record-composer {
  padding: 30px 30px 28px;
}

.grow-record-composer-head {
  position: relative;
  min-height: 112px;
  display: flex;
  align-items: flex-start;
}

.grow-record-composer-head h1,
.grow-record-history > header h2 {
  margin: 0;
  color: #12234d;
  font-size: 23px;
  line-height: 1.3;
}

.grow-record-composer-head p,
.grow-record-history > header p {
  margin: 13px 0 0;
  color: #60749c;
  font-size: 14px;
  line-height: 1.65;
}

.grow-record-composer-head img {
  position: absolute;
  width: 210px;
  height: 132px;
  right: -4px;
  top: -31px;
  object-fit: contain;
  pointer-events: none;
}

.grow-record-compose {
  display: grid;
  gap: 26px;
}

.grow-record-topics {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.grow-record-topics legend {
  margin-bottom: 15px;
  color: #172951;
  font-size: 15px;
  font-weight: 760;
}

.grow-record-topics > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.grow-record-topics button {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #d7e4f8;
  border-radius: 9px;
  color: #40577f;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.grow-record-topics button span {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: #3478f6;
}

.grow-record-topics button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.grow-record-topics button:hover,
.grow-record-topics button.is-active {
  border-color: #9fc1ff;
  color: #246bfe;
  background: #f8fbff;
}

.grow-record-editor {
  position: relative;
  min-height: 304px;
  border: 1px solid #cfe0fb;
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
}

.grow-record-editor:focus-within {
  border-color: #77a8ff;
  box-shadow: 0 0 0 4px rgba(36, 107, 254, 0.08);
}

.grow-record-editor textarea {
  width: 100%;
  height: 304px;
  min-height: 304px;
  padding: 24px 25px 48px;
  border: 0;
  border-radius: 0;
  outline: 0;
  resize: none;
  color: #24385e;
  background: transparent;
  font: inherit;
  font-size: 15px;
  line-height: 1.9;
}

.grow-record-editor textarea::placeholder {
  color: #8798b8;
}

.grow-record-editor > span {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: #7f91b1;
  font-size: 13px;
}

.grow-record-editor > span strong {
  font-weight: 500;
}

.grow-record-submit {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(105deg, #4c8cf8 0%, #2f72f5 100%);
  box-shadow: 0 12px 24px rgba(47, 114, 245, 0.18);
  font: inherit;
  font-size: 17px;
  font-weight: 730;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.grow-record-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 28px rgba(47, 114, 245, 0.24);
}

.grow-record-submit svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.grow-record-history {
  padding: 28px 26px 22px;
}

.grow-record-history > header {
  padding: 0 20px 19px;
}

.grow-record-timeline {
  position: relative;
  display: grid;
  gap: 17px;
  padding-left: 35px;
}

.grow-record-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 22px;
  bottom: 12px;
  width: 1px;
  background: #d9e8fb;
}

.grow-timeline-entry {
  position: relative;
}

.grow-timeline-entry::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: -31px;
  top: 9px;
  width: 10px;
  height: 10px;
  border: 3px solid #edf5ff;
  border-radius: 50%;
  background: #2879fa;
  box-shadow: 0 0 0 2px #fff;
}

.grow-timeline-date {
  min-height: 30px;
  color: #62779e;
  font-size: 13px;
  font-weight: 680;
}

.grow-timeline-card {
  position: relative;
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr) 30px;
  gap: 14px;
  min-height: 138px;
  padding: 15px 17px 17px;
  border: 1px solid #d8e5fa;
  border-radius: 15px;
  background: #fff;
}

.grow-timeline-entry.is-good .grow-timeline-card,
.grow-timeline-entry.is-happy .grow-timeline-card {
  border-color: #cceee6;
  background: linear-gradient(110deg, #f5fffc, #fff);
}

.grow-timeline-entry.is-irritated .grow-timeline-card,
.grow-timeline-entry.is-low .grow-timeline-card {
  border-color: #f2dfc0;
  background: linear-gradient(110deg, #fffaf2, #fff);
}

.grow-timeline-card aside {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 11px;
}

.grow-timeline-mood {
  min-width: 91px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px 0 8px;
  border-radius: 18px;
  color: #39557f;
  background: #edf4ff;
  font-size: 13px;
  font-weight: 720;
}

.is-good .grow-timeline-mood,
.is-happy .grow-timeline-mood {
  color: #247960;
  background: #e7faf4;
}

.is-irritated .grow-timeline-mood,
.is-low .grow-timeline-mood {
  color: #9b681d;
  background: #fff5e4;
}

.grow-timeline-mood .grow-mood-face {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px;
}

.grow-timeline-card time {
  color: #7184a7;
  font-size: 12px;
}

.grow-timeline-card > div > time {
  display: block;
  margin: 3px 0 9px;
}

.grow-timeline-card h3 {
  margin: 0;
  color: #142750;
  font-size: 15px;
  line-height: 1.45;
}

.grow-timeline-card p {
  margin: 9px 0 0;
  color: #5d7197;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.grow-timeline-feedback {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed #dbe6f5;
  color: #597092;
  font-size: 12px;
  line-height: 1.65;
}

.grow-timeline-card > button {
  align-self: start;
  border: 0;
  color: #54709d;
  background: transparent;
  font-size: 15px;
  letter-spacing: 2px;
  cursor: default;
}

.grow-record-history > footer {
  padding: 23px 0 1px;
  color: #6f82a4;
  text-align: center;
  font-size: 13px;
}

.grow-record-detail-modal {
  width: min(620px, 100%);
}

.grow-record-detail-modal .grow-panel-head h2 {
  margin-top: 12px;
}

.grow-record-detail-text {
  margin: 6px 0 0;
  color: #304568;
  font-size: 15px;
  line-height: 1.9;
  white-space: pre-wrap;
}

.grow-record-detail-modal .grow-ai-note strong {
  display: block;
  margin-bottom: 6px;
  color: #245b9f;
}

.grow-record-detail-modal .grow-ai-note p {
  margin: 0;
}

@media (max-width: 1240px) {
  .grow-record-workspace {
    grid-template-columns: minmax(390px, 0.9fr) minmax(480px, 1.1fr);
  }

  .grow-record-composer {
    padding-inline: 24px;
  }

  .grow-record-composer-head img {
    width: 175px;
  }

  .grow-timeline-card {
    grid-template-columns: 100px minmax(0, 1fr) 24px;
  }
}

/* Confidential whisper mailbox */
.grow-view[data-view-panel="whisper"] {
  min-height: calc(100vh - 104px);
}

.grow-whisper-workspace {
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(430px, 0.84fr);
  gap: 24px;
  align-items: stretch;
}

.grow-whisper-compose,
.grow-whisper-history {
  min-width: 0;
  min-height: 700px;
  overflow: hidden;
  border: 1px solid #dce8fb;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(50, 91, 164, 0.07);
}

.grow-whisper-compose {
  background:
    radial-gradient(circle at 90% 13%, rgba(155, 152, 255, 0.14), transparent 100px),
    linear-gradient(180deg, #f8fbff 0, #fff 27%);
}

.grow-whisper-hero {
  position: relative;
  min-height: 168px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 28px 44px 24px;
}

.grow-whisper-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(234, 241, 255, 0.62));
  pointer-events: none;
}

.grow-whisper-lock {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #98b7ff, #666cf1);
  box-shadow: 0 15px 28px rgba(86, 94, 230, 0.22);
}

.grow-whisper-lock svg {
  width: 40px;
  height: 40px;
}

.grow-whisper-hero h1 {
  margin: 0;
  color: #132452;
  font-size: 29px;
  line-height: 1.25;
}

.grow-whisper-hero p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #63759a;
  font-size: 14px;
  line-height: 1.7;
}

.grow-whisper-moon {
  position: absolute;
  top: 42px;
  right: 59px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8296f8, #d8d9ff);
  opacity: 0.75;
}

.grow-whisper-moon::before {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  left: -11px;
  top: -8px;
  border-radius: 50%;
  background: #fbfcff;
}

.grow-whisper-moon::after {
  content: "✦";
  position: absolute;
  top: 2px;
  right: -23px;
  color: #a7b8ff;
  font-size: 22px;
}

.grow-whisper-form {
  min-height: 532px;
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 34px 44px 38px;
  border-radius: 38px 38px 0 0;
  background: #fff;
}

.grow-whisper-form > label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1a2d58;
  font-size: 17px;
  font-weight: 760;
}

.grow-whisper-form > label span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #536eff;
  background: #eef3ff;
}

.grow-whisper-form > label svg {
  width: 19px;
  height: 19px;
}

.grow-whisper-editor {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  border: 1px solid #cbdcf7;
  border-radius: 17px;
  background: #fff;
}

.grow-whisper-editor:focus-within {
  border-color: #7ea8ff;
  box-shadow: 0 0 0 4px rgba(76, 111, 255, 0.08);
}

.grow-whisper-editor textarea {
  width: 100%;
  height: 235px;
  min-height: 235px;
  padding: 23px 24px 45px;
  border: 0;
  outline: 0;
  resize: none;
  color: #2d4167;
  background: transparent;
  font: inherit;
  font-size: 15px;
  line-height: 1.8;
}

.grow-whisper-editor textarea::placeholder {
  color: #7f8eab;
}

.grow-whisper-editor > span {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: #8b9ab5;
  font-size: 12px;
}

.grow-whisper-editor > span strong {
  font-weight: 500;
}

.grow-whisper-actions {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(270px, 0.92fr);
  gap: 18px;
  align-items: center;
}

.grow-whisper-actions p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #687a9d;
  font-size: 13px;
  line-height: 1.55;
}

.grow-whisper-actions p svg {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  color: #4e83f8;
}

.grow-whisper-actions button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(105deg, #545eff, #234ff5);
  box-shadow: 0 15px 30px rgba(55, 73, 239, 0.22);
  font: inherit;
  font-size: 17px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.grow-whisper-actions button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(55, 73, 239, 0.28);
}

.grow-whisper-actions button:disabled {
  opacity: 0.68;
  cursor: wait;
}

.grow-whisper-actions button svg {
  width: 25px;
  height: 25px;
}

.grow-whisper-history {
  padding: 40px 35px 30px;
}

.grow-whisper-history > header {
  min-height: 128px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid #dce6f7;
}

.grow-whisper-history > header > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #4f70ee;
  background: linear-gradient(145deg, #eef3ff, #dfe7ff);
}

.grow-whisper-history > header svg {
  width: 27px;
  height: 27px;
}

.grow-whisper-history h2 {
  margin: 5px 0 0;
  color: #132452;
  font-size: 25px;
}

.grow-whisper-history > header p {
  margin: 16px 0 0;
  color: #65779d;
  font-size: 14px;
}

.grow-whisper-history-body {
  min-height: 478px;
  display: grid;
}

.grow-whisper-empty-state {
  display: grid;
  place-items: center;
  align-content: center;
  padding-top: 20px;
}

.grow-whisper-empty-state img {
  width: min(390px, 78%);
  height: 330px;
  object-fit: contain;
}

.grow-whisper-empty-state > p {
  width: min(390px, 84%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 15px;
  align-items: center;
  margin: 0;
  color: #65779d;
  font-size: 17px;
  text-align: center;
}

.grow-whisper-empty-state > p span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #ccd9f5);
}

.grow-whisper-empty-state > p span:last-child {
  background: linear-gradient(90deg, #ccd9f5, transparent);
}

.grow-whisper-records {
  max-height: 478px;
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 22px 2px 0;
  overflow: auto;
}

.grow-whisper-record {
  padding: 17px 18px;
  border: 1px solid #dbe5f6;
  border-radius: 15px;
  background: #fbfdff;
}

.grow-whisper-record.is-replied {
  border-color: #ccece1;
  background: #f7fffc;
}

.grow-whisper-record.is-closed {
  background: #f8fafc;
}

.grow-whisper-record > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.grow-whisper-record > header span {
  padding: 5px 10px;
  border-radius: 12px;
  color: #4166d7;
  background: #eaf0ff;
  font-size: 12px;
  font-weight: 740;
}

.grow-whisper-record.is-replied > header span {
  color: #258169;
  background: #e2f7f0;
}

.grow-whisper-record > header time {
  color: #8493ad;
  font-size: 11px;
}

.grow-whisper-record > p {
  margin: 13px 0 0;
  color: #344969;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.grow-whisper-record > small {
  display: block;
  margin-top: 13px;
  color: #8391aa;
  font-size: 11px;
}

.grow-whisper-record > div {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 11px;
  color: #3d6b61;
  background: #eaf8f3;
}

.grow-whisper-record > div strong {
  font-size: 12px;
}

.grow-whisper-record > div p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .grow-whisper-workspace {
    grid-template-columns: minmax(470px, 1fr) minmax(390px, 0.82fr);
    gap: 16px;
  }

  .grow-whisper-hero,
  .grow-whisper-form {
    padding-inline: 30px;
  }

  .grow-whisper-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .grow-whisper-workspace {
    grid-template-columns: 1fr;
  }

  .grow-whisper-compose,
  .grow-whisper-history {
    min-height: auto;
    border-radius: 18px;
  }
}

/* Handbook catalog */
.grow-handbook-view {
  padding-bottom: 8px;
}

.grow-handbook-catalog {
  overflow: hidden;
  border: 1px solid #d9e7fa;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(55, 94, 163, 0.05);
}

.grow-handbook-catalog-hero {
  position: relative;
  min-height: 296px;
  padding: 40px 48px 78px;
  overflow: hidden;
  border-bottom: 1px solid #dce8f8;
  background:
    linear-gradient(90deg, rgba(239, 247, 255, 0.98) 0%, rgba(242, 248, 255, 0.92) 43%, rgba(223, 237, 255, 0.72) 100%);
}

.grow-handbook-catalog-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.grow-handbook-catalog-copy h1 {
  margin: 0;
  color: #0d2149;
  font-size: 35px;
  line-height: 1.2;
}

.grow-handbook-catalog-copy > p {
  margin: 14px 0 25px;
  color: #536b91;
  font-size: 15px;
  line-height: 1.7;
}

.grow-handbook-catalog-copy nav {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.grow-handbook-catalog-copy nav button,
.grow-handbook-topics button {
  min-height: 36px;
  padding: 0 17px;
  border: 1px solid #d7e4f6;
  border-radius: 9px;
  color: #5f7190;
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.grow-handbook-catalog-copy nav button:hover,
.grow-handbook-topics button:hover,
.grow-handbook-topics button.is-active {
  border-color: #96bafd;
  color: var(--grow-primary);
  background: #f7faff;
}

.grow-handbook-catalog-copy nav button.is-active {
  border-color: var(--grow-primary);
  color: #fff;
  background: var(--grow-primary);
  box-shadow: 0 8px 18px rgba(36, 107, 254, 0.2);
}

.grow-handbook-catalog-visual {
  position: absolute;
  z-index: 1;
  right: -28px;
  top: -50px;
  width: min(58%, 760px);
  height: 294px;
  object-fit: cover;
  object-position: center 57%;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 92%, transparent 100%);
}

.grow-handbook-tools {
  position: absolute;
  z-index: 3;
  left: 48px;
  right: 48px;
  bottom: 17px;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.grow-handbook-search {
  width: 310px;
  min-height: 48px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #d3e2f6;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 13px rgba(52, 91, 157, 0.06);
}

.grow-handbook-search svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #6d86aa;
}

.grow-handbook-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #233b63;
  background: transparent;
  font: inherit;
  font-size: 13px;
}

.grow-handbook-search input::placeholder {
  color: #98a8bf;
}

.grow-handbook-topics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.grow-handbook-topics > span {
  color: #5b7092;
  font-size: 12px;
  font-weight: 720;
}

.grow-handbook-topics button {
  min-height: 29px;
  padding: 0 13px;
  border: 0;
  border-radius: 15px;
  color: #5777aa;
  background: #e9f2ff;
  font-size: 11px;
}

.grow-handbook-directory {
  background: #fff;
}

.grow-handbook-directory-row {
  min-height: 158px;
  padding: 16px 26px 16px 20px;
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr) 118px;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid #e3ebf6;
}

.grow-handbook-directory-row[hidden],
.grow-handbook-no-results[hidden] {
  display: none !important;
}

.grow-handbook-row-cover {
  position: relative;
  height: 126px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 11px;
  background: #edf5ff;
  cursor: pointer;
}

.grow-handbook-row-cover img,
.grow-handbook-row-cover .grow-card-asset {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.grow-handbook-row-cover .grow-card-asset {
  position: static;
  background-image: url("/grow/assets/grow-handbook-strip.png");
  background-repeat: no-repeat;
  background-size: 400% 100%;
  background-position: 0 50%;
}

.grow-handbook-row-cover[data-cover-index="1"] .grow-card-asset {
  background-position: 33.333% 50%;
}

.grow-handbook-row-cover[data-cover-index="2"] .grow-card-asset {
  background-position: 66.666% 50%;
}

.grow-handbook-row-cover[data-cover-index="3"] .grow-card-asset {
  background-position: 100% 50%;
}

.grow-handbook-row-content {
  min-width: 0;
}

.grow-handbook-row-content > header {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.grow-handbook-row-icon {
  color: var(--grow-primary);
}

.grow-handbook-row-icon svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: currentColor;
}

.grow-handbook-row-content header > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.grow-handbook-row-content h2 {
  margin: 0;
  color: #142650;
  font-size: 17px;
  line-height: 1.4;
}

.grow-handbook-row-content header em {
  padding: 4px 9px;
  border-radius: 5px;
  color: var(--grow-primary);
  background: #e9f2ff;
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
}

.grow-handbook-row-content header > strong {
  color: #637797;
  font-size: 12px;
  font-weight: 650;
}

.grow-handbook-row-content > p {
  margin: 12px 0 13px 32px;
  overflow: hidden;
  color: #5c7092;
  font-size: 13px;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-handbook-row-meta {
  margin-left: 32px;
  padding-top: 12px;
  display: flex;
  gap: 26px;
  border-top: 1px solid #e7edf6;
}

.grow-handbook-row-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #788aa7;
  font-size: 11px;
}

.grow-handbook-row-meta svg {
  width: 15px;
  height: 15px;
}

.grow-handbook-row-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  color: var(--grow-primary);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}

.grow-handbook-row-action svg,
.grow-handbook-update button svg {
  width: 17px;
  height: 17px;
}

.grow-handbook-row-action:hover {
  color: #0e4fd4;
}

.grow-handbook-no-results {
  min-height: 230px;
  display: grid;
  place-content: center;
  gap: 7px;
  color: #8392aa;
  text-align: center;
}

.grow-handbook-no-results strong {
  color: #334d75;
  font-size: 16px;
}

.grow-handbook-no-results span {
  font-size: 12px;
}

.grow-handbook-update {
  min-height: 54px;
  margin: 16px;
  padding: 0 19px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid #dce7f7;
  border-radius: 9px;
  background: #f4f8ff;
}

.grow-handbook-update > span,
.grow-handbook-update button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.grow-handbook-update > span {
  color: #244069;
  font-size: 12px;
}

.grow-handbook-update > span svg {
  width: 17px;
  height: 17px;
  color: #6f86a9;
}

.grow-handbook-update p {
  margin: 0;
  color: #677b9a;
  font-size: 12px;
}

.grow-handbook-update button {
  justify-self: end;
  border: 0;
  color: var(--grow-primary);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

.grow-handbook-section-modal {
  width: min(940px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.grow-handbook-section-modal .grow-handbook-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grow-source-gallery-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 20px;
  padding: 14px 16px;
  border: 1px solid #d8e7ff;
  border-radius: 8px;
  background: #f5f9ff;
  color: #4f668d;
  font-size: 14px;
}

.grow-source-gallery-intro p { margin: 0; }

.grow-source-gallery-intro span {
  flex: 0 0 auto;
  color: var(--grow-primary);
  font-weight: 740;
}

.grow-source-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.grow-source-page {
  display: grid;
  overflow: hidden;
  padding: 0;
  border: 1px solid #d9e5f6;
  border-radius: 8px;
  background: #fff;
  color: #36547f;
  text-align: left;
  cursor: zoom-in;
  box-shadow: 0 8px 22px rgba(53, 83, 133, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.grow-source-page:hover {
  border-color: #8eb7ff;
  box-shadow: 0 14px 26px rgba(42, 104, 212, 0.14);
  transform: translateY(-2px);
}

.grow-source-page img {
  display: block;
  width: 100%;
  aspect-ratio: 1.464 / 1;
  object-fit: cover;
  object-position: center;
  background: #eff5ff;
}

.grow-source-page > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 730;
}

.grow-source-page > span svg { width: 16px; height: 16px; }

.grow-source-page-modal {
  width: min(1400px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.grow-source-page-modal > img {
  display: block;
  width: 100%;
  min-width: 860px;
  margin-top: 18px;
  border-radius: 6px;
  background: #f4f7fb;
}

.grow-source-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 760px) {
  .grow-source-gallery { grid-template-columns: 1fr; }
  .grow-source-gallery-intro { align-items: flex-start; flex-direction: column; }
  .grow-source-page-modal { width: calc(100vw - 24px); max-height: calc(100vh - 24px); }
  .grow-source-page-modal > img { min-width: 720px; }
}

@media (max-width: 1180px) {
  .grow-handbook-catalog-hero {
    padding-inline: 32px;
  }

  .grow-handbook-catalog-copy {
    max-width: 560px;
  }

  .grow-handbook-catalog-visual {
    right: -110px;
    width: 66%;
  }

  .grow-handbook-tools {
    left: 32px;
    right: 32px;
  }

  .grow-handbook-directory-row {
    grid-template-columns: 158px minmax(0, 1fr) 100px;
    gap: 20px;
  }
}

/* Keep record refinements above later legacy declarations. */
.grow-record-composer-head { min-height: 96px; }
.grow-record-compose { gap: 18px; }
.grow-record-editor { min-height: 220px; }
.grow-record-editor textarea {
  height: 220px;
  min-height: 220px;
  max-height: 420px;
  resize: none;
}
.grow-record-history > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.grow-timeline-card > button { cursor: pointer; }

.grow-notification-modal {
  width: min(680px, calc(100vw - 40px));
  max-height: min(760px, calc(100vh - 40px));
  overflow-y: auto;
}

.grow-notification-group {
  margin-top: 22px;
}

.grow-notification-group > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.grow-notification-group h3,
.grow-notification-group p {
  margin: 0;
}

.grow-notification-group > header span {
  padding: 4px 9px;
  border-radius: 999px;
  color: #4a70aa;
  background: #edf4ff;
  font-size: 12px;
  font-weight: 700;
}

.grow-notification-item {
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid #dfe9fa;
  border-radius: 8px;
  color: #1e355e;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.grow-notification-item:hover { border-color: #a9c7ff; background: #f8fbff; }
.grow-notification-item > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #1760dc; background: #eaf3ff; }
.grow-notification-item > span svg { width: 18px; height: 18px; }
.grow-notification-item strong { display: block; font-size: 14px; }
.grow-notification-item p { margin-top: 4px; color: #687e9f; font-size: 12px; line-height: 1.55; }
.grow-notification-item small { display: block; margin-top: 5px; color: #91a2bc; font-size: 11px; }
.grow-notification-item em { align-self: start; padding: 3px 7px; border-radius: 999px; color: #1760dc; background: #eaf3ff; font-size: 11px; font-style: normal; font-weight: 700; }
.grow-notification-item.is-read { opacity: 0.72; }
.grow-notification-item.is-reminder { border-color: #c9dcff; background: linear-gradient(90deg, #f4f8ff, #fff); }

@media (max-width: 1080px) {
  .grow-record-history > header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Role home workspaces: actions stay visible without turning the home into a dense admin table. */
.grow-role-stats .grow-role-stat-card {
  width: 100%;
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 18px;
  border: 1px solid #d9e7fa;
  border-radius: 10px;
  color: inherit;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 9px 24px rgba(35, 82, 153, 0.07);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.grow-role-stats .grow-role-stat-card:hover,
.grow-role-stats .grow-role-stat-card:focus-visible {
  transform: translateY(-2px);
  border-color: #8fb8f8;
  box-shadow: 0 14px 28px rgba(35, 82, 153, 0.12);
  outline: none;
}

.grow-role-stat-card > div { min-width: 0; flex: 1; }
.grow-role-stat-card > div > span { display: block; color: #687792; font-size: 11px; font-weight: 750; }
.grow-role-stat-card > div > strong { display: block; margin-top: 6px; color: #173260; font-size: 27px; line-height: 1; }
.grow-role-stat-card > div > p { margin: 7px 0 0; color: #8291a8; font-size: 10px; }
.grow-role-stat-card > i { width: 16px; height: 16px; color: #7f9bc4; }
.grow-role-stat-card > i svg { width: 16px; height: 16px; }

.grow-role-priority-panel {
  margin-top: 12px;
  border-color: #d8e6f8;
  box-shadow: 0 10px 28px rgba(35, 82, 153, 0.07);
}

.grow-role-priority-panel .grow-panel-head {
  padding-bottom: 14px;
  border-bottom: 1px solid #e7eef9;
}

.grow-role-queue-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.grow-role-queue-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  border: 1px solid #e0eaf7;
  border-radius: 8px;
  background: linear-gradient(90deg, #fbfdff, #ffffff);
}

.grow-role-queue-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #1769f7;
  background: linear-gradient(145deg, #e4efff, #f4f8ff);
}

.grow-role-queue-icon svg { width: 19px; height: 19px; }
.grow-role-queue-item > div { min-width: 0; }
.grow-role-queue-item small { display: block; overflow: hidden; color: #7890b1; font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.grow-role-queue-item strong { display: block; margin-top: 3px; overflow: hidden; color: #20385f; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.grow-role-queue-item p { margin: 4px 0 0; overflow: hidden; color: #7487a3; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.grow-role-queue-item .grow-btn { min-height: 34px; padding: 0 11px; font-size: 11px; white-space: nowrap; }

.grow-role-queue-empty {
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px dashed #c9dcf7;
  border-radius: 8px;
  color: #3269bc;
  background: #f8fbff;
}

.grow-role-queue-empty > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #168768; background: #e8f8f1; }
.grow-role-queue-empty > span svg { width: 18px; height: 18px; }
.grow-role-queue-empty strong { color: #284569; font-size: 13px; }
.grow-role-queue-empty p { margin: 4px 0 0; color: #72839d; font-size: 11px; line-height: 1.5; }

.grow-care-modal { width: min(620px, calc(100vw - 40px)); }
.grow-care-modal > header { display: flex; align-items: center; gap: 12px; padding-right: 38px; }
.grow-care-modal > header p { margin: 0; color: #6f83a1; font-size: 11px; font-weight: 750; }
.grow-care-modal > header h2 { margin: 4px 0 0; color: #17315d; font-size: 20px; }
.grow-care-message { margin: 20px 0; padding: 14px; border: 1px solid #dce8f8; border-radius: 8px; background: #f8fbff; }
.grow-care-message strong { color: #416391; font-size: 12px; }
.grow-care-message p { margin: 8px 0; color: #294362; font-size: 14px; line-height: 1.75; white-space: pre-wrap; }
.grow-care-message small { color: #8090a8; font-size: 11px; }
.grow-care-modal form { display: grid; gap: 8px; }
.grow-care-modal label { color: #38577f; font-size: 12px; font-weight: 750; }
.grow-care-modal select,
.grow-care-modal textarea { width: 100%; border: 1px solid #cfdcf0; border-radius: 8px; color: #2d456b; background: #fff; font: inherit; }
.grow-care-modal select { min-height: 42px; padding: 0 10px; }
.grow-care-modal textarea { min-height: 124px; padding: 11px; resize: vertical; }

@media (max-width: 760px) {
  .grow-role-queue-item { grid-template-columns: 34px minmax(0, 1fr); }
  .grow-role-queue-icon { width: 34px; height: 34px; }
  .grow-role-queue-item .grow-btn { grid-column: 2; justify-self: start; margin-top: 2px; }
  .grow-role-queue-item p { white-space: normal; }
}

/* Mixed-format handbook reading: text first, original pages as references. */
.grow-handbook-section-modal { width: min(1060px, calc(100vw - 48px)); padding: 24px; }
.grow-handbook-section-modal .grow-handbook-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }

.grow-handbook-card {
  position: relative;
  min-width: 0;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid #dce8f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(45, 78, 129, 0.05);
  transition: box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.grow-handbook-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: #397cf6; }
.grow-handbook-card--worksheet::before { background: #20a47a; }
.grow-handbook-card--case::before { background: #e49a2e; }
.grow-handbook-card--letter::before { background: #8069dc; }
.grow-handbook-card--image::before { background: #3b98d8; }
.grow-handbook-card:hover,
.grow-handbook-card:focus-visible { border-color: #8db5f7; background: #fbfdff; box-shadow: 0 5px 14px rgba(45, 97, 172, 0.1); outline: none; }
.grow-handbook-card:focus-visible { box-shadow: 0 0 0 3px rgba(45, 113, 244, 0.18), 0 5px 14px rgba(45, 97, 172, 0.1); }
.grow-handbook-card:active { background: #f8fbff; }
.grow-handbook-card .grow-handbook-card-copy { width: 100%; min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: stretch; padding: 15px 16px 13px 18px; text-align: left; }
.grow-handbook-card-kicker { display: flex; align-items: center; gap: 8px; color: #68809f; font-size: 11px; font-weight: 780; }
.grow-handbook-card-icon { width: 28px; height: 28px; display: grid; flex: 0 0 28px; place-items: center; border-radius: 7px; color: #216cf1; background: #edf4ff; }
.grow-handbook-card--worksheet .grow-handbook-card-icon { color: #168661; background: #eaf8f2; }
.grow-handbook-card--case .grow-handbook-card-icon { color: #b86d0d; background: #fff3e2; }
.grow-handbook-card--letter .grow-handbook-card-icon { color: #6e57c7; background: #f1eeff; }
.grow-handbook-card--image .grow-handbook-card-icon { color: #237bab; background: #eaf7fd; }
.grow-handbook-card-icon svg { width: 15px; height: 15px; }
.grow-handbook-card-body { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 12px; margin-top: 11px; }
.grow-handbook-card--has-thumbnail .grow-handbook-card-body { grid-template-columns: minmax(0, 1fr) 84px; }
.grow-handbook-card-text { min-width: 0; display: block; }
.grow-handbook-card-title { display: -webkit-box; overflow: hidden; color: #182d56; font-size: 16px; font-weight: 820; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.grow-handbook-card-summary { display: -webkit-box; min-height: 34px; margin-top: 5px; overflow: hidden; color: #617795; font-size: 11px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.grow-handbook-card-thumbnail { width: 84px; height: 72px; display: block; border: 1px solid #e1eaf7; border-radius: 7px; object-fit: contain; background: #f7faff; }
.grow-handbook-card-insight { display: -webkit-box; margin-top: 9px; overflow: hidden; padding: 7px 9px; border-radius: 6px; color: #4f6686; background: #f7f9fd; font-size: 10px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.grow-handbook-card-insight em { margin-right: 7px; color: #276ce3; font-style: normal; font-weight: 800; }
.grow-handbook-card--worksheet .grow-handbook-card-insight em { color: #168661; }
.grow-handbook-card--case .grow-handbook-card-insight em { color: #b86d0d; }
.grow-handbook-card--letter .grow-handbook-card-insight em { color: #6e57c7; }
.grow-handbook-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 11px; }
.grow-handbook-card-footer small { color: #8798b2; font-size: 10px; }
.grow-handbook-card .grow-read-link { display: inline-flex; align-items: center; gap: 3px; margin: 0; padding: 0; color: #1769f7; font-size: 11px; font-weight: 800; white-space: nowrap; }
.grow-handbook-card .grow-read-link svg { width: 13px; height: 13px; }

.grow-reader { width: min(980px, calc(100vw - 40px)); }
.grow-reader > header { max-width: 760px; margin: 24px auto 0; }
.grow-reader-body { max-width: 760px; margin: 22px auto 40px; }
.grow-handbook-reader-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid #dce9fb; border-radius: 10px; background: #f6faff; }
.grow-handbook-reader-intro p { margin: 0; color: #617795; font-size: 13px; line-height: 1.7; }
.grow-handbook-reader-type { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; color: #1769f7; font-size: 12px; font-weight: 800; }
.grow-handbook-reader-type svg { width: 17px; height: 17px; }
.grow-handbook-mixed-content { display: grid; gap: 18px; margin-top: 24px; }
.grow-reader-body > .grow-handbook-mixed-content:first-child { margin-top: 0; }
.grow-handbook-reader-lead { margin: 0; color: #334d75; font-size: 16px; line-height: 1.95; }
.grow-handbook-reader-quote { margin: 0; padding: 18px 20px; border-left: 4px solid #2a74f8; border-radius: 0 8px 8px 0; color: #1d437c; background: #eff6ff; font-size: 20px; font-weight: 800; line-height: 1.6; }
.grow-handbook-reader-points { padding: 18px 20px; border: 1px solid #e0eaf7; border-radius: 10px; background: #fff; }
.grow-handbook-reader-points h3 { margin: 0 0 12px; color: #213a63; font-size: 16px; }
.grow-handbook-reader-points ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.grow-handbook-reader-points li { position: relative; padding-left: 18px; color: #526b90; font-size: 14px; line-height: 1.72; }
.grow-handbook-reader-points li::before { content: ''; position: absolute; top: 9px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #2a74f8; }
.grow-handbook-reader-note { display: flex; align-items: flex-start; gap: 11px; padding: 14px 16px; border: 1px solid #f1dfba; border-radius: 10px; background: #fffaf0; }
.grow-handbook-reader-note > span { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 auto; color: #d9871e; }
.grow-handbook-reader-note > span svg { width: 18px; height: 18px; }
.grow-handbook-reader-note strong { color: #8a5a15; font-size: 13px; }
.grow-handbook-reader-note p { margin: 4px 0 0; color: #806c50; font-size: 13px; line-height: 1.65; }
.grow-handbook-original-pages { margin-top: 30px; border: 1px solid #dce8f6; border-radius: 10px; background: #fbfdff; }
.grow-handbook-original-pages > summary { display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; align-items: center; gap: 10px; padding: 16px 18px; color: #27466f; cursor: pointer; list-style: none; }
.grow-handbook-original-pages > summary::-webkit-details-marker { display: none; }
.grow-handbook-original-pages > summary > span:first-child { color: #2a74f8; }
.grow-handbook-original-pages > summary svg { width: 18px; height: 18px; }
.grow-handbook-original-pages > summary > svg { transition: transform 160ms ease; }
.grow-handbook-original-pages[open] > summary > svg { transform: rotate(90deg); }
.grow-handbook-original-pages strong, .grow-handbook-original-pages small { display: block; }
.grow-handbook-original-pages strong { font-size: 14px; }
.grow-handbook-original-pages small { margin-top: 3px; color: #8192aa; font-size: 11px; }
.grow-handbook-original-pages > p { margin: 0; padding: 0 18px 15px; color: #72839d; font-size: 12px; line-height: 1.65; }
.grow-handbook-original-pages .grow-source-gallery { padding: 0 18px 18px; }
.grow-source-gallery--reference .grow-source-page img { aspect-ratio: 1.464 / 1; object-fit: contain; padding: 6px; background: #f4f7fb; }
.grow-source-gallery--inline { grid-template-columns: 1fr; margin-top: 24px; }
.grow-source-gallery--inline .grow-source-page { box-shadow: none; }
.grow-source-gallery--inline .grow-source-page img { aspect-ratio: auto; object-fit: contain; background: #f7f9fc; }

.grow-handbook-documents { margin-top: 30px; padding-top: 22px; border-top: 1px solid #e2eaf5; }
.grow-handbook-documents > header > div { display: flex; align-items: center; gap: 10px; }
.grow-handbook-documents > header > div > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; color: #216df2; background: #edf4ff; }
.grow-handbook-documents > header svg { width: 17px; height: 17px; }
.grow-handbook-documents strong, .grow-handbook-documents small { display: block; }
.grow-handbook-documents > header strong { color: #203a63; font-size: 14px; }
.grow-handbook-documents > header small { margin-top: 3px; color: #8494aa; font-size: 11px; }
.grow-handbook-document-list { display: grid; gap: 8px; margin-top: 13px; }
.grow-handbook-document { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 10px 13px; border: 1px solid #dfe8f4; border-radius: 8px; color: inherit; background: #fff; text-align: left; cursor: pointer; transition: border-color 160ms ease, background 160ms ease; }
.grow-handbook-document:hover { border-color: #a9c8fb; background: #f8fbff; }
.grow-handbook-document-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 7px; color: #246df0; background: #eef4ff; }
.grow-handbook-document-icon.is-pdf { color: #d64d54; background: #fff0f1; }
.grow-handbook-document-icon.is-pptx { color: #d87928; background: #fff5e9; }
.grow-handbook-document-icon svg { width: 20px; height: 20px; }
.grow-handbook-document > span:nth-child(2) { min-width: 0; }
.grow-handbook-document > span:nth-child(2) strong { overflow: hidden; color: #233d65; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.grow-handbook-document > span:nth-child(2) small { margin-top: 4px; color: #8495ad; font-size: 10px; }
.grow-handbook-document > em { display: inline-flex; align-items: center; gap: 3px; color: #1769f7; font-size: 11px; font-style: normal; font-weight: 800; white-space: nowrap; }
.grow-handbook-document > em svg { width: 13px; height: 13px; }

.grow-document-preview { display: flex; flex-direction: column; width: min(1180px, calc(100vw - 32px)); height: min(880px, calc(100dvh - 32px)); padding: 0; overflow: hidden; }
.grow-document-preview-head { flex: 0 0 auto; margin: 0; padding: 16px 20px; border-bottom: 1px solid #e0e8f3; }
.grow-document-preview-head h2 { max-width: 680px; margin: 5px 0 0; overflow: hidden; color: #1d355b; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.grow-document-preview-head > div:last-child { display: flex; gap: 8px; }
.grow-pdf-preview { width: 100%; min-height: 0; flex: 1; border: 0; background: #eef2f7; }
.grow-document-loading, .grow-document-error { display: grid; place-content: center; justify-items: center; gap: 10px; min-height: 0; flex: 1; padding: 30px; color: #70829d; text-align: center; }
.grow-document-loading svg { width: 24px; height: 24px; color: #2670ef; }
.grow-document-error strong { color: #213b64; font-size: 17px; }
.grow-document-error p { margin: 0; font-size: 13px; }
.grow-office-preview { min-height: 0; flex: 1; overflow-y: auto; background: #f1f4f8; }
.grow-word-preview { width: 100%; max-width: none; padding: 40px max(24px, calc((100% - 780px) / 2)); }
.grow-word-preview p, .grow-word-preview img { box-sizing: border-box; width: 100%; max-width: 780px; margin-right: auto; margin-left: auto; background: #fff; }
.grow-word-preview p { margin-top: 0; margin-bottom: 0; padding: 0 54px 16px; color: #293d5c; font-size: 15px; line-height: 1.9; }
.grow-word-preview p:first-child { padding-top: 54px; }
.grow-word-preview p:last-of-type { padding-bottom: 54px; box-shadow: 0 7px 24px rgba(46, 67, 101, .09); }
.grow-word-preview img { display: block; height: auto; padding: 18px; object-fit: contain; }
.grow-ppt-preview { display: grid; gap: 22px; padding: 28px; }
.grow-ppt-slide { width: min(900px, 100%); min-height: 420px; margin: 0 auto; padding: 34px 42px; border: 1px solid #dce5f1; border-radius: 6px; background: #fff; box-shadow: 0 7px 24px rgba(46, 67, 101, .09); }
.grow-ppt-slide > header { display: flex; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid #eaf1fb; }
.grow-ppt-slide > header span { color: #2670ef; font-size: 12px; font-weight: 800; }
.grow-ppt-slide > header strong { color: #17345f; font-size: 23px; }
.grow-ppt-slide > img { display: block; width: 100%; max-height: 430px; margin: 22px auto; object-fit: contain; }
.grow-ppt-slide > div { display: grid; gap: 10px; margin-top: 20px; }
.grow-ppt-slide p { margin: 0; color: #435b7e; font-size: 15px; line-height: 1.75; }

@media (max-width: 760px) {
  .grow-handbook-section-modal { width: calc(100vw - 24px); padding: 18px; }
  .grow-handbook-section-modal .grow-handbook-grid { grid-template-columns: 1fr; }
  .grow-handbook-card { min-height: 202px; }
  .grow-handbook-card--has-thumbnail .grow-handbook-card-body { grid-template-columns: minmax(0, 1fr) 76px; }
  .grow-handbook-card-thumbnail { width: 76px; height: 66px; }
  .grow-handbook-reader-intro { flex-direction: column; }
  .grow-handbook-reader-quote { font-size: 18px; }
  .grow-handbook-document { grid-template-columns: 38px minmax(0, 1fr); }
  .grow-handbook-document-icon { width: 38px; height: 38px; }
  .grow-handbook-document > em { grid-column: 2; }
  .grow-document-preview { width: 100%; height: calc(100dvh - 20px); }
  .grow-document-preview-head { align-items: flex-start; padding: 12px 14px; }
  .grow-document-preview-head h2 { max-width: 58vw; font-size: 14px; }
  .grow-document-preview-head > div:last-child .grow-btn:first-child { display: none; }
  .grow-word-preview { padding: 14px; }
  .grow-word-preview p { padding-right: 20px; padding-left: 20px; font-size: 13px; }
  .grow-word-preview p:first-child { padding-top: 28px; }
  .grow-word-preview p:last-of-type { padding-bottom: 28px; }
  .grow-ppt-preview { gap: 14px; padding: 12px; }
  .grow-ppt-slide { min-height: 260px; padding: 20px; }
  .grow-ppt-slide > header strong { font-size: 18px; }
}

/* Final mobile layout: compact, touch-friendly and free of horizontal clipping. */
@media (max-width: 760px) {
  .grow-shell {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .grow-topbar,
  .grow-main,
  .grow-view,
  .grow-map-v2,
  .grow-map-hero,
  .grow-map-overview {
    min-width: 0;
    max-width: 100%;
  }

  .grow-topbar {
    width: 100%;
    min-height: 56px;
    padding: 0 12px;
  }

  .grow-main {
    width: 100%;
    margin: 12px 0 20px;
    padding: 0 12px;
    overflow-x: clip;
  }

  .grow-bottom-nav {
    bottom: max(8px, env(safe-area-inset-bottom));
    width: calc(100vw - 16px);
    padding: 6px;
    border-radius: 18px;
  }

  .grow-nav-btn {
    min-height: 48px;
    padding: 3px 1px;
    border-radius: 13px;
    font-size: 10px;
  }

  .grow-nav-btn span,
  .grow-nav-btn span svg {
    width: 18px;
    height: 18px;
  }

  .grow-map-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 18px;
    border-radius: 12px;
  }

  .grow-map-kicker {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .grow-map-hero h1 {
    font-size: 29px;
    line-height: 1.18;
  }

  .grow-map-hero p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.65;
  }

  .grow-map-meta {
    gap: 6px;
    margin-top: 14px;
  }

  .grow-map-meta span {
    padding: 5px 8px;
    font-size: 10px;
  }

  .grow-map-score {
    padding: 14px 16px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .grow-map-compass {
    width: 46px;
    height: 46px;
  }

  .grow-map-score strong {
    font-size: 34px;
  }

  .grow-map-score span {
    margin-top: 6px;
    font-size: 11px;
  }

  .grow-map-overview {
    margin-top: 12px;
    padding: 18px 14px 20px;
    border-radius: 12px;
    background-position: center top;
  }

  .grow-map-overview > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .grow-map-overview header h2 {
    font-size: 19px;
    line-height: 1.3;
  }

  .grow-map-overview header p {
    font-size: 11px;
    line-height: 1.55;
  }

  .grow-map-route {
    width: 100%;
    height: auto;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 4px;
    margin-top: 24px;
    padding: 0;
    pointer-events: auto;
  }

  .grow-map-route::before {
    display: none;
  }

  .grow-map-route-node {
    width: 44px;
    height: 44px;
    border-width: 4px;
    font-size: 12px;
  }

  .grow-map-route-stop.is-current .grow-map-route-node {
    box-shadow: 0 0 0 5px rgba(36, 107, 254, .12), 0 8px 18px rgba(36, 107, 254, .22);
  }

  .grow-map-route-label {
    gap: 2px;
    margin-top: 8px;
  }

  .grow-map-route-label small,
  .grow-map-route-label em {
    font-size: 9px;
    line-height: 1.3;
  }

  .grow-map-route-label strong {
    font-size: 10px;
    line-height: 1.35;
  }

  .grow-map-route-label em {
    display: none;
  }

  .grow-map-stage-panels {
    gap: 10px;
    margin-top: 20px;
  }

  .grow-map-stage-panel {
    padding: 14px;
    border-radius: 10px;
  }

  .grow-map-stage-panel .grow-map-current-head {
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 11px;
  }

  .grow-map-stage-panel .grow-map-current-head h2 {
    font-size: 17px;
  }

  .grow-map-stage-panel .grow-map-current-head p {
    font-size: 11px;
    line-height: 1.55;
  }

  .grow-map-stage-panel .grow-map-current-count {
    flex: 0 0 auto;
    padding: 6px 8px;
  }

  .grow-map-stage-panel .grow-map-current-count strong {
    font-size: 17px;
  }

  .grow-map-stage-hint {
    min-height: 0;
    margin: 10px 0;
  }

  .grow-map-stage-panel .grow-map-task-row {
    min-height: 72px;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    grid-template-areas:
      "order copy copy"
      ". owner status";
    gap: 6px 8px;
    padding: 10px;
  }

  .grow-map-task-order { grid-area: order; width: 26px; height: 26px; }
  .grow-map-task-copy { grid-area: copy; }
  .grow-map-task-owner { grid-area: owner; justify-self: start; }
  .grow-map-task-status { grid-area: status; justify-self: end; }
  .grow-map-task-arrow { display: none; }

  .grow-map-stage-panel .grow-map-task-copy strong {
    font-size: 12px;
    line-height: 1.4;
  }

  .grow-map-stage-panel .grow-map-task-copy small {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.4;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .grow-map-stage-panel .grow-map-task-owner,
  .grow-map-stage-panel .grow-map-task-status {
    font-size: 9px;
  }

  .grow-modal {
    padding: 10px;
  }

  .grow-modal.is-open {
    place-items: end center;
  }

  .grow-modal-card,
  .grow-map-task-modal,
  .grow-reader,
  .grow-care-modal,
  .grow-handbook-section-modal {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 18px;
    border-radius: 16px 16px 10px 10px;
  }

  .grow-modal-close {
    width: 40px;
    height: 40px;
  }

  .grow-map-task-modal-head {
    padding-top: 3px;
    padding-right: 34px;
    padding-bottom: 14px;
  }

  .grow-map-task-modal-head h2 {
    margin: 5px 0 10px;
    font-size: 21px;
    line-height: 1.3;
  }

  .grow-map-task-modal section {
    margin-top: 14px;
  }

  .grow-map-task-modal section p {
    font-size: 13px;
  }

  .grow-map-material-upload {
    margin-top: 14px;
    padding: 11px;
  }

  .grow-map-material-upload label {
    align-items: flex-start;
  }

  .grow-map-material-upload input {
    max-width: 100%;
    font-size: 10px;
  }

  .grow-map-material-upload input::file-selector-button {
    min-height: 34px;
    margin-right: 8px;
    padding: 0 10px;
    border: 1px solid #c8d8ee;
    border-radius: 6px;
    color: #2c5eaa;
    background: #fff;
    font: inherit;
    font-weight: 750;
  }

  .grow-map-template-download {
    grid-template-columns: 20px minmax(0, 1fr) 18px !important;
  }

  .grow-map-template-download span {
    grid-column: 2;
    text-align: left;
  }

  .grow-map-template-download > svg:last-child {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .grow-map-text-material-editor {
    padding: 11px;
  }

  .grow-map-text-material-editor label {
    display: grid;
    gap: 3px;
  }

  .grow-map-text-material-editor textarea {
    min-height: 132px;
    font-size: 13px;
  }

  #map-task-submit-form textarea {
    min-height: 92px;
  }

  #map-task-submit-form .grow-btn,
  .grow-map-task-modal .grow-modal-actions .grow-btn {
    width: 100%;
    max-width: none;
  }

  .grow-map-task-modal .grow-modal-actions {
    position: sticky;
    bottom: -18px;
    margin: 14px -18px -18px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid #e5ebf4;
  }

  .grow-reader > header,
  .grow-reader-body {
    max-width: none;
    margin-top: 14px;
  }

  .grow-reader h2 {
    font-size: 24px;
  }

  .grow-reader p,
  .grow-handbook-reader-lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .grow-admin-layout {
    width: 100%;
    margin: 12px 0 28px;
    padding: 0 10px;
  }

  .grow-admin-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .grow-admin-tab {
    min-width: 124px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .grow-map-drawer,
  .grow-admin-wide-drawer {
    width: 100vw;
    max-width: 100vw;
    border-left: 0;
  }

  .grow-map-drawer-body,
  .grow-admin-wide-drawer {
    padding: 14px;
  }

  .grow-map-quick-grid {
    grid-template-columns: 1fr;
  }

  .grow-map-drawer-actions {
    bottom: -14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 8px -14px -14px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  .grow-map-drawer-actions .grow-btn,
  .grow-map-drawer-actions .grow-btn-danger-ghost {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 390px) {
  .grow-map-hero h1 { font-size: 27px; }
  .grow-map-overview { padding-inline: 12px; }
  .grow-map-route { gap-inline: 2px; }
  .grow-map-route-node { width: 42px; height: 42px; }
  .grow-map-route-label strong { font-size: 9px; }
}

@media (max-width: 760px) {
  .grow-handbook-catalog {
    border-radius: 12px;
  }

  .grow-handbook-catalog-hero {
    min-height: 0;
    padding: 26px 18px 18px;
  }

  .grow-handbook-catalog-copy {
    max-width: none;
  }

  .grow-handbook-catalog-copy h1 {
    max-width: 190px;
    font-size: 29px;
  }

  .grow-handbook-catalog-copy > p {
    max-width: 230px;
    margin: 10px 0 18px;
    font-size: 13px;
    line-height: 1.65;
  }

  .grow-handbook-catalog-copy nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .grow-handbook-catalog-copy nav button {
    min-width: 0;
    padding: 0 8px;
    font-size: 11px;
  }

  .grow-handbook-catalog-visual {
    right: -42px;
    top: 8px;
    width: 220px;
    height: 190px;
    opacity: .82;
    object-position: 58% center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 88%, transparent 100%);
  }

  .grow-handbook-tools {
    position: relative;
    inset: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
  }

  .grow-handbook-search {
    width: 100%;
    min-height: 44px;
  }

  .grow-handbook-topics {
    gap: 6px;
  }

  .grow-handbook-topics > span {
    width: 100%;
    font-size: 10px;
  }

  .grow-handbook-topics button {
    padding: 0 10px;
    font-size: 10px;
  }

  .grow-handbook-directory-row {
    min-height: 0;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    align-items: start;
  }

  .grow-handbook-row-cover {
    height: 100px;
    border-radius: 8px;
  }

  .grow-handbook-row-content > header {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 7px;
  }

  .grow-handbook-row-icon svg {
    width: 18px;
    height: 18px;
  }

  .grow-handbook-row-content header > div {
    min-width: 0;
    display: block;
  }

  .grow-handbook-row-content h2 {
    overflow-wrap: anywhere;
    font-size: 15px;
    line-height: 1.4;
  }

  .grow-handbook-row-content header em {
    display: inline-block;
    margin-top: 5px;
    padding: 3px 6px;
    font-size: 8px;
  }

  .grow-handbook-row-content header > strong {
    display: none;
  }

  .grow-handbook-row-content > p {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.55;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .grow-handbook-row-meta {
    margin: 9px 0 0;
    padding-top: 8px;
    flex-wrap: wrap;
    gap: 5px 10px;
  }

  .grow-handbook-row-meta span {
    gap: 4px;
    font-size: 9px;
  }

  .grow-handbook-row-meta svg {
    width: 12px;
    height: 12px;
  }

  .grow-handbook-row-action {
    grid-column: 2;
    justify-self: start;
    margin-top: -2px;
    font-size: 11px;
  }

  .grow-handbook-row-action svg {
    width: 14px;
    height: 14px;
  }

  .grow-handbook-update {
    margin: 12px;
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .grow-handbook-update button {
    justify-self: start;
  }
}

@media (max-width: 390px) {
  .grow-handbook-directory-row {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .grow-handbook-row-cover { height: 94px; }
}

@media (max-width: 760px) {
  .saas-admin-shell {
    display: block;
    min-width: 0;
  }

  .saas-admin-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid #dfe6f0;
  }

  .saas-admin-brand {
    min-height: 40px;
    padding: 0 4px;
  }

  .saas-admin-brand .grow-brand-mark {
    width: 32px;
    height: 32px;
  }

  .saas-admin-brand span,
  .saas-admin-account span {
    display: none;
  }

  .saas-admin-org,
  .saas-admin-org-static {
    grid-column: 1 / -1;
    margin: 0;
    padding: 8px 10px;
  }

  .saas-admin-org label,
  .saas-admin-org-static span {
    margin-bottom: 2px;
    font-size: 8px;
  }

  .saas-admin-nav {
    grid-column: 1 / -1;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 0 5px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .saas-admin-nav::-webkit-scrollbar {
    display: none;
  }

  .saas-admin-nav-item {
    min-width: 104px;
    min-height: 44px;
    flex: 0 0 auto;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 5px;
    padding: 5px 7px;
    scroll-snap-align: start;
  }

  .saas-admin-nav-item > span {
    width: 24px;
    height: 24px;
  }

  .saas-admin-nav-item svg {
    width: 15px;
    height: 15px;
  }

  .saas-admin-nav-item strong {
    font-size: 11px;
  }

  .saas-admin-nav-item small {
    display: none;
  }

  .saas-admin-account {
    min-width: 104px;
    margin: 0;
    padding: 0;
    border: 0;
    grid-template-columns: 30px minmax(0, 1fr) 28px;
  }

  .saas-admin-avatar {
    width: 30px;
    height: 30px;
  }

  .saas-admin-workspace,
  .saas-admin-content,
  .saas-dashboard,
  .grow-map-workbench,
  .grow-map-workspace,
  .grow-map-task-workspace {
    min-width: 0;
    max-width: 100%;
  }

  .saas-admin-header {
    min-height: 62px;
    align-items: flex-start;
    padding: 10px 12px;
  }

  .saas-admin-header h1 {
    font-size: 16px;
  }

  .saas-admin-header-actions {
    justify-content: flex-end;
    gap: 6px;
  }

  .saas-admin-scope {
    display: none;
  }

  .saas-admin-header-actions .grow-btn {
    min-height: 36px;
    max-width: 116px;
    padding: 0 10px;
    font-size: 10px;
  }

  .saas-admin-content {
    width: 100%;
    margin: 10px 0 24px;
    padding: 0 10px;
  }

  .saas-dashboard-intro {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 13px;
  }

  .saas-dashboard-intro .grow-btn {
    width: 100%;
    max-width: none;
  }

  .saas-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .saas-metric {
    min-height: 96px;
    padding: 12px;
  }

  .saas-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .saas-surface {
    padding: 13px;
  }

  .saas-admin-permission-list > form {
    grid-template-columns: 1fr 1fr;
    padding: 13px;
  }

  .saas-admin-permission-person {
    grid-column: 1 / -1;
  }

  .saas-admin-permission-list > form > button,
  .saas-admin-permission-list > form > em,
  .saas-admin-permission-actions {
    grid-column: 1 / -1;
  }

  .saas-admin-permission-actions .grow-btn {
    flex: 1;
  }

  .saas-page-toolbar,
  .saas-user-import > header,
  .saas-user-import > footer,
  .saas-import-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .saas-page-toolbar > *,
  .saas-import-actions .grow-btn,
  .saas-user-import > footer .grow-btn {
    width: 100%;
    max-width: none;
  }

  .saas-people-table,
  .saas-import-preview-table {
    overflow-x: auto;
  }

  .saas-people-head,
  .saas-people-row,
  .saas-import-preview-table > div {
    min-width: 760px;
  }

  .saas-mentor-picker {
    grid-template-columns: 1fr;
  }

  .saas-bulk-bar,
  .saas-bulk-bar > div,
  .saas-bulk-bar > label {
    align-items: stretch;
  }

  .saas-bulk-bar > div,
  .saas-bulk-bar > label {
    flex-direction: column;
  }

  .saas-bulk-bar select,
  .saas-bulk-bar .grow-btn {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .grow-map-commandbar,
  .grow-map-batchbar,
  .grow-map-stage-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .grow-map-commandbar {
    gap: 12px;
    padding: 14px;
  }

  .grow-map-commandbar-actions,
  .grow-map-batchbar > div:last-child,
  .grow-map-stage-summary > div:last-child {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grow-map-commandbar-actions .grow-btn,
  .grow-map-batchbar a,
  .grow-map-batchbar button,
  .grow-map-batchbar label,
  .grow-map-stage-summary .grow-btn {
    width: 100%;
    max-width: none;
    justify-content: center;
  }

  .grow-map-batchbar {
    padding: 10px 14px;
  }

  .grow-map-workspace {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .grow-map-stage-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid #e5ebf3;
    scroll-snap-type: x proximity;
  }

  .grow-map-stage-nav > header {
    min-width: 76px;
    height: 48px;
    flex-direction: column;
    justify-content: center;
  }

  .grow-map-stage-nav > button {
    min-width: 138px;
    width: auto;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .grow-map-stage-nav > button + button {
    margin-top: 0;
  }

  .grow-map-task-workspace {
    padding: 14px;
  }

  .grow-map-stage-summary {
    gap: 10px;
  }

  .grow-map-stage-summary p {
    white-space: normal;
  }

  .grow-map-task-table-head {
    display: none;
  }

  .grow-map-task-line {
    min-height: 72px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    padding: 10px;
  }

  .grow-map-task-line > span:nth-child(2),
  .grow-map-task-line > span:nth-child(3) {
    grid-column: 1;
    margin-left: 34px;
  }

  .grow-map-task-line-arrow {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
  }

  .grow-map-operations > .grow-map-execution {
    padding: 12px;
    overflow-x: auto;
  }

  .grow-map-execution-row,
  .grow-map-review-form,
  .grow-map-retained-materials {
    min-width: 680px;
  }

  .saas-person-drawer {
    width: 100vw;
    padding: 14px;
    border-left: 0;
  }
}

/* Growth task publishing workspace */
.grow-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.grow-task-publish > header {
  min-height: 76px;
  padding: 16px 22px;
  background: #f8fafd;
}

.grow-task-publish-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 0;
  padding: 0;
}

.grow-task-publish-main {
  min-width: 0;
  padding: 4px 22px 20px;
  border-right: 1px solid #e4eaf2;
}

.grow-task-compose-block {
  padding: 18px 0;
  border-bottom: 1px solid #e8edf4;
}

.grow-task-compose-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 14px;
}

.grow-task-compose-head > span {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 5px;
  background: #eaf2ff;
  color: #1763db;
  font-size: 11px;
  font-weight: 900;
}

.grow-task-compose-head h3 {
  margin: 1px 0 2px;
  color: #1a345e;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0;
}

.grow-task-compose-head p {
  margin: 0;
  color: #8593a8;
  font-size: 11px;
  line-height: 1.5;
}

.grow-task-type-selector {
  grid-column: auto;
  gap: 8px;
}

.grow-task-type-selector label > span {
  min-height: 66px;
  padding: 11px 13px;
  border-color: #dce4ef;
  background: #fff;
}

.grow-task-type-selector label.is-active > span {
  border-color: #7ba5f7;
  background: #f2f6ff;
  box-shadow: inset 3px 0 var(--grow-primary);
}

.grow-task-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.grow-task-core-grid .grow-task-field.is-title {
  grid-column: 1 / -1;
}

.grow-task-due-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: -1px;
}

.grow-task-core-grid .grow-task-field > label {
  color: #405575;
  font-size: 12px;
  font-weight: 700;
}

.grow-task-due-presets button,
.grow-task-recipient-tools button {
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid #dce5f1;
  border-radius: 4px;
  background: #fff;
  color: #607493;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.grow-task-due-presets button:hover,
.grow-task-recipient-tools button:hover,
.grow-task-due-presets button.is-active {
  border-color: #9bbbf1;
  background: #edf4ff;
  color: #1763db;
}

.grow-task-recipient-picker {
  margin-top: 14px;
  padding: 12px 14px 14px;
  border-color: #dce4ef;
  background: #fafbfd;
}

.grow-task-recipient-picker legend {
  display: flex;
  width: calc(100% - 8px);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.grow-task-recipient-picker legend span {
  color: #364c70;
  font-style: normal;
}

.grow-task-recipient-picker legend em {
  color: #1763db;
  font-size: 11px;
  font-style: normal;
}

.grow-task-recipient-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 10px;
}

.grow-task-recipient-tools > label {
  display: flex;
  min-height: 34px;
  flex: 1;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid #dce4ef;
  border-radius: 5px;
  background: #fff;
  cursor: text;
}

.grow-task-recipient-tools svg {
  width: 15px;
  height: 15px;
  color: #8292aa;
}

.grow-task-recipient-tools input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #294267;
  background: transparent;
  font: inherit;
  font-size: 12px;
}

.grow-task-recipient-tools > span {
  display: flex;
  gap: 5px;
}

.grow-task-recipient-list {
  display: grid;
  max-height: 176px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  overflow: auto;
  overscroll-behavior: contain;
}

.grow-task-recipient-list > label {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid #e2e9f3;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.grow-task-recipient-list > label:has(input:checked) {
  border-color: #8fb2ef;
  background: #f1f6ff;
}

.grow-task-recipient-list > label[hidden] {
  display: none;
}

.grow-task-recipient-list label span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.grow-task-recipient-list label strong,
.grow-task-recipient-list label small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grow-task-recipient-list label strong {
  color: #20365d;
  font-size: 12px;
}

.grow-task-recipient-list label small {
  color: #8291a8;
  font-size: 10px;
}

.grow-question-import {
  margin-top: 18px;
  padding: 18px;
  border-color: #d9e3f0;
  background: #f8fafc;
}

.grow-question-import .grow-task-compose-head {
  justify-content: flex-start;
  margin-bottom: 14px;
}

.grow-question-import-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.grow-question-import-actions .grow-question-import-action {
  display: grid;
  position: relative;
  min-height: 78px;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid #dce4ef;
  border-radius: 6px;
  background: #fff;
  color: #36577f;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.grow-question-import-actions button.grow-question-import-action {
  width: 100%;
  color: #36577f;
  font: inherit;
  text-align: left;
}

.grow-question-import-actions .grow-question-import-action:hover {
  border-color: #9ebbed;
  background: #f8fbff;
  box-shadow: 0 6px 16px rgba(44, 83, 145, 0.08);
}

.grow-question-import-action > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  background: #eaf2ff;
  color: #1763db;
}

.grow-question-import-action > span svg {
  width: 19px;
  height: 19px;
}

.grow-question-import-action > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.grow-question-import-action small,
.grow-question-import-action em {
  color: #8493aa;
  font-size: 10px;
  font-style: normal;
}

.grow-question-import-action strong {
  margin: 1px 0;
  color: #25446e;
  font-size: 13px;
}

.grow-question-import-action > svg {
  width: 16px;
  height: 16px;
  color: #8aa0bf;
}

.grow-question-import-actions .grow-question-import-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.grow-question-import-result {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f1;
  border-radius: 5px;
  background: #fff;
}

.grow-question-import-result .grow-question-import-success {
  padding: 0;
  border: 0;
  background: transparent;
}

.grow-manual-question-editor[hidden],
.grow-manual-question-editor [hidden] {
  display: none !important;
}

.grow-manual-question-editor {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #bcd0f2;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(44, 83, 145, 0.08);
}

.grow-manual-question-editor > header,
.grow-manual-question-editor > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.grow-manual-question-editor > header {
  padding-bottom: 13px;
  border-bottom: 1px solid #e6ebf2;
}

.grow-manual-question-editor > header strong {
  color: #1c3965;
  font-size: 14px;
}

.grow-manual-question-editor > header p {
  margin: 2px 0 0;
  color: #8190a7;
  font-size: 11px;
}

.grow-manual-question-editor > header button {
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 4px;
  background: #f0f4fa;
  color: #637794;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.grow-manual-question-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(230px, 1.3fr);
  gap: 13px;
  padding: 15px 0;
}

.grow-manual-question-grid .is-wide {
  grid-column: 1 / -1;
}

.grow-manual-question-grid .grow-task-field > small {
  margin-top: -3px;
  color: #8997aa;
  font-size: 10px;
}

.grow-manual-question-required {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  align-self: end;
  padding: 7px 10px;
  border: 1px solid #dce4ef;
  border-radius: 6px;
  background: #f8fafc;
  cursor: pointer;
}

.grow-manual-question-required > span {
  display: flex;
  flex-direction: column;
}

.grow-manual-question-required strong {
  color: #344d72;
  font-size: 12px;
}

.grow-manual-question-required small {
  color: #8997aa;
  font-size: 10px;
}

.grow-manual-question-editor > footer {
  padding-top: 13px;
  border-top: 1px solid #e6ebf2;
}

.grow-manual-question-editor > footer .grow-status {
  min-height: 0;
  margin-right: auto;
}

.grow-manual-question-editor > footer .grow-btn {
  min-width: 174px;
}

.grow-question-bank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 7px;
}

.grow-question-bank-head strong {
  color: #304a71;
  font-size: 12px;
}

.grow-question-bank-head span {
  color: #8795aa;
  font-size: 10px;
}

.grow-question-import-preview.grow-question-bank {
  max-height: 410px;
  overflow: auto;
  overscroll-behavior: contain;
}

.grow-question-import-preview.grow-question-bank li {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 10px;
}

.grow-question-bank-order {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 5px;
  background: #edf3fb;
  color: #54729e !important;
  font-size: 10px !important;
}

.grow-question-bank li > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.grow-question-bank li small {
  color: #7588a5;
  font-size: 9px;
}

.grow-question-bank li strong {
  margin-top: 2px;
  color: #304a71;
  font-size: 12px;
}

.grow-question-bank-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.grow-question-bank-actions button {
  display: inline-grid;
  min-width: 34px;
  min-height: 30px;
  padding: 0 8px;
  place-items: center;
  border: 1px solid #dce4ef;
  border-radius: 4px;
  background: #fff;
  color: #4f6990;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.grow-question-bank-actions button:hover {
  border-color: #9ebbed;
  background: #f3f7fd;
  color: #1763db;
}

.grow-question-bank-actions button.is-danger {
  min-width: 30px;
  padding: 0;
  color: #b23c4f;
}

.grow-question-bank-actions svg {
  width: 14px;
  height: 14px;
}

.grow-task-options {
  margin-top: 18px;
  border: 1px solid #dfe6ef;
  border-radius: 6px;
  background: #fff;
}

.grow-task-options summary {
  min-height: 54px;
  gap: 10px;
  padding: 0 14px;
}

.grow-task-options summary > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.grow-task-options summary strong {
  color: #344d72;
  font-size: 12px;
}

.grow-task-options summary small {
  color: #8997ab;
  font-size: 10px;
  font-weight: 500;
}

.grow-task-options summary > svg {
  transition: transform 160ms ease;
}

.grow-task-options[open] summary > svg {
  transform: rotate(90deg);
}

.grow-task-options-icon {
  display: grid !important;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 5px;
  background: #edf3fb;
  color: #56749f !important;
}

.grow-task-options-icon svg {
  width: 15px;
  height: 15px;
}

.grow-task-options > div {
  margin: 0 14px;
  padding: 14px 0;
  border-top: 1px solid #e8edf4;
}

.grow-task-publish-summary {
  position: sticky;
  top: 82px;
  align-self: start;
  min-width: 0;
  padding: 20px;
  background: #fbfcfe;
}

.grow-task-publish-summary > header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4eaf2;
}

.grow-task-publish-summary > header > span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: #eaf2ff;
  color: #1763db;
}

.grow-task-publish-summary > header svg {
  width: 17px;
  height: 17px;
}

.grow-task-publish-summary h3 {
  margin: 0;
  color: #1a345e;
  font-size: 14px;
  letter-spacing: 0;
}

.grow-task-publish-summary header p {
  margin: 2px 0 0;
  color: #8997aa;
  font-size: 10px;
}

.grow-task-publish-summary dl {
  display: grid;
  gap: 0;
  margin: 14px 0;
}

.grow-task-publish-summary dl > div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 9px;
  padding: 8px 0;
}

.grow-task-publish-summary dt,
.grow-task-publish-summary dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

.grow-task-publish-summary dt {
  color: #8a98ad;
}

.grow-task-publish-summary dd {
  overflow-wrap: anywhere;
  color: #304a71;
  font-weight: 700;
  text-align: right;
}

.grow-task-publish-readiness {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid #ead6aa;
  border-radius: 6px;
  background: #fff9ed;
}

.grow-task-publish-readiness > span {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #f5e2bb;
  color: #966710;
}

.grow-task-publish-readiness svg {
  width: 14px;
  height: 14px;
}

.grow-task-publish-readiness strong {
  color: #765616;
  font-size: 11px;
}

.grow-task-publish-readiness p {
  margin: 2px 0 0;
  color: #9a7838;
  font-size: 10px;
}

.grow-task-publish-readiness.is-ready {
  border-color: #bfe4d6;
  background: #effaf6;
}

.grow-task-publish-readiness.is-ready > span {
  background: #d5f2e7;
  color: #087b56;
}

.grow-task-publish-readiness.is-ready strong {
  color: #176a53;
}

.grow-task-publish-readiness.is-ready p {
  color: #5f887a;
}

.grow-task-publish-summary > .grow-status {
  min-height: 18px;
  margin: 10px 0 0;
  font-size: 11px;
}

.grow-task-publish-summary > .grow-btn {
  width: 100%;
  min-height: 42px;
  margin-top: 6px;
}

.grow-task-publish-summary > small {
  display: block;
  margin-top: 9px;
  color: #8997aa;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 1100px) {
  .grow-task-publish-form {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .grow-task-recipient-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grow-question-import-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .grow-task-publish-form {
    grid-template-columns: 1fr;
  }

  .grow-task-publish-main {
    border-right: 0;
  }

  .grow-task-publish-summary {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 0 20px;
    padding: 18px 22px;
    border-top: 1px solid #e4eaf2;
  }

  .grow-task-publish-summary > header,
  .grow-task-publish-summary dl {
    grid-column: 1;
  }

  .grow-task-publish-summary dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grow-task-publish-summary dl > div {
    padding-right: 18px;
  }

  .grow-task-publish-readiness,
  .grow-task-publish-summary > .grow-status,
  .grow-task-publish-summary > .grow-btn,
  .grow-task-publish-summary > small {
    grid-column: 2;
  }

  .grow-task-publish-readiness {
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 2px;
  }
}

@media (max-width: 720px) {
  .grow-task-publish {
    padding: 0;
  }

  .grow-task-publish > header {
    padding: 16px;
  }

  .grow-task-publish-main {
    padding: 2px 16px 16px;
  }

  .grow-task-core-grid,
  .grow-task-type-selector,
  .grow-question-import-actions,
  .grow-task-recipient-list {
    grid-template-columns: 1fr;
  }

  .grow-task-core-grid .grow-task-field.is-title {
    grid-column: 1;
  }

  .grow-task-type-selector label > span {
    min-height: 58px;
  }

  .grow-task-recipient-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .grow-task-recipient-tools > span {
    justify-content: flex-end;
  }

  .grow-task-publish-summary {
    display: block;
    padding: 18px 16px;
  }

  .grow-task-publish-summary dl {
    grid-template-columns: 1fr;
  }

  .grow-task-publish-readiness {
    margin-top: 12px;
  }

  .grow-task-publish-summary > .grow-btn {
    min-height: 46px;
  }

  .grow-manual-question-grid {
    grid-template-columns: 1fr;
  }

  .grow-manual-question-grid .is-wide {
    grid-column: 1;
  }

  .grow-manual-question-editor > header,
  .grow-manual-question-editor > footer {
    align-items: stretch;
    flex-direction: column;
  }

  .grow-manual-question-editor > header button,
  .grow-manual-question-editor > footer .grow-btn {
    width: 100%;
  }

  .grow-question-import-preview.grow-question-bank li {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .grow-question-bank-actions {
    grid-column: 2;
    justify-self: start;
  }
}

/* 2026-08 role-safe navigation and focused growth journeys */
.grow-breadcrumb-separator {
  color: #a5b3c9;
  font-size: 13px;
}

.grow-breadcrumb-current {
  color: #334c75;
  font-size: 13px;
  font-weight: 750;
}

.grow-mobile-side-actions,
.grow-mobile-sidebar-backdrop {
  display: none;
}

.grow-role-home-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

button.grow-person-row {
  width: 100%;
  grid-template-columns: 38px minmax(150px, 1fr) 82px 82px 104px 22px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.grow-person-open {
  display: grid;
  place-items: center;
  color: #7390bd;
}

.grow-person-open svg {
  width: 17px;
  height: 17px;
}

.grow-map-readiness-note,
.grow-map-readiness-warning {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid #cbdcf5;
  border-radius: 10px;
  color: #264d84;
  background: #f2f7ff;
}

.grow-map-readiness-note > svg,
.grow-map-readiness-warning > span > svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  color: var(--grow-primary);
}

.grow-map-readiness-note strong,
.grow-map-readiness-warning strong {
  font-size: 13px;
}

.grow-map-readiness-note p,
.grow-map-readiness-warning p {
  margin: 3px 0 0;
  color: #657b9d;
  font-size: 12px;
}

.grow-map-readiness-warning {
  margin: 14px 18px 0;
}

.grow-map-readiness-warning .grow-btn {
  flex: 0 0 auto;
  margin-left: auto;
}

.grow-map-overview-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.grow-map-overview-actions button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #cbdcf5;
  border-radius: 7px;
  color: #2562bf;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.grow-map-next-action {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px solid #bcd4f7;
  border-radius: 11px;
  background: rgba(244, 249, 255, 0.96);
}

.grow-map-next-action > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--grow-primary);
}

.grow-map-next-action svg {
  width: 19px;
  height: 19px;
}

.grow-map-next-action div {
  min-width: 0;
}

.grow-map-next-action small,
.grow-map-next-action strong,
.grow-map-next-action p {
  display: block;
}

.grow-map-next-action small {
  color: #6380aa;
  font-size: 11px;
}

.grow-map-next-action strong {
  margin-top: 3px;
  color: #183766;
  font-size: 14px;
}

.grow-map-next-action p {
  margin: 3px 0 0;
  color: #687a95;
  font-size: 11px;
}

.grow-map-next-action button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--grow-primary);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.grow-map-next-action.is-waiting {
  border-color: #d8e2ef;
  background: #f8fafc;
}

.grow-map-next-action.is-waiting > span {
  color: #55708f;
  background: #e8eef6;
}

.grow-map-next-action.is-waiting button {
  color: #31577f;
  border: 1px solid #cfdaea;
  background: #fff;
}

.grow-map-stage-panel.is-stage-hidden {
  display: none;
}

.grow-map-stage-panel.is-located {
  outline: 3px solid rgba(36, 107, 254, 0.18);
}

.grow-map-route-stop {
  cursor: pointer;
}

.grow-map-overview .grow-map-route,
.grow-mentor-route .grow-map-route {
  pointer-events: auto;
}

.grow-mentor-stage-card.is-stage-hidden,
[data-map-material-editor][hidden],
[data-map-material-setting][hidden] {
  display: none;
}

.grow-mentor-route-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.grow-mentor-route-actions p {
  margin: 0;
}

.grow-mentor-route-actions button,
.grow-map-add-material {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #ccdcf2;
  border-radius: 8px;
  color: #275fae;
  background: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.grow-map-add-material {
  width: 100%;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-style: dashed;
  background: #f8fbff;
}

.grow-map-add-material svg {
  width: 16px;
}

.grow-map-add-material span {
  color: #8494aa;
  font-size: 10px;
  font-weight: 600;
}

.grow-map-import-impact {
  margin-top: 9px;
  padding: 9px 11px;
  display: grid;
  gap: 3px;
  border: 1px solid #d9e5f5;
  border-radius: 7px;
  background: #f8fbff;
}

.grow-map-import-impact strong {
  color: #245a9f;
}

.grow-map-import-impact small {
  color: #75859a;
  font-size: 10px;
}

.grow-map-publish-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 36, 66, 0.42);
}

.grow-map-publish-dialog {
  width: min(600px, 100%);
  overflow: hidden;
  border: 1px solid #d4e0f1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 45, 85, 0.24);
}

.grow-map-publish-dialog > header,
.grow-map-publish-dialog > footer {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e5ebf4;
}

.grow-map-publish-dialog > header span {
  color: #3970bc;
  font-size: 10px;
  font-weight: 800;
}

.grow-map-publish-dialog > header h2 {
  margin: 3px 0 0;
  color: #172b50;
  font-size: 18px;
}

.grow-map-publish-dialog > header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 7px;
  color: #60728d;
  background: #f3f6fa;
  font-size: 22px;
  cursor: pointer;
}

.grow-map-publish-summary {
  margin: 18px 20px 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #dce6f3;
  border-radius: 8px;
  overflow: hidden;
}

.grow-map-publish-summary > div {
  padding: 12px;
  display: grid;
  gap: 3px;
  border-right: 1px solid #e5ebf4;
  background: #f8fbff;
}

.grow-map-publish-summary > div:last-child {
  border-right: 0;
}

.grow-map-publish-summary strong {
  color: #1f5fae;
  font-size: 18px;
}

.grow-map-publish-summary span,
.grow-map-publish-note {
  color: #74839a;
  font-size: 10px;
}

.grow-map-publish-summary .is-warning strong {
  color: #bf6a2f;
}

.grow-map-publish-dialog fieldset {
  margin: 12px 20px 20px;
  padding: 0;
  display: grid;
  gap: 8px;
  border: 0;
}

.grow-map-publish-dialog legend {
  margin-bottom: 8px;
  color: #263d63;
  font-size: 12px;
  font-weight: 800;
}

.grow-map-publish-dialog fieldset label {
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  cursor: pointer;
}

.grow-map-publish-dialog fieldset label:has(input:checked) {
  border-color: #78a7f1;
  background: #f3f7ff;
}

.grow-map-publish-dialog fieldset input {
  margin-top: 3px;
}

.grow-map-publish-dialog fieldset span,
.grow-map-publish-dialog fieldset strong,
.grow-map-publish-dialog fieldset small {
  display: block;
}

.grow-map-publish-dialog fieldset strong {
  color: #21385d;
  font-size: 12px;
}

.grow-map-publish-dialog fieldset small {
  margin-top: 4px;
  color: #6e7f97;
  font-size: 10px;
  line-height: 1.55;
}

.grow-map-publish-dialog fieldset em {
  margin-left: 5px;
  padding: 2px 5px;
  border-radius: 4px;
  color: #1762cd;
  background: #e5efff;
  font-size: 9px;
  font-style: normal;
}

.grow-map-publish-note {
  margin: 12px 20px 20px;
}

.grow-map-publish-note.is-warning {
  padding: 11px 12px;
  border: 1px solid #f0cf8f;
  border-radius: 8px;
  color: #76551d;
  background: #fff9ed;
}

.grow-map-publish-note.is-warning strong,
.grow-map-publish-note.is-warning span {
  display: block;
}

.grow-map-publish-note.is-warning span {
  margin-top: 3px;
  font-size: 11px;
}

.grow-map-publish-note.is-warning a {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1e5fae;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.grow-map-publish-note.is-warning a svg {
  width: 13px;
  height: 13px;
}

.grow-map-publish-dialog > footer {
  justify-content: flex-end;
  border-top: 1px solid #e5ebf4;
  border-bottom: 0;
  background: #fafbfd;
}

.grow-map-task-kind-picker {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 0;
}

.grow-map-task-kind-picker legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #50627d;
  font-size: 11px;
  font-weight: 750;
}

.grow-map-task-kind-picker label {
  min-width: 0;
  padding: 10px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  border: 1px solid #d8e2f0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.grow-map-task-kind-picker label:has(input:checked) {
  border-color: #6f9fee;
  background: #f2f7ff;
  box-shadow: inset 3px 0 0 var(--grow-primary);
}

.grow-map-task-kind-picker input {
  margin-top: 2px;
  accent-color: var(--grow-primary);
}

.grow-map-task-kind-picker span,
.grow-map-task-kind-picker strong,
.grow-map-task-kind-picker small {
  display: block;
  min-width: 0;
}

.grow-map-task-kind-picker strong {
  color: #263c60;
  font-size: 11px;
}

.grow-map-task-kind-picker small {
  margin-top: 3px;
  color: #7b899d;
  font-size: 9px;
  line-height: 1.4;
}

[data-map-kind-section][hidden],
[data-map-assessment-offline][hidden],
[data-map-assessment-online][hidden] {
  display: none;
}

.grow-map-assessment-setting,
.grow-map-self-evaluation-setting {
  padding: 12px;
  border: 1px solid #dce5f2;
  border-radius: 8px;
  background: #f8fbff;
}

.grow-map-assessment-setting {
  display: grid;
  gap: 10px;
}

.grow-map-assessment-setting .grow-field small a {
  margin-left: 4px;
  color: var(--grow-primary);
  font-weight: 750;
  text-decoration: none;
}

.grow-map-self-evaluation-setting strong {
  color: #29456e;
  font-size: 12px;
}

.grow-map-self-evaluation-setting p {
  margin: 4px 0 0;
  color: #75849a;
  font-size: 10px;
  line-height: 1.6;
}

.grow-map-assessment-result,
.grow-map-self-evaluation-result {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d9e5f4;
  border-radius: 9px;
  background: #f7faff;
}

.grow-map-assessment-result > div {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.grow-map-assessment-result > div > strong {
  color: #185fce;
  font-size: 28px;
}

.grow-map-assessment-result > div > strong.grow-map-questionnaire-done {
  font-size: 16px;
}

.grow-map-assessment-result > div > strong small {
  margin-left: 2px;
  font-size: 11px;
}

.grow-map-assessment-result > div > span {
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
}

.grow-map-assessment-result .is-passed {
  color: #087957;
  background: #ddf8ee;
}

.grow-map-assessment-result .is-not-passed {
  color: #b25736;
  background: #fff0e9;
}

.grow-map-assessment-result p,
.grow-map-self-evaluation-result p {
  margin: 6px 0 0;
  color: #6f8098;
  font-size: 10px;
}

.grow-map-self-evaluation-result strong {
  display: inline-flex;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #185fce;
  background: #e8f1ff;
  font-size: 12px;
}

.grow-map-linked-task {
  width: 100%;
  min-height: 58px;
  margin-top: 12px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  border: 1px solid #cbdcf4;
  border-radius: 9px;
  color: #285b9f;
  background: #f4f8ff;
  text-align: left;
  cursor: pointer;
}

.grow-map-linked-task svg {
  width: 18px;
}

.grow-map-linked-task span,
.grow-map-linked-task strong,
.grow-map-linked-task small {
  display: block;
  min-width: 0;
}

.grow-map-linked-task strong {
  color: #1d4f94;
  font-size: 12px;
}

.grow-map-linked-task small {
  margin-top: 3px;
  overflow: hidden;
  color: #72839b;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#map-offline-score-form,
#map-self-evaluation-form {
  margin-top: 14px;
  padding: 14px;
  display: grid;
  gap: 9px;
  border: 1px solid #dce5f2;
  border-radius: 9px;
  background: #fff;
}

#map-offline-score-form h3,
#map-offline-score-form label,
#map-self-evaluation-form legend {
  color: #2c4367;
  font-size: 11px;
  font-weight: 750;
}

#map-offline-score-form label span {
  color: #8995a6;
  font-size: 9px;
  font-weight: 500;
}

#map-offline-score-form input,
#map-offline-score-form textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #cedbea;
  border-radius: 7px;
  color: #243b5f;
  background: #fff;
  font: inherit;
  font-size: 12px;
}

#map-offline-score-form textarea {
  min-height: 72px;
  resize: vertical;
}

#map-self-evaluation-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.grow-map-self-levels {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.grow-map-self-levels label {
  cursor: pointer;
}

.grow-map-self-levels input {
  position: absolute;
  opacity: 0;
}

.grow-map-self-levels span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #d5e1f0;
  border-radius: 7px;
  color: #5d718e;
  background: #f8fafc;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.grow-map-self-levels input:checked + span {
  border-color: #6e9def;
  color: #155fcf;
  background: #eaf2ff;
  box-shadow: inset 0 0 0 1px #6e9def;
}

@media (max-width: 620px) {
  .grow-map-task-kind-picker,
  .grow-map-self-levels {
    grid-template-columns: 1fr 1fr;
  }

  .grow-map-task-kind-picker label:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .grow-shell.is-mobile-sidebar-open .grow-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 82;
    width: min(310px, calc(100vw - 46px));
    height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    overflow-y: auto;
    box-shadow: 20px 0 48px rgba(21, 46, 91, 0.2);
  }

  .grow-mobile-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 81;
    border: 0;
    background: rgba(18, 35, 69, 0.36);
  }

  .grow-shell.is-mobile-sidebar-open .grow-mobile-sidebar-backdrop {
    display: block;
  }

  .grow-mobile-side-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .grow-mobile-side-actions a,
  .grow-mobile-side-actions button {
    min-height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #d6e3f5;
    border-radius: 8px;
    color: #36557f;
    background: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  button.grow-person-row {
    grid-template-columns: 38px minmax(0, 1fr) 74px 20px;
  }

  .grow-map-overview header,
  .grow-map-overview-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .grow-map-overview-actions button {
    width: 100%;
  }

  .grow-map-next-action {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .grow-map-next-action button {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .grow-record-view {
    padding-bottom: 150px;
  }

  .grow-record-submit {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    z-index: 32;
    width: auto;
    min-height: 50px;
    box-shadow: 0 12px 28px rgba(47, 114, 245, 0.28);
  }

  .grow-record-editor textarea {
    padding-bottom: 104px;
  }

  .grow-record-editor > span {
    bottom: 76px;
  }

  .grow-map-readiness-note,
  .grow-map-readiness-warning {
    align-items: flex-start;
  }

  .grow-map-readiness-warning {
    flex-wrap: wrap;
  }

  .grow-map-readiness-warning .grow-btn {
    width: 100%;
    margin-left: 0;
  }
}
