.pmc-page {
    padding: 22px;
    background: #f5f7f8;
    min-height: calc(100vh - 58px);
}

.pmc-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.pmc-header.compact {
    align-items: center;
}

.pmc-document-header {
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #dfe6ea;
}

.pmc-header h2 {
    margin: 0;
    color: #18242d;
    font-size: 26px;
    font-weight: 700;
}

.pmc-header p {
    margin: 6px 0 0;
    color: #687782;
}

.pmc-eyebrow {
    display: inline-block;
    margin-bottom: 4px;
    color: #0d9488;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
}

.pmc-workspace-header {
    align-items: center;
}

.pmc-project-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 14px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 32, .04);
}

.pmc-hero-main,
.pmc-hero-side {
    min-width: 0;
}

.pmc-hero-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pmc-hero-title-row h2 {
    margin: 0;
    color: #15232d;
    font-size: 28px;
    font-weight: 800;
}

.pmc-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef6f5;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
}

.pmc-status-badge.status-delayed,
.pmc-status-badge.status-risk {
    background: #fff4e5;
    color: #9a5b00;
}

.pmc-status-badge.status-danger {
    background: #fff1f2;
    color: #be123c;
}

.pmc-status-badge.status-done {
    background: #edf8f0;
    color: #166534;
}

.pmc-hero-progress {
    display: grid;
    gap: 7px;
    max-width: 520px;
    margin-top: 18px;
}

.pmc-hero-progress > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #5f6f7a;
    font-size: 13px;
}

.pmc-hero-progress strong {
    color: #17242d;
}

.pmc-hero-side {
    display: grid;
    align-content: space-between;
    gap: 14px;
}

.pmc-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.pmc-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.pmc-quick-action {
    min-height: 58px;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: #f8fafb;
    color: #26333d;
    display: grid;
    place-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
}

.pmc-quick-action i {
    color: #0d9488;
    font-size: 18px;
}

.pmc-quick-action:hover {
    background: #eef8f7;
    border-color: #b9ddda;
}

.pmc-command-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.pmc-command-grid article {
    min-width: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 32, .04);
}

.pmc-command-grid span,
.pmc-command-grid small {
    display: block;
    color: #65737e;
    font-size: 12px;
}

.pmc-command-grid strong {
    display: block;
    margin: 5px 0 3px;
    color: #17242d;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pmc-lifecycle {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.pmc-lifecycle button {
    position: relative;
    min-height: 46px;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: #fff;
    color: #52636f;
    font-weight: 800;
}

.pmc-lifecycle button i {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-inline-end: 7px;
    border-radius: 999px;
    background: #bcc8cf;
}

.pmc-lifecycle button.done {
    background: #f4fbfa;
    border-color: #b9ddda;
    color: #0f766e;
}

.pmc-lifecycle button.done i,
.pmc-lifecycle button.active i {
    background: #0d9488;
}

.pmc-lifecycle button.active {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.pmc-lifecycle button.active i {
    background: #fff;
}

.pmc-workspace-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    align-items: start;
}

.pmc-activity-feed {
    display: grid;
    gap: 10px;
}

.pmc-activity-feed article {
    position: relative;
    padding: 0 18px 10px 0;
    border-bottom: 1px solid #edf1f3;
}

.pmc-activity-feed .pmc-timeline-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    padding-right: 0;
}

.pmc-timeline-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 4px;
}

.pmc-timeline-stats div {
    padding: 8px;
    border: 1px solid #e5ecef;
    border-radius: 8px;
    background: #fbfcfd;
}

.pmc-timeline-stats span,
.pmc-timeline-stats strong {
    display: block;
}

.pmc-timeline-stats span {
    color: #687985;
    font-size: 11px;
    font-weight: 800;
}

.pmc-timeline-stats strong {
    margin-top: 2px;
    color: #17242d;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.pmc-activity-feed .pmc-timeline-item::before {
    display: none;
}

.pmc-timeline-item > i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e6f4f1;
    color: #0f766e;
    font-size: 13px;
}

.pmc-timeline-item.contract > i {
    background: #eef2ff;
    color: #4338ca;
}

.pmc-timeline-item.claim > i {
    background: #fef3c7;
    color: #92400e;
}

.pmc-timeline-item.payment > i {
    background: #ecfdf5;
    color: #047857;
}

.pmc-timeline-item.field > i {
    background: #e0f2fe;
    color: #0369a1;
}

.pmc-timeline-item.stage > i,
.pmc-timeline-item.task > i {
    background: #f0fdfa;
    color: #0f766e;
}

.pmc-timeline-item.cost > i {
    background: #fff1f2;
    color: #be123c;
}

.pmc-timeline-item.resource > i {
    background: #f5f3ff;
    color: #6d28d9;
}

.pmc-timeline-item.material > i {
    background: #fefce8;
    color: #a16207;
}

.pmc-timeline-item.approval > i {
    background: #ecfeff;
    color: #0e7490;
}

.pmc-activity-feed article::before {
    content: "";
    position: absolute;
    top: 5px;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #0d9488;
}

.pmc-activity-feed strong {
    display: block;
    color: #17242d;
    font-size: 13px;
}

