#page-pm-center {
  background: #f4f7fb;
  color: #172033;
  font-size: 13px;
  height: 100vh;
  min-height: 100vh;
  overflow: auto;
  padding: 0;
}

#page-pm-center.active {
  display: block;
}

.pm-center-shell {
  min-height: 100%;
  padding: 16px;
}

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

.pm-center-section-header,
.pm-center-subsection-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.pm-center-header h1,
.pm-center-section-header h1,
.pm-center-section-header h2,
.pm-center-subsection-header h3,
.pm-center-detail__header h2,
.pm-center-health-placeholder h3,
.pm-center-inline-panel h3 {
  letter-spacing: 0;
  margin: 0;
}

.pm-center-header h1,
.pm-center-section-header h1,
.pm-center-section-header h2 {
  font-size: 22px;
  line-height: 1.2;
}

.pm-center-subsection-header h3 {
  font-size: 16px;
  line-height: 1.25;
}

.pm-center-eyebrow {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.pm-center-button,
.pm-center-icon-button,
.pm-center-link-button {
  border: 1px solid #cfd7e6;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
}

.pm-center-button {
  background: #ffffff;
  color: #1f2a44;
  font-weight: 700;
  min-height: 30px;
  padding: 5px 10px;
}

.pm-center-button--primary {
  background: #1f5eff;
  border-color: #1f5eff;
  color: #ffffff;
}

.pm-center-button--compact {
  min-height: 30px;
  padding: 5px 10px;
}

.pm-center-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.pm-center-icon-button {
  align-items: center;
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  font-size: 22px;
  height: 32px;
  justify-content: center;
  padding: 0;
  width: 32px;
}

.pm-center-link-button {
  background: transparent;
  border: 0;
  color: #174ea6;
  font-weight: 800;
  max-width: 260px;
  overflow-wrap: anywhere;
  padding: 0;
  text-align: left;
}

.pm-center-tabs {
  align-items: center;
  background: #e8edf5;
  border: 1px solid #d5deeb;
  border-radius: 8px;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
}

.pm-center-tab {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #475467;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 30px;
  padding: 5px 10px;
}

.pm-center-tab.is-active {
  background: #ffffff;
  color: #174ea6;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.pm-center-view[hidden] {
  display: none;
}

.pm-center-module {
  min-width: 0;
}

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

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

.pm-center-metrics article {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  min-height: 58px;
  padding: 10px 12px;
}

.pm-center-metrics span {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.pm-center-metrics p {
  color: #667085;
  font-size: 12px;
  margin: 4px 0 0;
}

.pm-center-workspace {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.pm-center-main,
.pm-center-detail {
  min-width: 0;
}

.pm-center-toolbar {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(220px, 1.35fr) repeat(6, minmax(104px, 0.8fr));
  margin-bottom: 10px;
  padding: 10px;
}

.pm-center-toolbar--topics {
  grid-template-columns: minmax(240px, 1.5fr) minmax(130px, 0.5fr) minmax(190px, 1fr);
}

.pm-center-toolbar--management {
  grid-template-columns: minmax(240px, 1.4fr) repeat(5, minmax(112px, 1fr));
}

.pm-center-toolbar--resilience {
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(128px, 0.75fr));
}

.pm-center-filter {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pm-center-filter span,
.pm-center-field span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.pm-center-filter input,
.pm-center-filter select,
.pm-center-field input,
.pm-center-field select,
.pm-center-field textarea {
  background: #ffffff;
  border: 1px solid #ccd6e5;
  border-radius: 6px;
  color: #172033;
  font: inherit;
  min-width: 0;
  padding: 6px 8px;
  width: 100%;
}

.pm-center-filter input,
.pm-center-filter select,
.pm-center-field input,
.pm-center-field select {
  height: 30px;
}

.pm-center-field select[multiple] {
  height: auto;
  min-height: 146px;
}

.pm-center-field textarea {
  min-height: 72px;
  resize: vertical;
}

.pm-center-alert {
  background: #eef6ff;
  border: 1px solid #b6d7ff;
  border-radius: 6px;
  color: #174ea6;
  margin-bottom: 12px;
  padding: 9px 12px;
}

.pm-center-alert.is-error {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.pm-center-table-wrap {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  overflow: auto;
}

.pm-center-table {
  border-collapse: collapse;
  min-width: 920px;
  width: 100%;
}

.pm-center-table--projects {
  min-width: 860px;
}

.pm-center-table--topics {
  min-width: 1040px;
}

.pm-center-table--meetings {
  min-width: 820px;
}

.pm-center-table--pressures {
  min-width: 1080px;
}

.pm-center-table th,
.pm-center-table td {
  border-bottom: 1px solid #edf1f7;
  font-size: 12px;
  padding: 8px 10px;
  text-align: left;
  vertical-align: middle;
}

.pm-center-table th {
  background: #f8fafc;
  color: #475467;
  font-size: 11px;
  font-weight: 800;
  position: sticky;
  top: 0;
  z-index: 1;
}

.pm-table-control {
  display: grid;
  gap: 8px;
}

.pm-table-control__bar {
  align-items: center;
  color: #667085;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px;
  justify-content: flex-end;
}

.pm-table-control__bar strong {
  color: #172033;
  font-size: 16px;
}

.pm-table-control__head-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #25324a;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  gap: 6px;
  justify-content: space-between;
  min-height: 24px;
  padding: 0;
  width: 100%;
}

.pm-table-control__sort {
  align-items: center;
  background: #eef3fb;
  border: 1px solid #d6e0ef;
  border-radius: 999px;
  color: #475467;
  display: inline-flex;
  font-size: 11px;
  height: 20px;
  justify-content: center;
  line-height: 1;
  min-width: 20px;
}

.pm-table-control__filter-row th {
  background: #fbfdff;
  padding-bottom: 8px;
  padding-top: 6px;
  top: 35px;
}

.pm-table-control__filter-cell input,
.pm-table-control__filter-cell select {
  background: #ffffff;
  border: 1px solid #ccd6e5;
  border-radius: 6px;
  color: #172033;
  font: inherit;
  font-size: 12px;
  height: 30px;
  min-width: 0;
  padding: 5px 7px;
  width: 100%;
}

.pm-table-control__range {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pm-table-control__table th.is-filtered {
  box-shadow: inset 0 2px 0 #1f5eff;
}

.pm-center-table tr.is-selected td {
  background: #eef6ff;
}

.pm-center-clickable-row {
  cursor: pointer;
}

.pm-center-clickable-row:hover td,
.pm-center-clickable-row:focus td {
  background: #f3f8ff;
}

.pm-center-clickable-row:focus {
  outline: 2px solid #8bb8ff;
  outline-offset: -2px;
}

.pm-center-number {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.pm-center-muted {
  color: #667085;
}

.pm-center-stack {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pm-center-stack strong,
.pm-center-stack span {
  overflow-wrap: anywhere;
}

.pm-center-stack span {
  color: #667085;
  font-size: 11px;
}

.pm-center-status {
  background: #f8fafc;
  border: 1px solid #d5deeb;
  border-radius: 999px;
  color: #344054;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 8px;
  white-space: nowrap;
}

.pm-center-flag {
  background: #f2f4f7;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  color: #475467;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 8px;
}

.pm-center-flag.is-active {
  background: #e9f8ef;
  border-color: #b7e4c7;
  color: #12703a;
}

.pm-center-empty,
.pm-center-detail__empty {
  color: #667085;
  padding: 14px;
  text-align: center;
}

.pm-center-detail-page {
  display: grid;
  gap: 12px;
  max-width: 1180px;
}

.pm-center-inline-panel,
.pm-center-detail-card {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  margin-bottom: 0;
  padding: 14px;
}

.pm-center-page-form {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.pm-center-inline-form {
  display: grid;
  gap: 12px;
}

.pm-center-form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 2px;
}

.pm-center-detail-grid--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pm-center-text-block {
  line-height: 1.5;
  white-space: pre-wrap;
}

.pm-center-detail {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  padding: 16px;
  position: sticky;
  top: 16px;
}

.pm-center-detail__header {
  border-bottom: 1px solid #edf1f7;
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.pm-center-detail__header h2 {
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.pm-center-detail-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.pm-center-detail-grid div {
  border-bottom: 1px solid #f1f4f8;
  min-width: 0;
  padding-bottom: 8px;
}

.pm-center-detail-grid dt {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 3px;
}

.pm-center-detail-grid dd {
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}

.pm-center-detail-grid__span {
  grid-column: 1 / -1;
}

.pm-center-health-placeholder {
  border-top: 1px solid #edf1f7;
  margin-top: 16px;
  padding-top: 14px;
}

.pm-center-health-placeholder h3 {
  font-size: 16px;
}

.pm-center-health-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.pm-center-health-grid span {
  background: #f8fafc;
  border: 1px solid #dce3ef;
  border-radius: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  min-height: 42px;
  padding: 10px;
}

.pm-center-health-list,
.pm-center-relation-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pm-center-health-list li,
.pm-center-relation-item {
  border: 1px solid #edf1f7;
  border-radius: 8px;
  min-width: 0;
  padding: 10px;
}

.pm-center-health-list li {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.pm-center-health-tags,
.pm-center-relation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.pm-center-health-tags span {
  background: #f8fafc;
  border: 1px solid #d5deeb;
  border-radius: 999px;
  color: #475467;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 8px;
  white-space: nowrap;
}

.pm-center-relation-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.pm-center-relation-grid h4 {
  color: #334155;
  font-size: 13px;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.pm-center-relation-item {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.pm-center-relation-create {
  background: #f8fafc;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  margin-bottom: 12px;
  margin-top: 12px;
  padding: 12px;
}

.pm-center-meeting-layout {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(460px, 0.95fr) minmax(420px, 1.05fr);
}

.pm-center-meeting-list,
.pm-center-meeting-detail {
  min-width: 0;
}

.pm-center-meeting-detail {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 8px;
  padding: 16px;
}

.pm-center-meeting-detail__header {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.pm-center-detail-grid--meeting {
  border-bottom: 1px solid #edf1f7;
  margin-bottom: 16px;
  padding-bottom: 12px;
}

.pm-center-agenda {
  display: grid;
  gap: 12px;
}

.pm-center-agenda-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.pm-center-agenda-column {
  min-width: 0;
}

.pm-center-agenda-column h4 {
  color: #334155;
  font-size: 13px;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.pm-center-agenda-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pm-center-agenda-item {
  align-items: center;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-width: 0;
  padding: 10px;
}

.pm-center-agenda-item--available {
  grid-template-columns: minmax(0, 1fr) auto;
}

.pm-center-agenda-item__index {
  align-items: center;
  background: #eef6ff;
  border: 1px solid #c5ddff;
  border-radius: 999px;
  color: #174ea6;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.pm-center-agenda-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.pm-center-draft-body {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

.pm-center-field {
  display: grid;
  gap: 5px;
}

.pm-center-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pm-center-field--span {
  grid-column: 1 / -1;
}

.pm-center-check {
  align-items: center;
  display: flex;
  gap: 8px;
  font-weight: 700;
}

.pm-center-check input {
  height: 16px;
  width: 16px;
}

@media (max-width: 1180px) {
  .pm-center-toolbar,
  .pm-center-toolbar--topics,
  .pm-center-toolbar--management,
  .pm-center-toolbar--resilience {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pm-center-workspace,
  .pm-center-meeting-layout {
    grid-template-columns: 1fr;
  }

  .pm-center-detail {
    position: static;
  }

  .pm-center-detail-grid--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .pm-center-shell {
    padding: 14px;
  }

  .pm-center-header,
  .pm-center-section-header,
  .pm-center-subsection-header,
  .pm-center-meeting-detail__header,
  .pm-center-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pm-center-metrics,
  .pm-center-toolbar,
  .pm-center-toolbar--topics,
  .pm-center-toolbar--management,
  .pm-center-toolbar--resilience,
  .pm-center-detail-grid,
  .pm-center-detail-grid--wide,
  .pm-center-health-grid,
  .pm-center-health-list li,
  .pm-center-agenda-grid,
  .pm-center-relation-grid,
  .pm-center-relation-item,
  .pm-center-form-grid {
    grid-template-columns: 1fr;
  }

  .pm-center-agenda-item,
  .pm-center-agenda-item--available {
    grid-template-columns: 1fr;
  }

  .pm-center-agenda-actions {
    justify-content: flex-start;
  }

  .pm-center-health-tags,
  .pm-center-relation-actions {
    justify-content: flex-start;
  }

  .pm-center-tabs,
  .pm-center-header-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }
}
