body.workspace-ui .deployed-platforms-more { display:none; }
body.workspace-ui #deployedPlatformsModal .modal-dialog { width:min(1040px,calc(100vw - 122px)) !important; }
.deployed-platforms-table-scroll { overflow:auto; border:1px solid var(--line); border-radius:10px; max-height:56dvh; }
.deployed-platforms-table { width:100%; border-collapse:collapse; color:var(--ink); font-size:14px; }
.deployed-platforms-table th { position:sticky; top:0; z-index:1; background:var(--field); font-size:12px; white-space:nowrap; }
.deployed-platforms-table th, .deployed-platforms-table td { padding:12px; border-bottom:1px solid var(--line); }
.deployed-platforms-table tbody tr { cursor:pointer; }
.deployed-platforms-table tbody tr:hover { background:var(--field); }
.deployed-platforms-table td { overflow-wrap:anywhere; min-width:95px; }
.deployed-platforms-table td:first-child { min-width:170px; }
.deployed-platforms-table small { display:block; margin-top:4px; color:var(--muted); }
body.workspace-ui #deployedPlatformsModal .deployed-platform-name { padding:0; border:0; min-height:32px; text-align:left; font-weight:bold; background:transparent; color:var(--accent); overflow-wrap:anywhere; cursor:pointer; }
.deployed-platform-actions { white-space:nowrap; }
.deployed-platform-actions button + button { margin-left:6px; }
#deployedPlatformsCount { margin:12px 0; color:var(--muted); }
.deployed-platform-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) auto; align-items:end; gap:12px; margin-top:16px; }
.deployed-platform-filters label { min-width:0; margin:0; font-size:13px; color:var(--muted); }
.deployed-platform-filters select { margin-top:6px; width:100%; }
@media(min-width:701px) { body.workspace-ui .workspace-rail { overflow-y:auto; } }
@media(max-width:700px) {
    body.workspace-ui .workspace-rail .deployed-platforms-rail { display:none; }
    body.workspace-ui .deployed-platforms-more { display:flex; }
    body.workspace-ui #deployedPlatformsModal .modal-dialog { width:calc(100% - 16px) !important; }
    .deployed-platforms-table th, .deployed-platforms-table td { padding:10px; }
    .deployed-platform-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
    #deployedPlatformsClear { grid-column:1 / -1; }
}