.pmc-activity-feed small {
    color: #6b7a84;
    font-size: 12px;
}

.pmc-project-alerts {
    display: grid;
    gap: 8px;
}

.pmc-alert-card {
    padding: 10px;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: #f8fafb;
}

.pmc-alert-card strong {
    display: block;
    color: #17242d;
    font-size: 13px;
}

.pmc-alert-card small {
    display: block;
    margin-top: 4px;
    color: #6b7a84;
}

.pmc-alert-card.WARNING {
    background: #fff8ed;
    border-color: #f6d49b;
}

.pmc-alert-card.CRITICAL {
    background: #fff1f2;
    border-color: #fecdd3;
}

.pmc-workflow-requirements {
    display: grid;
    gap: 8px;
}

.pmc-readiness-card {
    display: grid;
    gap: 7px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.pmc-readiness-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pmc-readiness-card span,
.pmc-readiness-card small {
    color: #52616b;
    font-size: 12px;
    font-weight: 700;
}

.pmc-readiness-card strong {
    color: #0f766e;
    font-size: 18px;
    font-weight: 900;
}

.pmc-readiness-card ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-inline-start: 18px;
    color: #9f1239;
    font-size: 12px;
    font-weight: 800;
}

.pmc-readiness-card progress {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #e7edf1;
}

.pmc-readiness-card progress::-webkit-progress-bar {
    background: #e7edf1;
}

.pmc-readiness-card progress::-webkit-progress-value {
    background: #0f766e;
}

.pmc-readiness-card progress::-moz-progress-bar {
    background: #0f766e;
}

.pmc-workflow-requirements div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #edf1f3;
    border-radius: 8px;
    background: #f8fafb;
    color: #41515c;
    font-size: 12px;
    font-weight: 800;
}

.pmc-workflow-requirements span {
    display: grid;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.pmc-workflow-requirements strong {
    color: #17242d;
    font-weight: 800;
}

.pmc-workflow-requirements small {
    color: #6b7882;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.45;
}

.pmc-workflow-requirements b {
    color: #0f766e;
    flex: 0 0 auto;
}

.pmc-workflow-requirements .missing {
    background: #fff7ed;
    border-color: #fed7aa;
}

.pmc-workflow-requirements .missing b {
    color: #be123c;
}

.pmc-mini-link {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 4px 8px;
    border: 1px solid #c7d2fe;
    border-radius: 6px;
    background: #fff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.pmc-mini-link:hover {
    background: #eff6ff;
}

.pmc-approval-center {
    display: grid;
    gap: 8px;
}

.pmc-approval-card {
    padding: 10px;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: #f8fafb;
}

.pmc-approval-card strong,
.pmc-approval-card small {
    display: block;
}

.pmc-approval-card strong {
    color: #17242d;
    font-size: 13px;
}

.pmc-approval-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.pmc-approval-top b {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 999px;
    background: #e7edf1;
    color: #52616b;
    font-size: 11px;
    font-weight: 800;
}

.pmc-approval-top b.PENDING {
    background: #fff7ed;
    color: #c2410c;
}

.pmc-approval-top b.APPROVED {
    background: #ecfdf5;
    color: #047857;
}

.pmc-approval-top b.REJECTED,
.pmc-approval-top b.CANCELLED {
    background: #fff1f2;
    color: #be123c;
}

.pmc-approval-card small {
    color: #6b7a84;
    margin-top: 3px;
}

.pmc-approval-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.pmc-contract-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 12px;
}

.pmc-contract-summary article {
    padding: 12px;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 32, .04);
}

.pmc-contract-summary span {
    display: block;
    color: #60717d;
    font-size: 12px;
    font-weight: 700;
}

.pmc-contract-summary strong {
    display: block;
    margin-top: 6px;
    color: #17242d;
    font-size: 18px;
    font-weight: 900;
}

.pmc-contract-pipeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.pmc-contract-card {
    padding: 12px;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff 0%, #f9fbfc 100%);
    box-shadow: 0 1px 2px rgba(16, 24, 32, .04);
}

.pmc-contract-card-head,
.pmc-contract-card-foot {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.pmc-contract-card-head strong {
    color: #17242d;
    font-size: 15px;
    font-weight: 900;
}

.pmc-contract-card-head small,
.pmc-contract-card-foot span {
    display: block;
    color: #60717d;
    font-size: 12px;
    font-weight: 700;
}

.pmc-contract-card-head b {
    flex: 0 0 auto;
    color: #0f766e;
    font-size: 16px;
    font-weight: 900;
}

.pmc-pipeline-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.pmc-pipeline-steps div {
    display: grid;
    gap: 5px;
    padding: 8px;
    border: 1px solid #edf1f3;
    border-radius: 8px;
    background: #fff;
}

.pmc-pipeline-steps span {
    color: #60717d;
    font-size: 11px;
    font-weight: 800;
}

.pmc-pipeline-steps strong {
    color: #17242d;
    font-size: 13px;
    font-weight: 900;
}

.pmc-pipeline-steps progress {
    width: 100%;
    height: 7px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: #e7edf1;
}

.pmc-pipeline-steps progress::-webkit-progress-bar {
    background: #e7edf1;
}

.pmc-pipeline-steps progress::-webkit-progress-value {
    background: #0f766e;
}

.pmc-pipeline-steps progress::-moz-progress-bar {
    background: #0f766e;
}

.pmc-contract-milestones {
    margin-top: 10px;
}

.pmc-milestone-list {
    display: grid;
    gap: 7px;
    margin-top: 10px;
}

.pmc-milestone-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(120px, auto) auto auto auto;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid #edf1f3;
    border-radius: 8px;
    background: #fff;
}

