/* Uses the workspace's existing card, table and button styles. */
#concurrent-admin-root, [data-config], [data-assessments], [data-editor] { min-width: 0; }
[data-config] form, [data-editor] form, [data-availability] form, [data-publisher] form { display: grid; gap: .8rem; margin: 1rem 0; max-width: 60rem; }
[data-config] label, [data-editor] label, [data-availability] label, [data-publisher] label { display: grid; gap: .3rem; }
[data-config] label, [data-editor] label, [data-availability] label, [data-publisher] label, label:has(> [data-selector]), label:has(> [data-tenant]) { color: var(--er-ink, var(--ui-ink, #20313b)); }
[data-config] textarea, [data-editor] textarea, [data-publisher] textarea { min-height: 5rem; width: 100%; box-sizing: border-box; }
[data-editor] fieldset { display: grid; gap: .4rem; min-width: 0; max-height: 20rem; overflow: auto; }
[data-editor] pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 24rem; overflow: auto; }
[data-editor] details, [data-availability] details { margin-block: .8rem; }
[data-editor] .table-wrap, [data-dashboard] .table-wrap { max-width: 100%; overflow-x: auto; }
[data-selector] { max-width: 100%; }

/* Workspace Frameworks uses shared .page-head, .card, .consistent-panel,
   .panel-head-row, .btn, .badge and .table-wrap components. These rules
   only arrange its specialised controls. */
.frameworks-workspace > .page-head { margin-bottom: 16px; }
.frameworks-workspace .frameworks-panel { margin-bottom: 14px; }
.frameworks-workspace .frameworks-panel > .panel-head-row { margin-bottom: 12px; flex-wrap: wrap; }
.frameworks-workspace .frameworks-panel > .panel-head-row h3 { margin: 0; }
.frameworks-workspace .frameworks-panel .table-wrap { max-width: 100%; overflow-x: auto; }
.frameworks-workspace .frameworks-panel .table-wrap table { min-width: 540px; }
.frameworks-workspace .frameworks-panel .table-wrap .btn { white-space: nowrap; }
.frameworks-workspace .frameworks-selection-row { display: flex; align-items: end; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.frameworks-workspace .frameworks-selection-row > label:first-child { flex: 1 1 280px; max-width: 420px; min-width: 0; }
.frameworks-workspace .frameworks-checkbox,
.frameworks-workspace [data-config] label:has(> input[type="checkbox"]),
.frameworks-workspace [data-editor] label:has(> input[type="checkbox"]) {
  display: flex; align-items: center; gap: 9px;
}
.frameworks-workspace input[type="checkbox"] { width: auto; flex: 0 0 auto; margin: 0; }
.frameworks-workspace .frameworks-checkbox { padding-bottom: 10px; }
.frameworks-workspace .frameworks-detail-head { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.frameworks-workspace .frameworks-detail-head h4 { margin: 0 0 3px; }
.frameworks-workspace .frameworks-detail-head p { margin: 0 0 10px; }
.frameworks-workspace .frameworks-status { display: flex; flex-wrap: wrap; gap: 6px; }
.frameworks-workspace [data-config] > details { margin-top: 12px; }
.frameworks-workspace [data-editor] > [data-outcomes],
.frameworks-workspace [data-editor] > [data-results],
.frameworks-workspace [data-editor] > [data-result-editor],
.frameworks-workspace [data-editor] > [data-workflow] { margin-top: 16px; }
.frameworks-workspace [data-editor] [data-result-editor]:empty,
.frameworks-workspace [data-editor] [data-workflow]:empty { display: none; }
.frameworks-workspace [data-editor][hidden] { display: none !important; }
.frameworks-workspace :is([data-config], [data-editor]) form > .btn[type="submit"] { justify-self: start; }
@media (max-width: 650px) {
  .frameworks-workspace .frameworks-selection-row > label:first-child { flex-basis: 100%; max-width: none; }
  .frameworks-workspace .frameworks-checkbox { padding-bottom: 0; }
  .frameworks-workspace .frameworks-detail-head { flex-direction: column; }
}

.framework-workspace-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.frameworks-workspace .record-link{color:var(--er-link,#6d28d9);background:none;border:0;padding:0;font:inherit;text-align:left;cursor:pointer}.frameworks-workspace .icon-action{width:28px;height:28px;padding:5px}.frameworks-workspace .icon-action svg{width:17px;height:17px}.frameworks-workspace th:not(:first-child),.frameworks-workspace td:not(:first-child){text-align:center}.frameworks-workspace td[colspan]{text-align:left}
