.rote-plan-cockpit {
  display: grid;
  gap: 10px;
  margin: 12px 0 2px;
  padding: 11px;
  border: 1px solid #29415f;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(9, 24, 42, .98), rgba(6, 17, 31, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.rote-plan-cockpit.success { border-color: rgba(103, 237, 182, .46); }
.rote-plan-cockpit.warning { border-color: rgba(233, 191, 89, .5); }
.rote-plan-cockpit.danger { border-color: rgba(239, 110, 120, .48); }
.rote-plan-cockpit.neutral { border-color: rgba(126, 151, 186, .4); }

.rote-plan-cockpit > header,
.rote-plan-team > header,
.rote-plan-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}

.rote-plan-cockpit > header > div,
.rote-plan-team > header > div {
  display: grid;
  gap: 2px;
}

.rote-plan-cockpit > header span,
.rote-plan-team > header span,
.rote-plan-section-head span,
.rote-plan-kpis article span {
  color: #6edfee;
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.rote-plan-cockpit > header strong {
  color: #f0f7ff;
  font-size: .9rem;
}

.rote-plan-cockpit > header b,
.rote-plan-team > header b,
.rote-plan-section-head b {
  color: #c7d7ea;
  font-size: .55rem;
  font-weight: 900;
}

.rote-plan-cockpit.success > header b { color: #9bf3c9; }
.rote-plan-cockpit.warning > header b { color: #ffe09a; }
.rote-plan-cockpit.danger > header b { color: #ffaaa8; }

.rote-plan-cockpit > p {
  margin: 0;
  color: #8ea3bf;
  font-size: .62rem;
  line-height: 1.45;
}

.rote-plan-evidence-note {
  padding: 7px 8px;
  border: 1px solid rgba(233, 191, 89, .32);
  border-radius: 8px;
  background: rgba(110, 82, 21, .14);
  color: #e7c97c;
  font-size: .53rem;
  line-height: 1.4;
}

.rote-plan-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.rote-plan-kpis article {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px;
  border: 1px solid #203651;
  border-radius: 9px;
  background: rgba(4, 13, 25, .72);
}

.rote-plan-kpis article strong {
  color: #edf6ff;
  font-size: .8rem;
}

.rote-plan-kpis article small {
  color: #8296b1;
  font-size: .5rem;
  line-height: 1.3;
}

.rote-plan-section {
  display: grid;
  gap: 7px;
  padding-top: 8px;
  border-top: 1px solid #1a2d46;
}

.rote-plan-blockers {
  display: grid;
  gap: 5px;
}

.rote-plan-blockers.compact {
  margin-top: 6px;
}

.rote-plan-blocker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #263d59;
  border-radius: 8px;
  background: #081527;
  color: inherit;
  text-align: left;
}

button.rote-plan-blocker:hover {
  border-color: #68dcea;
  background: #0a1b30;
}

.rote-plan-blocker > span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.rote-plan-blocker strong {
  overflow: hidden;
  color: #e8f1fb;
  font-size: .61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rote-plan-blocker small {
  color: #879ab5;
  font-size: .47rem;
  font-weight: 800;
}

.rote-plan-blocker b {
  flex: 0 0 auto;
  max-width: 46%;
  color: #ffbaad;
  font-size: .5rem;
  line-height: 1.25;
  text-align: right;
}

.rote-plan-team {
  display: grid;
  gap: 5px;
  padding: 8px;
  border: 1px solid #263c58;
  border-radius: 9px;
  background: rgba(5, 14, 27, .78);
}

.rote-plan-team.success { border-color: rgba(103, 237, 182, .34); }
.rote-plan-team.warning { border-color: rgba(233, 191, 89, .34); }
.rote-plan-team.danger { border-color: rgba(239, 110, 120, .34); }

.rote-plan-team + .rote-plan-team { margin-top: 6px; }

.rote-plan-team > header strong {
  color: #e9f2fc;
  font-size: .64rem;
}

.rote-plan-team.success > header b { color: #9bf3c9; }
.rote-plan-team.warning > header b { color: #ffe09a; }
.rote-plan-team.danger > header b { color: #ffaaa8; }

.rote-plan-team-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rote-plan-team-metrics span {
  padding: 3px 5px;
  border: 1px solid #243a55;
  border-radius: 999px;
  color: #9cb0c9;
  font-size: .48rem;
  font-weight: 800;
}

.rote-plan-ready-note,
.rote-plan-empty {
  padding: 7px 8px;
  border: 1px solid rgba(103, 237, 182, .2);
  border-radius: 8px;
  background: rgba(25, 91, 69, .1);
  color: #a8d9c5;
  font-size: .54rem;
  line-height: 1.4;
}

.rote-plan-empty {
  border-color: #243a55;
  background: rgba(8, 20, 37, .75);
  color: #8fa4be;
}

.rote-plan-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #1a2d46;
}

.rote-plan-actions button {
  padding: 7px 9px;
  border: 1px solid #37627d;
  border-radius: 8px;
  background: #0a2135;
  color: #d9f7fb;
  font-size: .53rem;
  font-weight: 900;
}

.rote-plan-actions span {
  color: #7389a6;
  font-size: .47rem;
  text-align: right;
}

@media (max-width: 560px) {
  .rote-plan-kpis { grid-template-columns: 1fr; }
  .rote-plan-actions { align-items: stretch; flex-direction: column; }
  .rote-plan-actions span { text-align: left; }
  .rote-plan-blocker { align-items: flex-start; flex-direction: column; }
  .rote-plan-blocker b { max-width: none; text-align: left; }
}