.pmc-milestone-row strong {
    display: block;
    color: #17242d;
    font-size: 12px;
    font-weight: 900;
}

.pmc-milestone-row small {
    color: #60717d;
    font-size: 11px;
    font-weight: 700;
}

.pmc-milestone-row b {
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
}

.pmc-milestone-row em {
    padding: 3px 7px;
    border-radius: 999px;
    background: #e7edf1;
    color: #52616b;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.pmc-milestone-row.PAID {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.pmc-milestone-row.PAID em {
    background: #dcfce7;
    color: #166534;
}

.pmc-milestone-row.DUE,
.pmc-milestone-row.INVOICED {
    background: #fff7ed;
    border-color: #fed7aa;
}

.pmc-milestone-row.DUE em,
.pmc-milestone-row.INVOICED em {
    background: #ffedd5;
    color: #c2410c;
}

.pmc-milestone-row.OVERDUE {
    background: #fff1f2;
    border-color: #fecdd3;
}

.pmc-milestone-row.OVERDUE em {
    background: #ffe4e6;
    color: #be123c;
}

.pmc-milestone-row.READY_FOR_CLAIM {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.pmc-milestone-row.READY_FOR_CLAIM em {
    background: #dbeafe;
    color: #1d4ed8;
}

.pmc-milestone-row.CANCELLED {
    opacity: .65;
}

.pmc-milestone-row small:last-of-type {
    color: #0f766e;
}

.pmc-milestone-empty {
    margin-top: 8px;
    padding: 8px;
    border: 1px dashed #d5dde2;
    border-radius: 8px;
    color: #71808b;
    font-size: 12px;
    font-weight: 700;
    background: #fbfcfd;
}

.pmc-create-wizard {
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 32, .04);
    overflow: visible;
}

.pmc-wizard-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid #edf1f3;
}

.pmc-wizard-head h4 {
    margin: 0;
    color: #17242d;
    font-size: 22px;
    font-weight: 800;
}

.pmc-wizard-head p {
    margin: 6px 0 0;
    color: #687782;
}

.pmc-wizard-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    align-self: center;
}

.pmc-wizard-steps button {
    min-height: 54px;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: #f8fafb;
    color: #5f6f7a;
    font-size: 12px;
    font-weight: 800;
}

.pmc-wizard-steps span {
    display: block;
    width: 22px;
    height: 22px;
    line-height: 20px;
    margin: 0 auto 4px;
    border: 1px solid #cbd6dc;
    border-radius: 999px;
    background: #fff;
}

.pmc-wizard-steps button.active {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.pmc-wizard-steps button.active span {
    color: #0f766e;
    border-color: #fff;
}

.pmc-wizard-body {
    padding: 18px;
}

.pmc-wizard-panel {
    display: none;
}

.pmc-wizard-panel.active {
    display: block;
}

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

.pmc-wizard-grid label,
.pmc-wizard-template label {
    display: grid;
    gap: 6px;
    color: #56646f;
    font-size: 13px;
    font-weight: 800;
}

.pmc-setup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.pmc-setup-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: #f8fafb;
    color: #26333d;
    font-weight: 800;
}

.pmc-wizard-template {
    display: grid;
    gap: 6px;
}

.pmc-wizard-template small {
    color: #71808b;
}

.pmc-wizard-review {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pmc-wizard-review div {
    padding: 12px;
    border: 1px solid #edf1f3;
    border-radius: 8px;
    background: #f8fafb;
}

.pmc-wizard-review span {
    display: block;
    color: #65737e;
    font-size: 12px;
}

.pmc-wizard-review strong {
    display: block;
    margin-top: 4px;
    color: #17242d;
}

.pmc-wizard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 18px;
    border-top: 1px solid #edf1f3;
}

.pmc-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.pmc-kpis article,
.pmc-panel {
    background: #fff;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 32, .04);
}

.pmc-kpis article {
    padding: 14px;
    display: grid;
    gap: 4px;
}

.pmc-kpis span,
.pmc-rank span,
.pmc-profit-grid span {
    color: #65737e;
    font-size: 12px;
}

.pmc-kpis strong {
    color: #17242d;
    font-size: 24px;
}

.pmc-kpis small {
    color: #8a969f;
}

.pmc-kpis .accent {
    border-color: #1f8f74;
    background: #f2fbf8;
}

.pmc-grid,
.pmc-detail-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.pmc-detail-grid {
    margin-top: 14px;
}

.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.pmc-panel {
    padding: 14px;
    min-width: 0;
}

