/* Business modules: align legacy purple surfaces with the studio gray-green system. */

/* Dashboard */
.studio-shell .metric-card {
  --card-start: #2b3429;
  --card-end: #485545;
  --card-shadow: #1b261522;
  color: #f7faef;
  border: 1px solid #596753;
}
.studio-shell .metric-blue,
.studio-shell .metric-orange { --card-start: #343d32; --card-end: #596653; }
.studio-shell .metric-coral { --card-start: #283126; --card-end: #414e3d; }
.studio-shell .metric-icon { background: #c2f74f; color: #1a2317; }
.studio-shell .metric-label { color: #f4f8eb; }
.studio-shell .metric-foot { color: #d6decf; }
.studio-shell .chart-summary .big-number,
.studio-shell .chart-footer-item .value,
.studio-shell .donut-number { color: #293525; }
.studio-shell .chart-summary .sub,
.studio-shell .chart-footer-item .label,
.studio-shell .donut-caption,
.studio-shell .distribution-legend { color: #7a8772; }
.studio-shell .chart-summary .chart-link {
  color: #3e572b;
  background: #eaf2dd;
}
.studio-shell .round-icon.purple,
.studio-shell .round-icon.blue,
.studio-shell .round-icon.coral {
  color: #405b2d;
  background: #e8efdf;
}
.studio-shell .growth-summary .stat-mini:first-child {
  color: #f7faef;
  background: linear-gradient(115deg, #293328, #52604d);
  box-shadow: 0 8px 17px #202b1a20;
}
.studio-shell .home-growth-track { background: #dfe8d6; }
.studio-shell .home-growth-track > span { background: linear-gradient(90deg, #506d37, #c2f74f); }
.studio-shell .home-growth-caption { color: #718068; }

/* Growth */
.studio-shell .growth-hero {
  background: linear-gradient(118deg, #1d251c, #3e4c39 62%, #596653);
  box-shadow: 0 14px 34px #1c27152b;
}
.studio-shell .growth-stage-badge { color: #1a2317; background: #c2f74f; }
.studio-shell .growth-configure-btn { color: #26341e; background: #f7faef; border-color: #dbe7cf; }
.studio-shell .growth-progress-track { background: #11181080; border-color: #c2f74f33; box-shadow: inset 0 2px 6px #11180e66; }
.studio-shell .growth-progress-fill { background: linear-gradient(90deg, #7fa054, #c2f74f); box-shadow: 0 0 15px #c2f74f66; }
.studio-shell .growth-progress-fill.is-full { background: linear-gradient(90deg, #a8da3d, #e0ff91); }
.studio-shell .growth-request-card { border-color: #dfe6d8; background: #fcfdf9; }
.studio-shell .growth-request-body > p { color: #586451; }
.studio-shell .growth-request-facts span { color: #607052; background: #edf2e8; }
.studio-shell .growth-request-facts .is-eligible { color: #278b6c; background: #e8f7f1; }
.studio-shell .growth-request-facts .is-ineligible { color: #c4576a; background: #fff0f3; }
.studio-shell .growth-review-result { color: #62705b; background: #f0f4ec; }
.studio-shell .growth-review-result span { color: #8d9987; }
.studio-shell .growth-history-item:not(:last-child)::before { background: #dce5d4; }
.studio-shell .growth-history-dot { background: #536d3d; border-color: #e3edda; }
.studio-shell .growth-history-item strong,
.studio-shell .growth-annual-cards strong { color: #35432f; }
.studio-shell .growth-history-item p,
.studio-shell .growth-annual-cards span,
.studio-shell .growth-annual-cards small { color: #7d8976; }
.studio-shell .growth-annual-cards { background: #dde5d7; border-color: #dde5d7; }
.studio-shell .growth-annual-empty { color: #788471; background: #f1f5ed; }
.studio-shell .growth-chart-column.positive i { background: linear-gradient(#638443, #bce954); }
.studio-shell .growth-chart-track { background: linear-gradient(to bottom, transparent 49.5%, #dce4d7 49.5%, #dce4d7 50.5%, transparent 50.5%); }
.studio-shell .growth-chart-value,
.studio-shell .growth-chart-label,
.studio-shell .growth-chart-scale { color: #7d8977; }
.modal .growth-application-preview,
.modal .growth-review-person { background: #edf3e6; }
.modal .growth-application-preview span,
.modal .growth-review-person span { color: #6d7e60; }
.modal .growth-application-preview strong,
.modal .growth-review-person strong { color: #3e572c; }

/* Gantt */
.studio-shell .gantt-shell { border-color: #e0e7da; }
.studio-shell .gantt-project-filter,
.studio-shell .gantt-legend,
.studio-shell .gantt-axis-info,
.studio-shell .gantt-row-meta,
.studio-shell .gantt-row-dates { color: #7c8875; }
.studio-shell .gantt-project-filter select { color: #4d5d45; border-color: #dce5d5; }
.studio-shell .gantt-fixed-project,
.studio-shell .gantt-name { color: #35432f; }
.studio-shell .gantt-legend { background: #f7f9f4; }
.studio-shell .gantt-legend i,
.studio-shell .gantt-bar,
.studio-shell .gantt-deadline i { background: #536f3d; }
.studio-shell .gantt-legend i.done,
.studio-shell .gantt-bar.gantt-status-done,
.studio-shell .gantt-deadline.gantt-status-done i { background: #5bb48f; }
.studio-shell .gantt-legend i.review,
.studio-shell .gantt-bar.gantt-status-review,
.studio-shell .gantt-deadline.gantt-status-review i { background: #e2a34f; }
.studio-shell .gantt-legend i.overdue,
.studio-shell .gantt-bar.gantt-status-overdue,
.studio-shell .gantt-deadline.gantt-status-overdue i { background: #dd6b7e; }
.studio-shell .gantt-axis-info,
.studio-shell .gantt-level-0 .gantt-row-info { background: #f4f7f1; }
.studio-shell .gantt-axis,
.studio-shell .gantt-row:hover .gantt-row-info,
.studio-shell .gantt-row:hover .gantt-row-timeline { background-color: #fafcf8; }
.studio-shell .gantt-axis > div,
.studio-shell .gantt-row-info { border-color: #e2e8dc; }
.studio-shell .gantt-axis > div { color: #61705a; }
.studio-shell .gantt-expand { color: #4e6a38; background: #e7efdf; }
.studio-shell .gantt-progress-text { color: #405c2d; background: #e6efdc; }
.studio-shell .gantt-status-active,
.studio-shell .gantt-schedule { color: #4b6934; }
.studio-shell .gantt-bar { box-shadow: 0 4px 9px #344d2428; }
.studio-shell .gantt-deadline { color: #465f33; }
.studio-shell .gantt-outside,
.studio-shell .gantt-no-date { color: #798573; background: #eef2ea; }
.studio-shell .gantt-filter-empty,
.studio-shell .gantt-empty { color: #879180; }
.studio-shell .gantt-empty svg { color: #829b69; }
.studio-shell .gantt-empty h3 { color: #52604b; }

/* Meetings */
.studio-shell .meeting-page-intro,
.studio-shell .meeting-analysis-preview {
  border-color: #dfe7d8;
  background: linear-gradient(135deg, #fff 35%, #edf3e7);
}
.studio-shell .meeting-page-intro h3,
.studio-shell .meeting-card h3,
.studio-shell .meeting-preview-heading h3,
.studio-shell .meeting-detail-head h3,
.studio-shell .meeting-markdown h1,
.studio-shell .meeting-markdown h2,
.studio-shell .meeting-markdown h3 { color: #35432f; }
.studio-shell .meeting-page-intro p,
.studio-shell .meeting-card-summary,
.studio-shell .meeting-preview-heading p,
.studio-shell .meeting-detail-head p,
.studio-shell .meeting-prewrap,
.studio-shell .meeting-markdown { color: #65715f; }
.studio-shell .meeting-scope-note,
.modal .meeting-visibility-notice { color: #526845; border-color: #d7e3cc; background: #edf4e7; }
.studio-shell .meeting-author { color: #607453; background: #edf2e8; }
.modal .meeting-locked-value,
.modal .meeting-existing-file,
.modal .meeting-preview-source,
.modal .meeting-detail-meta { color: #607056; border-color: #dfe6da; background: #f4f7f1; }
.modal .meeting-file-status,
.modal .meeting-markdown a,
.modal .meeting-source-link { color: #486630; }
.modal .meeting-markdown blockquote { color: #64725d; border-color: #779859; background: #f0f5eb; }
.modal .meeting-markdown code { color: #3e592c; background: #e8efe1; }
.modal .meeting-source-link { border-color: #dce5d5; background: #fbfcf9; }
.modal .meeting-source-link:hover { border-color: #aabd99; background: #f0f5eb; }

/* Expenses */
.studio-shell .expense-top { background: linear-gradient(135deg, #fff 35%, #edf3e7); }
.studio-shell .expense-top h3,
.studio-shell .expense-breakdowns h4,
.studio-shell .expense-breakdown-list strong { color: #35432f; }
.studio-shell .expense-top p,
.studio-shell .expense-filter label,
.studio-shell .expense-breakdown-list span,
.studio-shell .expense-breakdowns > article > p { color: #75816e; }
.studio-shell .expense-breakdown-list .progress-track i { background: linear-gradient(90deg, #506d37, #bde950); }
.studio-shell .expense-empty-inline { color: #7d8977; background: #f2f5ef; }
.modal .expense-form-note { color: #596d4c; border-color: #d8e3cf; background: #eff5e9; }
.modal .expense-locked-value,
.modal .expense-file-grid label,
.modal .expense-detail-grid > div,
.modal .expense-files a { color: #617057; border-color: #dfe6da; background: #fbfcf9; }
.modal .expense-file-hint,
.modal .expense-review-head > span,
.modal .expense-detail-hero > strong,
.modal .expense-files a span { color: #486630; }
.modal .expense-review-head { color: #43513d; background: #f0f4ec; }
.modal .expense-detail-hero h3,
.modal .expense-detail-grid strong { color: #35432f; }
.modal .expense-detail-hero p,
.modal .expense-detail-grid span,
.modal .expense-detail section p { color: #718069; }
.modal .expense-files a:hover { border-color: #aabd99; background: #f0f5eb; }
.modal .expense-history i { background: #587440; }
.modal .expense-history i::after { background: #dce5d5; }
