.pd-workspace {
  display: grid;
  gap: 22px;
}

.pd-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  color: white;
  background: #0a304c;
  border-left: 6px solid var(--gold);
  box-shadow: var(--shadow-soft);
}

.pd-hero::after {
  position: absolute;
  top: -90px;
  right: 24%;
  width: 250px;
  height: 250px;
  content: '';
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(35deg);
}

.pd-hero > * {
  position: relative;
  z-index: 1;
}

.pd-hero h2 {
  max-width: 820px;
  margin: 10px 0 14px;
  font: 500 clamp(32px, 4vw, 54px) / 1.02 var(--font-display);
  letter-spacing: -0.035em;
}

.pd-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.pd-agent {
  display: grid;
  grid-template-columns: 48px minmax(100px, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 250px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pd-agent img {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  padding: 7px;
  background: white;
  border-radius: 50%;
}

.pd-agent small,
.pd-agent span {
  color: rgba(255, 255, 255, 0.65);
}

.pd-agent strong {
  display: block;
  margin-top: 2px;
  font-size: 19px;
}

.pd-agent > span {
  grid-column: 2;
  font-size: 12px;
}

.pd-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  background: var(--paper);
  border: 1px solid var(--line);
}

.pd-metric {
  display: grid;
  min-height: 104px;
  padding: 18px;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
}

.pd-metric:last-child {
  border-right: 0;
}

.pd-metric span {
  color: var(--muted);
  font-size: 12px;
}

.pd-metric strong {
  align-self: end;
  color: var(--blue);
  font: 500 32px/1 var(--font-display);
}

.pd-metric.pd-band-72h strong {
  color: var(--danger);
}

.pd-panel {
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.pd-panel-heading {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(420px, auto);
  gap: 30px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.pd-panel-heading h3 {
  margin: 7px 0;
  color: var(--blue);
  font: 500 30px/1.1 var(--font-display);
}

.pd-updated {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.pd-filters {
  display: flex;
  gap: 10px;
  align-items: end;
}

.pd-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.pd-filters select,
.pd-filters button {
  min-height: 42px;
}

.pd-client-list {
  display: grid;
}

.pd-client {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.pd-client:last-child {
  border-bottom: 0;
}

.pd-client-priority {
  display: grid;
  align-content: space-between;
  min-height: 78px;
  padding-left: 14px;
  border-left: 4px solid #6f8a7c;
}

.pd-band-24h .pd-client-priority {
  border-color: #b7894d;
}

.pd-band-36h .pd-client-priority {
  border-color: #b36f37;
}

.pd-band-48h .pd-client-priority,
.pd-band-72h .pd-client-priority {
  border-color: var(--danger);
}

.pd-client-priority span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.pd-client-priority strong {
  color: var(--blue);
  font: 500 27px/1 var(--font-display);
}

.pd-client-title {
  display: flex;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
}

.pd-client-title h4 {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 18px;
}

.pd-client-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.pd-phase {
  max-width: 240px;
  padding: 5px 9px;
  color: #0d5f67;
  font-size: 11px;
  text-align: right;
  background: #e8f3f1;
}

.pd-client-facts,
.pd-detail-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 15px;
  margin: 18px 0 0;
}

.pd-client-facts div,
.pd-detail-summary div {
  min-width: 0;
}

.pd-client-facts dt,
.pd-detail-summary span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pd-client-facts dd,
.pd-detail-summary strong {
  display: block;
  overflow: hidden;
  margin: 4px 0 0;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pd-manager-note {
  max-width: 760px;
  margin: 14px 0 0;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  background: #f3f1ea;
}

.pd-manager-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