.pmc-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.pmc-panel-head h5 {
    margin: 0;
    font-size: 16px;
    color: #18242d;
}

.pmc-panel-head small {
    display: block;
    margin-top: 3px;
    color: #71808b;
    font-size: 12px;
}

.pmc-panel-head a,
.pmc-panel-head span {
    font-size: 13px;
    color: #2a6f97;
    text-decoration: none;
}

.pmc-table {
    margin: 0;
}

.pmc-table th {
    color: #66747f;
    font-size: 12px;
    font-weight: 700;
    border-bottom-color: #dfe6ea;
}

.pmc-table td {
    color: #26333d;
    font-size: 13px;
}

.pmc-progress {
    display: grid;
    gap: 4px;
}

.pmc-progress-bar {
    height: 7px;
    border-radius: 999px;
    background: #e7edf0;
    overflow: hidden;
}

.pmc-progress-bar b {
    display: block;
    height: 100%;
    background: #2a9d8f;
}

.pmc-rank,
.pmc-profit-grid {
    display: grid;
    gap: 10px;
}

.pmc-rank div,
.pmc-profit-grid div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #edf1f3;
    padding-bottom: 8px;
}

.pmc-rank strong,
.pmc-profit-grid strong {
    color: #17242d;
    font-size: 14px;
    text-align: end;
}

.pmc-status-bars {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.pmc-status-bars div,
.pmc-doc-list a,
.pmc-alert-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #edf1f3;
}

.pmc-status-row {
    position: relative;
    flex-wrap: wrap;
}

.pmc-status-row em {
    display: block;
    flex: 0 0 100%;
    height: 4px;
    border-radius: 999px;
    background: #2a9d8f;
}

.pmc-panel-note {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid #d7ece8;
    border-radius: 8px;
    background: #f4fbfa;
    color: #48636a;
    font-size: 13px;
    line-height: 1.7;
}

.pmc-workflow-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
}

.pmc-workflow-strip span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 8px;
    border: 1px solid #d6e0e4;
    border-radius: 8px;
    background: #fff;
    color: #42515c;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.pmc-workflow-strip span::after {
    content: "";
    position: absolute;
    inset-inline-end: -8px;
    width: 9px;
    height: 2px;
    background: #cfd8dd;
}

.pmc-workflow-strip span:last-child::after {
    display: none;
}

.pmc-stagebar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 12px;
}

.pmc-stagebar span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid #d6e0e4;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.pmc-stagebar span.done {
    border-color: #99d8cf;
    background: #edf9f6;
    color: #0f766e;
}

.pmc-stagebar span.active {
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
}

.pmc-view-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 38px;
    padding: 3px;
    border: 1px solid #d6e0e4;
    border-radius: 8px;
    background: #fff;
}

.pmc-view-switch button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    border: 0;
    border-radius: 6px;
    padding: 5px 10px;
    background: transparent;
    color: #5a6874;
    font-size: 13px;
    font-weight: 700;
}

.pmc-view-switch button.active {
    background: #eaf7f5;
    color: #0f766e;
}

.pmc-view-panel {
    display: none;
}

.pmc-view-panel.active {
    display: block;
}

.pmc-list-view {
    display: none;
}

.pmc-list-view.active {
    display: block;
}

