/* Diagram, Applications and Assets use the Roadmaps list rhythm. Scoped to catalog pages;
   editors, detail pages and dialogs retain their existing behavior and layout. */
html:root[data-theme][data-workspace-design] body.workspace-list-page main.workspace-list [hidden]{display:none!important}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list{box-sizing:border-box;width:100%;max-width:1500px;margin:0 auto;padding:24px clamp(16px,3vw,40px) 48px;font:400 14px/1.5 Arial,"Segoe UI",sans-serif;background:transparent!important;color:var(--workspace-ink)}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.library-section-head,.catalog-heading){display:flex;justify-content:space-between;align-items:center;gap:20px!important;margin:0 0 24px!important;padding:0!important;min-height:0;border:0}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.library-section-head,.catalog-heading) h1{font:500 clamp(24px,3vw,34px)/1.25 Arial,"Segoe UI",sans-serif!important;letter-spacing:-.025em!important;margin:8px 0!important}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.library-section-head,.catalog-heading) p{font:400 14px/1.5 Arial,sans-serif;color:var(--workspace-muted);margin:6px 0 16px}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .catalog-heading-actions{display:flex;flex-wrap:wrap;gap:10px!important}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.library-toolbar,.catalog-toolbar){display:flex;flex-wrap:wrap;align-items:end;gap:10px!important;margin:0 0 24px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.library-toolbar,.catalog-toolbar) label{display:grid;gap:5px;flex:1 1 150px;min-width:0;margin:0;color:var(--workspace-muted);font:400 11px/1.5 Arial,sans-serif!important;text-transform:none;letter-spacing:0}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.library-search,.catalog-search){flex:2 1 280px!important;max-width:420px}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.library-toolbar,.catalog-toolbar) :is(input,select){width:100%;height:38px;margin:0!important;min-width:0;padding:9px 12px!important;font-weight:400!important}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .search-control svg{display:none}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.button,.catalog-button,.catalog-pagination button){display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:9px 12px!important;font:400 13px/1.45 Arial,sans-serif!important;border:1px solid var(--workspace-line)!important;border-radius:6px!important;background:var(--workspace-surface)!important;color:var(--workspace-ink)!important;box-shadow:none!important;white-space:nowrap;text-decoration:none}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.button.primary,#newApplication,#newAsset){background:var(--workspace-accent)!important;border-color:var(--workspace-accent)!important;color:var(--workspace-on-accent)!important}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-list-panel,.catalog-card){margin:0;padding:0;border:1px solid var(--workspace-line)!important;border-radius:8px!important;background:var(--workspace-surface)!important;box-shadow:none!important;min-width:0}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table-wrap,.catalog-table-wrap){margin:0;border:0;border-radius:8px 8px 0 0;overflow:auto}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table,.catalog-table){width:100%;min-width:0;table-layout:auto;border-collapse:collapse;text-align:left;font:400 13px/1.5 Arial,sans-serif!important}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table,.catalog-table) th{height:auto;padding:13px 16px;font:400 10px/1.5 Arial,sans-serif!important;letter-spacing:.06em!important;text-transform:uppercase;white-space:nowrap;background:var(--workspace-surface)!important;border:0}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table,.catalog-table) td{padding:15px 16px;border:0;border-top:1px solid var(--workspace-line);vertical-align:middle;white-space:normal;background:var(--workspace-surface)!important;font:400 13px/1.5 Arial,sans-serif!important}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table,.catalog-table) tbody tr:hover td{background:var(--workspace-soft)!important}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table td:nth-child(2),.catalog-table td:first-child){width:38%;overflow-wrap:anywhere}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table,.catalog-table) :is(a,strong){font-weight:400!important}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-name,.catalog-table td:first-child a){font:400 15px/1.45 Arial,sans-serif!important;color:var(--workspace-accent)!important;text-decoration:none}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .diagram-subtitle{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font:400 12px/1.5 Arial,sans-serif!important;color:var(--workspace-muted)!important;margin:4px 0 0;max-width:460px}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.catalog-badge,.diagram-status){display:inline-flex;padding:4px 10px;border-radius:20px;border:0;background:var(--workspace-soft)!important;color:var(--workspace-accent)!important;font:400 12px/1.5 Arial,sans-serif!important;white-space:nowrap}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .check-column{width:32px;padding-right:0;text-align:center}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .diagram-list-toolbar{padding:10px 16px;min-height:44px;border-radius:8px 8px 0 0;background:var(--workspace-surface);border-color:var(--workspace-line)}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .select-all{font:400 12px/1.5 Arial,sans-serif}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.list-footer,.catalog-pagination){display:flex;align-items:center;justify-content:space-between!important;gap:12px;padding:12px 16px!important;margin:0!important;min-height:0!important;border-top:1px solid var(--workspace-line);font:400 12px/1.5 Arial,sans-serif!important;color:var(--workspace-muted)}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .list-footer{display:none}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .catalog-pagination button{margin-left:auto}
html:root[data-theme][data-workspace-design] body.workspace-list-page .diagram-action-popover button{font:400 12px/1.4 Arial,sans-serif!important}
@media(max-width:1000px){
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .diagram-table :is(th:nth-child(4),td:nth-child(4)){display:none}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table,.catalog-table) :is(th,td){padding:13px 10px}
}
@media(max-width:700px){
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.library-section-head,.catalog-heading){align-items:flex-start;flex-direction:column;gap:8px!important}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.library-toolbar,.catalog-toolbar) label{flex:1 1 140px}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.library-search,.catalog-search){flex-basis:100%!important;max-width:none}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table,.catalog-table),html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table,.catalog-table) tbody{display:block;width:100%}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table,.catalog-table) thead{display:none}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table,.catalog-table) tr{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px;border-top:1px solid var(--workspace-line)}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table,.catalog-table) td{display:block;width:auto!important;padding:0;border:0;min-width:0}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table td:nth-child(2),.catalog-table td:first-child){grid-column:1/-1}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table,.catalog-table) td[data-label]::before{content:attr(data-label);display:block;color:var(--workspace-muted);font:400 10px/1.5 Arial,sans-serif;margin-bottom:4px}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list :is(.diagram-table td:nth-child(2),.diagram-table td:first-child,.diagram-table td:last-child,.catalog-table td:first-child)::before{display:none}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .diagram-table td:first-child{grid-column:1;grid-row:1;text-align:left}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .diagram-table td:last-child{grid-column:2;grid-row:1;justify-self:end}
 html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .catalog-pagination{flex-wrap:wrap}
}

/* Native links cover the complete row, including modifier-click and keyboard focus. */
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .catalog-table tbody tr{position:relative;cursor:pointer}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .catalog-table td a::after{content:"";position:absolute;inset:0;z-index:1}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .catalog-table tbody tr:focus-within td{background:var(--workspace-soft)!important}
html:root[data-theme][data-workspace-design] body.workspace-list-page .workspace-list .catalog-table tbody tr:focus-within{outline:2px solid var(--workspace-accent);outline-offset:-2px}
