.leadership-view {
  --leader-text: #302333;
  --leader-sub: #65566a;
  --leader-border: #e6dde8;
}
.leadership-heading { align-items: center; margin-bottom: 14px; }
.leadership-heading h1 { font-size: clamp(29px,3.25vw,49px); line-height: 1.09; }
.leadership-report-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #57264c;
  border: 1px solid #dfcfe0;
  font-size: 12px;
  font-weight: 670;
  padding: 9px 12px;
  border-radius: 9px;
}
.leadership-report-link svg { width: 16px; height: 16px; }
.leadership-report-link:hover { background: #f8eff7; }
.leadership-view .filters { margin-bottom: 14px; }

.leadership-focus {
  background: radial-gradient(ellipse at 90% 10%, #714064 0, #54274d 47%, #392036 100%);
  border: 1px solid #5e3457;
  border-radius: 14px;
  padding: 12px 16px 13px;
  box-shadow: 0 6px 18px #3d1b3a20;
  margin-bottom: 14px;
}
.leadership-focus h2 { margin: 0 0 8px; color: #fff; font-size: 15px; font-weight: 640; letter-spacing: -.02em; }
.leadership-findings { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.leadership-finding {
  display: grid;
  align-items: center;
  grid-template-columns: 32px minmax(0,1fr) 13px;
  gap: 8px;
  text-align: left;
  min-width: 0;
  color: white;
  background: #ffffff0d;
  border: 1px solid #ffffff24;
  border-radius: 9px;
  padding: 8px;
}
.leadership-finding:hover { background: #ffffff20; border-color: #ffffff62; }
.finding-icon, .leadership-chart-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 9px;
  background: #f5eaf4;
  color: #672854;
}
.finding-icon { background: #ffffff17; color: #a4eee1; }
.finding-icon svg, .leadership-chart-icon svg { width: 17px; height: 17px; }
.leadership-finding > svg { width: 13px; height: 13px; color: #ead6e6; }
.leadership-finding small, .leadership-finding b, .leadership-finding em { display: block; }
.leadership-finding small { color: #d9bcd1; font-size: 9px; font-weight: 630; }
.leadership-finding b { font-size: 12px; line-height: 1.28; font-weight: 620; margin: 2px 0; }
.leadership-finding em { color: #f0dfe9; font-size: 10px; font-style: normal; line-height: 1.3; }

.leadership-grid, .leadership-more {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr) minmax(0,1fr);
  gap: 13px;
}
.leadership-view .exec-card { padding: 14px 15px; border-radius: 13px; }
.leadership-card-head { display: flex; align-items: flex-start; gap: 8px; }
.leadership-card-head h2 { margin: 0; font-size: 15px; font-weight: 660; line-height: 1.25; color: var(--leader-text,#302333); letter-spacing: -.028em; }
.leadership-card-head p { margin: 3px 0 0; font-size: 10px; color: var(--leader-sub,#65566a); line-height: 1.35; }
.leadership-card-head .text-link { margin-left: auto; flex-shrink: 0; font-size: 9px; gap: 3px; }
.leadership-card-head > div { min-width: 0; }
.leadership-score { --column-ink: #623258; --column-bar: #9e698e; }
.leadership-score.score-teal { --column-ink: #096f64; --column-bar: #43ad9d; }
.score-teal .leadership-chart-icon { color: #106b60; background: #e7f5f2; }
.leadership-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 8px 0 7px; }
.leadership-total b { color: var(--column-ink); font-size: 31px; font-weight: 670; line-height: 1; letter-spacing: -.063em; }
.leadership-total span { color: var(--leader-sub); font-size: 10px; }

.leader-column-chart {
  --plot-height: 76px;
  display: grid;
  grid-template-columns: repeat(var(--columns),minmax(0,1fr));
  padding-left: 30px;
  position: relative;
  gap: 3px;
  margin-top: 9px;
}
.leader-chart-grid {
  position: absolute;
  pointer-events: none;
  inset: 0 0 auto;
  height: var(--plot-height);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.leader-chart-grid span {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 0;
  color: #756677;
  font-size: 8px;
  font-variant-numeric: tabular-nums;
}
.leader-chart-grid span::after { content: ""; flex: 1; border-top: 1px solid #e9e1ec; }
.leader-column {
  position: relative;
  display: grid;
  grid-template-rows: var(--plot-height) auto minmax(12px,auto) auto;
  align-content: start;
  justify-items: center;
  gap: 2px;
  min-width: 0;
  padding: 0 2px 2px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--column-ink,#465166);
  text-align: center;
}
.leader-column:hover { background: #aa809016; }
.leader-column b { margin-top: 2px; font-size: 12px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.leader-column-plot { width: min(64%,62px); height: 100%; display: flex; align-items: flex-end; }
.leader-column-fill {
  display: block;
  width: 100%;
  height: var(--height);
  background: linear-gradient(180deg,var(--column-bar,#7290aa),var(--column-ink,#465166));
  border-radius: 4px 4px 0 0;
}
.leader-column-label { color: var(--leader-text); font-size: 9px; font-weight: 620; line-height: 1.25; overflow-wrap: anywhere; }
.leader-column small { color: var(--leader-sub); font-size: 8px; line-height: 1.25; white-space: nowrap; }
.leadership-health .donut-layout { min-height: 0; margin: 8px 0 0; max-width: none; gap: 5px; }
.leadership-health .donut { flex: 0 0 44%; width: 44%; max-width: 152px; min-width: 80px; }
.leadership-health .donut-legend { gap: 3px; min-width: 0; }
.leadership-health .donut-legend button { padding: 4px 3px; font-size: 9px; gap: 6px; align-items: center; }
.leadership-hint { margin: 5px 0 0; font-size: 9px; line-height: 1.35; color: var(--leader-sub); }
.leadership-journey { margin-top: 13px; --column-ink: #126e64; --column-bar: #64beb0; }
.leadership-journey .leadership-chart-icon { color: #116e62; background: #e7f5f2; }
.leader-journey-chart { --plot-height: 63px; margin-top: 12px; gap: 6px; }
.leader-journey-chart .leader-column-label { font-size: 10px; }
.leader-journey-chart .leader-column b { font-size: 14px; }
.leader-journey-chart .journey-watch { --column-ink: #906223; --column-bar: #d2a969; }
.leadership-more { margin-top: 13px; }
.leadership-more .leader-column-chart { margin-top: 14px; --column-ink: #68445e; --column-bar: #c793b4; }
.leadership-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 17px; color: var(--leader-sub); font-size: 10px; }

.report-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.report-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: start; gap: 9px; padding: 14px; }
.report-card h2 { font-size: 14px; line-height: 1.3; }
.report-card p { margin: 4px 0 0; font-size: 11px; color: #65566a; }
.report-control { display: inline-flex; align-items: center; gap: 5px; }
.report-control svg { width: 15px; height: 15px; }
.report-preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 0 10px; }
.report-preview-head p { margin: 3px 0 0; color: #65566a; font-size: 11px; }
.report-brief { padding: 24px; border: 1px solid #e6dce8; border-radius: 12px; background: white; }
.brief-brand { display: flex; align-items: center; gap: 10px; color: #65294f; font-weight: 670; font-size: 11px; border-bottom: 1px solid #e5dbe7; padding-bottom: 8px; margin-bottom: 11px; }
.brief-brand span:last-child { margin-left: auto; color: #6b536c; font-size: 9px; }
.report-brief h2 { font-size: 24px; }
.report-brief h3 { margin: 15px 0 4px; font-size: 13px; color: #48243f; }
.report-brief p, .report-brief li { font-size: 11px; color: #675368; }
.report-brief ul { margin: 4px 0 0; padding-left: 17px; }
.brief-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 16px; }
.brief-table { min-width: 0; width: 100%; }
.brief-table th, .brief-table td { padding: 5px 7px; font-size: 10px; }
.report-brief .brief-note { margin: 10px 0 0; font-size: 9px; }

@media (min-width: 1450px) {
  .leadership-view .exec-card { padding: 16px 19px; }
  .leadership-card-head h2 { font-size: 17px; }
  .leader-column-chart { --plot-height: 91px; }
  .leader-journey-chart { --plot-height: 69px; }
  .leader-column-label { font-size: 10px; }
  .leadership-finding b { font-size: 13px; }
}
@media (max-width: 1210px) {
  .leadership-card-head .text-link { display: none; }
  .leader-column-label { font-size: 8.5px; }
}
@media (max-width: 980px) {
  .leadership-grid, .leadership-more, .report-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .leadership-findings { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .leader-journey-chart { grid-template-columns: repeat(4,minmax(0,1fr)); row-gap: 8px; padding-left: 0; }
  .leader-journey-chart .leader-chart-grid { display: none; }
  .leader-journey-chart .leader-column-plot { background: #eff0ed; }
}
@media (max-width: 590px) {
  .leadership-heading { align-items: flex-start; }
  .leadership-grid, .leadership-more, .leadership-findings, .report-grid { grid-template-columns: 1fr; }
  .leadership-card-head .text-link { display: inline-flex; }
  .leader-column-label { font-size: 10px; }
  .leadership-journey .leader-column-label { font-size: 9px; }
  .brief-grid { grid-template-columns: 1fr; gap: 0; }
}
@media print {
  body:has(.reports-view) .rail, body:has(.reports-view) .topbar, body:has(.reports-view) footer,
  .reports-view > :not(.report-brief) { display: none !important; }
  body:has(.reports-view) .workspace { margin: 0; }
  body:has(.reports-view) main { width: auto; max-width: none; margin: 0; padding: 0; }
  .reports-view .report-brief { padding: 0; margin: 0; border: 0; }
  .report-brief .brief-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .report-brief h3, .report-brief tr { break-inside: avoid; }
}
.leadership-view .scope-label span { display: none; }

.applied-activity { margin: 15px 0; }
.applied-tabs { margin: 12px 0 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.applied-tabs button[aria-pressed="true"] { border-color: #733c67; background: #f4e7f2; color: #54264b; }
.activity-timeline { list-style: none; padding: 0; margin: 0; }
.activity-timeline li { border-bottom: 1px solid #eee5ef; }
.activity-timeline li button {
  display: grid; grid-template-columns: 33px minmax(0,1fr) auto 17px;
  align-items: center; gap: 10px; text-align: left; width: 100%;
  background: transparent; border: 0; padding: 7px 4px; color: #4b3149;
}
.activity-timeline li button:hover { background: #f9f2f8; }
.activity-timeline li button > span:nth-child(2) > * { display: block; overflow-wrap: anywhere; }
.activity-timeline li button small, .activity-timeline time { font-size: 10px; color: #6c596d; }
.activity-timeline li button > span:nth-child(2) > span { font-size: 11px; color: #6c596d; }
.activity-timeline-footer { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.activity-timeline li button > svg { width: 15px; height: 15px; }

.workflow-panel { margin: 15px 0; }
.workflow-panel .small-stats { margin: 10px 0; }
.workflow-panel .workflow-table-wrap { overflow-x: auto; margin-top: 12px; }
.workflow-panel .workflow-table { width: 100%; }
.workflow-panel .leadership-card-head .report-control { margin-left: auto; flex-shrink: 0; }
.workflow-panel h3 { color: #54264b; margin: 12px 0 4px; font-size: 13px; }
.workflow-panel h3 + p { color: #66526b; }