.pmc-kanban-board {
    display: grid;
    grid-template-columns: repeat(6, minmax(220px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pmc-kanban-board.compact {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.pmc-project-kanban {
    display: grid;
    grid-template-columns: repeat(4, minmax(230px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pmc-kanban-column {
    min-width: 220px;
    display: grid;
    align-content: start;
    gap: 10px;
    border: 1px solid #dfe6ea;
    border-top: 4px solid #94a3b8;
    border-radius: 8px;
    background: #f8fafb;
    padding: 10px;
}

.pmc-kanban-column.info {
    border-top-color: #0ea5e9;
}

.pmc-kanban-column.success {
    border-top-color: #10b981;
}

.pmc-kanban-column.danger {
    border-top-color: #ef4444;
}

.pmc-kanban-column.warning {
    border-top-color: #f59e0b;
}

.pmc-kanban-column header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-weight: 800;
}

.pmc-kanban-column header strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 24px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dfe6ea;
    color: #475569;
    font-size: 12px;
}

.pmc-kanban-stack {
    display: grid;
    gap: 10px;
}

.pmc-kanban-card {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: #fff;
    color: #26333d;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(16, 24, 32, .04);
}

.pmc-kanban-card:hover {
    border-color: #99d8cf;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}

.pmc-kanban-card-head,
.pmc-kanban-meta,
.pmc-kanban-profit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pmc-kanban-card h6 {
    margin: 0;
    color: #17242d;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.pmc-kanban-card p,
.pmc-kanban-meta,
.pmc-kanban-profit small {
    margin: 0;
    color: #6c7a85;
    font-size: 12px;
}

.pmc-kanban-profit span {
    color: #0f766e;
    font-weight: 800;
}

.pmc-mini-meter {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #e7edf0;
    overflow: hidden;
}

.pmc-mini-meter b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #2a9d8f;
}

.pmc-doc-list a {
    color: #1e2b34;
    text-decoration: none;
}

.pmc-doc-list small,
.pmc-alert-list small {
    color: #71808b;
}

.pmc-alert-list strong {
    color: #18242d;
}

.pmc-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 220px 42px;
    gap: 8px;
    margin-bottom: 12px;
}

.pmc-toolbar-wide {
    grid-template-columns: minmax(260px, 1fr) 210px 220px;
}

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

.pmc-form-grid label {
    display: grid;
    gap: 6px;
    color: #56646f;
    font-size: 13px;
    font-weight: 600;
}

.pmc-form-grid .span-2 {
    grid-column: span 2;
}

.pmc-message {
    display: none;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-align: start;
    white-space: pre-line;
}

.pmc-message.show {
    display: block;
}

.pmc-message.ok {
    background: #eefaf5;
    color: #13745d;
    border: 1px solid #bfe8dc;
}

.pmc-message.error {
    background: #fff2f1;
    color: #b42318;
    border: 1px solid #fac5c0;
}

.pmc-summary-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.pmc-summary-strip article {
    display: grid;
    gap: 4px;
    background: #fff;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    padding: 12px;
}

.pmc-summary-strip span {
    color: #65737e;
    font-size: 12px;
}

.pmc-summary-strip strong {
    color: #17242d;
    font-size: 18px;
}

.pmc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    border-bottom: 1px solid #dfe6ea;
}

.pmc-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: #5d6c77;
    font-weight: 700;
}

.pmc-tabs button.active {
    background: #fff;
    border-color: #dfe6ea;
    color: #0f766e;
}

.pmc-tab-panel {
    display: none;
}

.pmc-tab-panel.active {
    display: block;
}

.pmc-workspace.is-new .pmc-tabs,
.pmc-workspace.is-new .pmc-tab-panel,
.pmc-workspace.is-new .pmc-quick-actions {
    display: none;
}

.pmc-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.pmc-one-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.pmc-section-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pmc-drawer-sources,
.pmc-drawer-slot {
    display: none;
}

.pmc-drawer .pmc-drawer-source {
    display: block;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.pmc-drawer .pmc-panel-head {
    display: none;
}

.pmc-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .18);
    backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}

.pmc-drawer,
.pmc-side-drawer {
    position: fixed;
    top: 86px;
    left: 50%;
    z-index: 1041;
    width: min(540px, calc(100vw - 32px));
    max-height: min(720px, calc(100vh - 112px));
    background: #fff;
    border: 1px solid #dfe6ea;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -10px) scale(.98);
    transition: opacity .18s ease, transform .18s ease;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}

.pmc-drawer.open,
.pmc-side-drawer.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
}

.pmc-drawer-overlay.open,
.pmc-drawer-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.pmc-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #edf1f3;
    background: #fbfcfd;
}

.pmc-drawer-head h5 {
    margin: 0;
    color: #17242d;
    font-weight: 800;
}

.pmc-drawer-body {
    padding: 16px;
    overflow: auto;
}

.pmc-side-drawer > .pmc-mini-form {
    padding: 16px;
    overflow: auto;
}

.pmc-mini-form {
    display: grid;
    gap: 10px;
}

.pmc-mini-form label {
    display: grid;
    gap: 6px;
    color: #56646f;
    font-size: 13px;
    font-weight: 700;
}

.pmc-side-form {
    position: sticky;
    top: 12px;
    align-self: start;
}

.pmc-form-divider {
    height: 1px;
    background: #edf1f3;
    margin: 2px 0;
}

.pmc-lines {
    display: grid;
    gap: 8px;
}

.pmc-line-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 86px 96px 40px;
    gap: 6px;
    align-items: center;
}

.pmc-line-row .btn {
    min-height: 38px;
    padding-inline: 0;
}

.pmc-action-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 180px;
}

.pmc-action-cluster .btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 30px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.pmc-timeline {
    position: relative;
    display: grid;
    gap: 12px;
}

.pmc-timeline article {
    position: relative;
    padding-inline-start: 22px;
    border-bottom: 1px solid #edf1f3;
    padding-bottom: 12px;
}

.pmc-timeline article::before {
    content: "";
    position: absolute;
    inset-inline-start: 6px;
    top: 14px;
    bottom: -12px;
    width: 1px;
    background: #d6e0e4;
}

.pmc-timeline article:last-child::before {
    display: none;
}

.pmc-timeline-dot {
    position: absolute;
    inset-inline-start: 0;
    top: 4px;
    width: 13px;
    height: 13px;
    border: 3px solid #c9f1ea;
    border-radius: 50%;
    background: #0f766e;
}

.pmc-timeline strong {
    display: block;
    color: #17242d;
    font-size: 14px;
}

.pmc-timeline small,
.pmc-timeline em,
.pmc-timeline p {
    display: block;
    margin: 3px 0 0;
    color: #6b7b86;
    font-size: 12px;
    font-style: normal;
}

.pmc-inline-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pmc-lookup-field {
    position: relative;
}

