.mp-workspace { --mp-line: #dce3df; --mp-ink: #183d30; min-width: 0; }
.mp-workspace [hidden] { display: none !important; }
.mp-workspace .mp-fields { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 14px; padding: 16px 0; }
.mp-workspace label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; text-transform: capitalize; min-width: 0; }
.mp-workspace input, .mp-workspace select { width: 100%; min-width: 0; box-sizing: border-box; padding: 9px 10px; border: 1px solid var(--mp-line); border-radius: 4px; background: white; color: #18221d; font: inherit; }
.mp-workspace input[type=checkbox] { width: 18px; height: 18px; }
.mp-workspace .mp-editor { padding: 18px 0; border-bottom: 1px solid var(--mp-line); }
.mp-workspace summary { cursor: pointer; color: var(--mp-ink); font-weight: 600; padding: 8px 0; }
.mp-workspace .mp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 12px 0; }
.mp-workspace .mp-actions h3 { margin-right: auto; font-size: 18px; }
.mp-workspace .mp-catalogue { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,170px),1fr)); gap: 8px; margin: 18px 0; }
.mp-workspace .mp-metric { border: 1px solid var(--mp-line); border-radius: 4px; background: #fff; padding: 12px; text-align: left; min-height: 64px; cursor: pointer; }
.mp-workspace .mp-metric:hover { background: #edf4ef; border-color: #527764; }
.mp-workspace .mp-metric strong { display: block; text-transform: capitalize; font-size: 13px; }
.mp-workspace .mp-metric span { display: block; color: #626d66; font-size: 11px; margin-top: 6px; }
.mp-workspace .mp-series { border-bottom: 1px solid var(--mp-line); padding: 12px 0; }
.mp-workspace .mp-series h4 { font-size: 12px; overflow-wrap: anywhere; font-weight: 500; color: #626d66; }
.mp-workspace .mp-series svg { display: block; width: 100%; aspect-ratio: 720 / 220; min-height: 200px; }
.mp-workspace .mp-series text { font: 11px 'IBM Plex Mono',monospace; }
.mp-workspace .mp-table { overflow-x: auto; }
.mp-workspace table { width: 100%; border-collapse: collapse; font-size: 12px; }
.mp-workspace th, .mp-workspace td { padding: 10px; border-bottom: 1px solid var(--mp-line); text-align: left; vertical-align: top; }
.mp-workspace th { background: #f3f6f4; color: #59655e; font-weight: 500; }
.mp-workspace td input:not([type=checkbox]) { min-width: 105px; }
.mp-workspace pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 240px; overflow-y: auto; font-size: 12px; }
.mp-workspace .mp-contact { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; gap: 12px; align-items: end; margin: 12px 0; }
.mp-workspace [role=status], .mp-workspace [role=alert] { font-size: 12px; overflow-wrap: anywhere; }
@media (max-width: 640px) { .mp-workspace .mp-contact { grid-template-columns: 1fr; } .mp-workspace .pfd-subnav { display:flex; overflow-x:auto; } .mp-workspace .mp-series svg { min-height: 140px; } }