.pmc-lookup-results {
    position: absolute;
    z-index: 20;
    inset-inline: 0;
    top: calc(100% + 4px);
    max-height: 260px;
    overflow: auto;
    background: #fff;
    border: 1px solid #cfd8dd;
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
    display: none;
}

.pmc-lookup-results.show {
    display: block;
}

.pmc-lookup-results button {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #edf1f3;
    background: #fff;
    padding: 10px 12px;
    text-align: start;
    color: #26333d;
}

.pmc-lookup-results button:hover {
    background: #f5fbfa;
}

.pmc-lookup-results small {
    color: #72808a;
}

.pmc-doc-list > div {
    padding: 10px 0;
    border-bottom: 1px solid #edf1f3;
}

.pmc-doc-main {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.pmc-doc-main strong {
    color: #18242d;
}

.pmc-doc-main small {
    display: block;
    margin-top: 3px;
}

.pmc-doc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 8px;
}

.pmc-doc-actions .btn {
    width: 32px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pmc-stage-kanban,
.pmc-task-kanban {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pmc-task-kanban {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
}

.pmc-stage-lane,
.pmc-task-lane {
    min-width: 180px;
    border: 1px solid #e3eaed;
    border-radius: 8px;
    background: #f8fafb;
    padding: 10px;
}

.pmc-stage-lane h6,
.pmc-task-lane h6 {
    margin: 0 0 10px;
    color: #41515c;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
}

.pmc-stage-card,
.pmc-task-card {
    padding: 10px;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 8px;
}

.pmc-stage-card strong,
.pmc-task-card strong {
    display: block;
    color: #17242d;
    font-size: 13px;
}

.pmc-stage-card small,
.pmc-task-card small {
    display: block;
    margin: 4px 0 8px;
    color: #6b7a84;
    font-size: 12px;
}

.pmc-task-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

.pmc-priority {
    border-radius: 999px;
    padding: 2px 7px;
    background: #eef2f5;
    color: #41515c;
    font-size: 11px;
    font-weight: 800;
}

.pmc-priority.HIGH,
.pmc-priority.URGENT {
    background: #fff4e5;
    color: #9a5b00;
}

.pmc-budget-group {
    border-bottom: 1px solid #edf1f3;
    padding: 8px 0;
}

.pmc-budget-group summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #17242d;
    font-weight: 800;
}

.pmc-budget-group summary strong {
    color: #0f766e;
}

.pmc-budget-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafb;
}

.pmc-budget-line strong,
.pmc-budget-line small {
    display: block;
}

.pmc-budget-line small {
    color: #71808b;
    margin-top: 2px;
}

.pmc-budget-line b {
    color: #17242d;
    white-space: nowrap;
}

.pmc-budget-variance-summary,
.pmc-budget-variance-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.pmc-budget-variance-summary div,
.pmc-budget-variance-row span {
    padding: 8px;
    border: 1px solid #edf1f3;
    border-radius: 8px;
    background: #f8fafb;
}

.pmc-budget-variance-summary span,
.pmc-budget-variance-row span {
    color: #65737e;
    font-size: 11px;
    font-weight: 800;
}

.pmc-budget-variance-summary strong,
.pmc-budget-variance-row b {
    display: block;
    margin-top: 3px;
    color: #17242d;
}

.pmc-budget-variance-summary.over div,
.pmc-budget-variance-row.over span {
    background: #fff1f2;
    border-color: #fecdd3;
}

.pmc-pill {
    align-self: flex-start;
    border-radius: 999px;
    padding: 3px 8px;
    background: #eef6f5;
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
}

.pmc-empty {
    padding: 18px 0;
    color: #71808b;
}

.pmc-row-title {
    display: block;
    color: #125e7a;
    font-weight: 800;
    text-decoration: none;
}

.pmc-row-title + small {
    display: block;
    color: #6f7d87;
    margin-top: 3px;
}

.pmc-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 12px;
    font-weight: 800;
    background: #eef2f6;
    color: #475569;
}

.pmc-status.info {
    background: #e8f6fd;
    color: #0369a1;
}

.pmc-status.success {
    background: #e7f8ef;
    color: #047857;
}

.pmc-status.danger {
    background: #fff0ed;
    color: #b42318;
}

.pmc-status.warning {
    background: #fff7df;
    color: #9a5b00;
}

.pmc-status.muted {
    background: #eef2f6;
    color: #64748b;
}

.pmc-settings-options {
    display: grid;
    gap: 10px;
}

.pmc-settings-options.resource-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pmc-choice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: #fbfcfd;
    cursor: pointer;
}

.pmc-choice input {
    margin-top: 4px;
}

.pmc-choice strong,
.pmc-choice small {
    display: block;
}

.pmc-choice small {
    margin-top: 3px;
    color: #6b7882;
}

.pmc-form-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pmc-account-results {
    position: absolute;
    z-index: 50;
    width: min(520px, 100%);
    max-height: 280px;
    overflow: auto;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #d8e0e5;
    border-radius: 8px;
    box-shadow: 0 14px 35px rgba(20, 35, 45, .14);
}

.pmc-account-results button {
    width: 100%;
    border: 0;
    background: transparent;
    display: grid;
    grid-template-columns: 86px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    text-align: start;
    color: #20313c;
}

.pmc-account-results button:hover {
    background: #f2f7f8;
}

.pmc-account-results small {
    color: #72808b;
}

.pmc-preview-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pmc-preview-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e3eaee;
    border-radius: 8px;
    background: #fbfcfd;
}

.pmc-preview-list span {
    color: #6b7882;
}

.pmc-preview-list strong {
    color: #1d2d36;
    text-align: end;
}

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

.pmc-template-card {
    border: 1px solid #dfe6ea;
    border-radius: 8px;
    background: #fff;
    padding: 12px;
    display: grid;
    gap: 6px;
    text-align: start;
}

.pmc-template-card:hover {
    background: #f5faf9;
    border-color: #9ccfc8;
}

.pmc-template-card strong,
.pmc-template-card small {
    display: block;
}

.pmc-template-stage-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(90px, 1fr)) auto;
    gap: 8px;
    align-items: center;
}

.pmc-recognition-page .pmc-grid {
    align-items: start;
}

.pmc-recognition-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.pmc-recognition-summary > div {
    border: 1px solid #dfe7eb;
    border-radius: 8px;
    background: #fff;
    padding: 12px 14px;
}

.pmc-recognition-summary small,
.pmc-recognition-summary strong {
    display: block;
}

.pmc-recognition-summary small {
    color: #687783;
    margin-bottom: 4px;
}

.pmc-recognition-summary strong {
    color: #17313a;
    font-size: 20px;
}

.pmc-ready.success {
    color: #10745c;
}

.pmc-ready.muted {
    color: #7a8790;
}

.pmc-recognition-money-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pmc-warning-list {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
}

.pmc-warning-list div {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 9px 10px;
    border: 1px solid #f1d9a7;
    border-radius: 8px;
    background: #fff8e8;
    color: #7a5314;
}

.pmc-journal-preview {
    display: grid;
    gap: 8px;
}

.pmc-journal-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 96px 96px;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #e1e8ec;
    border-radius: 8px;
    background: #fbfcfd;
}

.pmc-journal-row.credit {
    border-inline-start: 4px solid #2f6bd9;
}

.pmc-journal-row.debit {
    border-inline-start: 4px solid #119b7a;
}

.pmc-journal-row.total {
    background: #eef5f6;
    font-weight: 700;
}

.pmc-journal-row strong,
.pmc-journal-row small {
    display: block;
}

.pmc-journal-row small {
    color: #6a7882;
}

.pmc-journal-row span {
    text-align: end;
    font-variant-numeric: tabular-nums;
}

.pmc-empty-state {
    padding: 24px;
    text-align: center;
    color: #7a8790;
    border: 1px dashed #cad5db;
    border-radius: 8px;
    background: #fbfcfd;
}

.pmc-profit-detail-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.pmc-profit-detail-summary > div {
    border: 1px solid #e1e8ec;
    border-radius: 8px;
    background: #fbfcfd;
    padding: 10px 12px;
}

.pmc-profit-detail-summary span,
.pmc-profit-detail-summary strong {
    display: block;
}

.pmc-profit-detail-summary span {
    color: #6d7c86;
    font-size: 12px;
}

.pmc-profit-detail-summary strong {
    margin-top: 3px;
    color: #1d2f38;
    font-variant-numeric: tabular-nums;
}

.pmc-subtitle {
    margin: 0 0 8px;
    font-size: 14px;
    color: #334852;
}

.pmc-breakdown-list {
    display: grid;
    gap: 8px;
}

.pmc-breakdown-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 12px;
    align-items: center;
    border: 1px solid #e1e8ec;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}

.pmc-breakdown-row strong,
.pmc-breakdown-row small {
    display: block;
}

.pmc-breakdown-row small {
    color: #72808a;
}

.pmc-breakdown-row > span {
    text-align: end;
    color: #9a5b18;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pmc-report-stack {
    display: grid;
    gap: 8px;
}

.pmc-report-stack > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border: 1px solid #e1e8ec;
    border-radius: 8px;
    background: #fbfcfd;
    padding: 10px 12px;
}

.pmc-report-stack span {
    color: #687783;
}

.pmc-report-stack strong {
    color: #1d2f38;
    text-align: end;
    font-variant-numeric: tabular-nums;
}

.pmc-report-stack .accent {
    background: #eef7f4;
    border-color: #bcded4;
}

.pmc-report-stack .success strong {
    color: #10745c;
}

.pmc-report-stack .warning strong {
    color: #9a5b18;
}

@media print {
    .pmc-sidebar,
    .pmc-mobile-menu-btn,
    .pmc-sidebar-backdrop,
    .pmc-header .pmc-actions,
    .main-header,
    .topbar,
    .navbar {
        display: none !important;
    }
    .pmc-page {
        padding: 0;
    }
    .pmc-panel,
    .pmc-kpis article,
    .pmc-report-stack > div {
        box-shadow: none !important;
        break-inside: avoid;
    }
    .pmc-grid {
        grid-template-columns: 1fr 1fr;
    }
    .span-12,
    .span-7,
    .span-5,
    .span-4 {
        grid-column: span 1;
    }
}

@media (max-width: 1100px) {
    .pmc-project-hero {
        grid-template-columns: 1fr;
    }
    .pmc-wizard-head {
        grid-template-columns: 1fr;
    }
    .pmc-workspace-overview {
        grid-template-columns: 1fr;
    }
    .pmc-command-grid,
    .pmc-lifecycle {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pmc-kpis,
    .pmc-summary-strip,
    .pmc-recognition-summary,
    .pmc-form-grid,
    .pmc-workflow-strip,
    .pmc-stagebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pmc-kanban-board,
    .pmc-kanban-board.compact,
    .pmc-project-kanban {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
    .span-4,
    .span-5,
    .span-7,
    .span-8,
    .span-12 {
        grid-column: span 12;
    }
}

@media (max-width: 720px) {
    .pmc-page {
        padding: 14px;
    }
    .pmc-header,
    .pmc-header.compact {
        flex-direction: column;
        align-items: stretch;
    }
    .pmc-drawer,
    .pmc-side-drawer {
        top: 56px;
        width: calc(100vw - 18px);
        max-height: calc(100vh - 72px);
        border-radius: 14px;
    }
    .pmc-actions {
        justify-content: stretch;
    }
    .pmc-actions .btn {
        flex: 1;
    }
    .pmc-project-hero,
    .pmc-command-grid,
    .pmc-lifecycle,
    .pmc-quick-actions,
    .pmc-stage-kanban,
    .pmc-task-kanban,
    .pmc-wizard-steps,
    .pmc-wizard-grid,
    .pmc-setup-grid,
    .pmc-wizard-review,
    .pmc-budget-variance-summary,
    .pmc-budget-variance-row,
    .pmc-recognition-summary,
    .pmc-recognition-money-fields,
    .pmc-journal-row,
    .pmc-profit-detail-summary,
    .pmc-breakdown-row {
        grid-template-columns: 1fr;
    }
    .pmc-hero-title-row h2 {
        font-size: 22px;
    }
    .pmc-view-switch {
        width: 100%;
    }
    .pmc-view-switch button {
        flex: 1;
    }
    .pmc-kpis,
    .pmc-summary-strip,
    .pmc-contract-summary,
    .pmc-contract-pipeline,
    .pmc-workflow-strip,
    .pmc-stagebar,
    .pmc-form-grid,
    .pmc-toolbar {
        grid-template-columns: 1fr;
    }
    .pmc-two-col,
    .pmc-inline-fields,
    .pmc-line-row,
    .pmc-preview-list,
    .pmc-settings-options.resource-options,
    .pmc-template-grid,
    .pmc-template-stage-form {
        grid-template-columns: 1fr;
    }
    .pmc-pipeline-steps {
        grid-template-columns: 1fr;
    }
    .pmc-milestone-row {
        grid-template-columns: 1fr;
    }
    .pmc-form-grid .span-2 {
        grid-column: span 1;
    }
}

.pmc-supply-chain {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.pmc-supply-insights {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.pmc-supply-health,
.pmc-supply-insight {
    border: 1px solid #dbe3ea;
    border-radius: 8px;
    background: #fff;
    padding: 11px 12px;
}

.pmc-supply-health small,
.pmc-supply-health span,
.pmc-supply-insight span {
    display: block;
    color: #64748b;
    font-size: 12px;
}

.pmc-supply-health strong,
.pmc-supply-insight strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.3;
}

.pmc-supply-health.ok,
.pmc-supply-insight.ok {
    border-color: #b7eadf;
    background: #f4fffc;
}

.pmc-supply-health.warn,
.pmc-supply-insight.warn {
    border-color: #fed7aa;
    background: #fff8ed;
}

.pmc-mini-section-title {
    margin: 4px 0 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.pmc-material-stage-summary {
    margin-bottom: 12px;
}

.pmc-material-stage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.pmc-material-stage-grid article {
    border: 1px solid #dbe3ea;
    border-radius: 8px;
    background: #fff;
    padding: 11px 12px;
}

.pmc-material-stage-grid span,
.pmc-material-stage-grid small {
    display: block;
    color: #64748b;
    font-size: 12px;
}

.pmc-material-stage-grid strong {
    display: block;
    color: #0f172a;
    font-size: 17px;
}

.pmc-chain-step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dbe3ea;
    border-radius: 8px;
    background: #fff;
}

.pmc-chain-step small,
.pmc-chain-step span {
    display: block;
    color: #64748b;
    font-size: 12px;
}

.pmc-chain-step strong {
    display: block;
    color: #0f172a;
}

.pmc-chain-index {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #0f172a;
    font-weight: 700;
}

.pmc-chain-step.done .pmc-chain-index {
    background: #0f766e;
    color: #fff;
}

.pmc-chain-step.active .pmc-chain-index {
    background: #2563eb;
    color: #fff;
}

.pmc-chain-step.blocked .pmc-chain-index {
    background: #dc2626;
    color: #fff;
}

@media (max-width: 992px) {
    .pmc-supply-insights {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .pmc-supply-insights {
        grid-template-columns: 1fr;
    }
}
