/* Asset workspace uses the platform's shared light/dark color tokens. */
:root{--surface:#f5f9ff}.dark{--surface:#182439}
.asset-workspace{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:16px;align-items:start}.asset-main{min-width:0}.asset-header{padding:18px 16px 16px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(125deg,var(--panel),var(--surface))}.asset-header .page-toolbar{margin:0 0 16px;gap:16px;align-items:flex-start}.asset-header .page-toolbar h2{font-size:23px;margin-bottom:6px}.asset-header .page-toolbar p{font-size:12px;max-width:780px;line-height:1.7;margin:0}.asset-create{position:relative;flex:none;margin-top:2px}.asset-create summary{cursor:pointer;list-style:none;font-size:12px;padding:11px 15px;border-radius:7px;white-space:nowrap;box-shadow:0 4px 12px #1674ff22}.asset-create summary::-webkit-details-marker{display:none}.asset-create>div{position:absolute;z-index:12;right:0;top:42px;min-width:180px;border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:6px;box-shadow:0 6px 24px #10295020}.asset-create a,.asset-create button{display:block;padding:10px;width:100%;text-align:left;border:0;background:none;color:var(--text);font-size:12px}.asset-create a:hover,.asset-create button:hover{background:var(--surface)}.asset-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.asset-metric{position:relative;min-width:0;min-height:110px;display:flex;gap:8px;border:1px solid var(--line);border-radius:9px;background:var(--panel);padding:13px 10px;overflow:hidden;align-items:flex-start}.asset-metric .metric-icon{width:36px;height:36px;flex:none}.asset-metric>div>small{display:block;color:var(--muted);font-size:11px;white-space:nowrap}.asset-metric strong{display:block;font-size:23px;line-height:1.4;letter-spacing:-.5px;color:var(--text)}.asset-metric>div>span{display:block;font-size:10px;color:var(--muted);line-height:1.5}.asset-metric .metric-bars{right:9px;bottom:12px;height:30px;gap:3px;opacity:.85}.asset-metric .metric-bars i{width:4px}.asset-metric .metric-bars~*{z-index:1}.asset-storage-mini{position:absolute;left:12px;right:12px;bottom:9px;text-align:right}.asset-storage-mini small{font-size:10px;color:var(--muted)}.asset-metric:has(.asset-storage-mini)>div>span{font-size:9px}.asset-version-badges{display:flex!important;gap:4px;position:absolute;bottom:11px;left:10px;right:8px;flex-wrap:wrap}.asset-version-badges i{font-style:normal;padding:2px 5px;font-size:9px;background:#e9f3ff;color:#1976fc;border-radius:4px}.asset-version-badges i:nth-child(2){background:#fff3dd;color:#ed970d}.asset-version-badges i:nth-child(3){background:#eee6ff;color:#8050eb}.asset-data-panel{padding:0!important;margin-top:16px;overflow:hidden}.asset-filters{display:flex;gap:8px;padding:14px 12px;flex-wrap:wrap;align-items:flex-end;border-bottom:1px solid var(--line);background:linear-gradient(180deg,var(--panel),var(--surface))}.asset-filters>label{font-size:12px;color:var(--muted);min-width:88px;flex:1}.asset-filters input,.asset-filters select{width:100%;padding:7px 8px;min-height:32px;font-size:12px;margin-top:5px;background:var(--panel)}.asset-filters .asset-search{flex:2.3;min-width:210px;position:relative;margin-bottom:0}.asset-search .ui-icon{position:absolute;left:9px;bottom:8px;width:16px;height:16px}.asset-search input{padding-left:30px!important}.asset-filters .asset-date-range{min-width:216px;flex:1.5}.asset-date-range>div{display:flex;align-items:center;gap:4px}.asset-date-range input{min-width:0;width:calc(50% - 8px);padding:7px 4px!important;font-size:10px!important}.asset-filters>button{height:32px;display:flex;align-items:center;gap:5px;min-width:64px;font-size:11px;padding:6px 9px}.asset-filters>button .ui-icon{width:14px;height:14px}.asset-bulk-bar{display:flex;align-items:center;padding:10px 12px;gap:7px;flex-wrap:wrap;min-height:48px}.asset-bulk-bar>strong{font-size:11px;margin-right:10px;color:var(--muted);min-width:70px}.asset-bulk-bar button{font-size:11px;display:flex;gap:4px;align-items:center;padding:6px 9px;border-radius:5px;min-height:28px}.asset-bulk-bar .ui-icon{width:13px;height:13px}.asset-bulk-bar .text-link{margin-left:auto;border:0}.asset-table{min-width:870px;font-size:11px;table-layout:auto;width:100%;border-collapse:separate;border-spacing:0}.asset-table th{font-size:12px;white-space:nowrap;background:var(--surface);color:var(--muted);padding:9px 7px}.asset-table td{padding:9px 7px;vertical-align:middle;border-bottom:1px solid var(--line);line-height:1.45}.asset-table th:first-child,.asset-table td:first-child{width:28px;padding-left:12px}.asset-table th:nth-child(2){width:22%}.asset-table th:last-child{width:100px}.asset-table tr.selected td{background:#1976ff08}.asset-table tr:hover td{background:var(--surface)}.asset-table input[type=checkbox],.asset-version-form input[type=checkbox]{width:13px;height:13px;accent-color:var(--blue);padding:0;vertical-align:middle}.asset-table td strong{font-size:11px;font-weight:500}.asset-table td small{display:block;font-size:9px;color:var(--muted);max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.asset-name-cell{display:flex;gap:8px;align-items:center;min-width:156px}.asset-thumbnail{width:30px;height:34px;border-radius:5px;background:linear-gradient(135deg,#e9f0f8,#b9c8dc);color:#627895;display:flex;align-items:center;justify-content:center;flex:none}.asset-thumbnail .ui-icon{width:24px;height:24px}.asset-name-link{display:block;background:none;border:0;text-align:left;color:var(--text);font-weight:600;font-size:11px;padding:0;max-width:146px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.asset-name-link:hover{color:var(--blue)}.asset-robot-cell{display:flex;align-items:center;gap:5px;min-width:85px;font-size:10px}.asset-robot-cell .ui-icon{width:19px;height:24px;flex:none;color:#7790af}.asset-kind{display:inline-block;padding:4px 6px;border-radius:4px;font-size:10px;white-space:nowrap;background:#e9eff6;color:#6982a2}.kind-mcap{background:#def5ec;color:#08765e}.dark .asset-workspace .kind-mcap{background:#173e35;color:#8fe2c5}.kind-rosbag2{background:#e3f3ff;color:#1682ff}.kind-v21,.kind-v30{background:#efe5ff;color:#9142fd}.kind-training{background:#fff0d8;color:#f29a00}.asset-table .status-pill{font-size:10px;padding:4px 7px;white-space:nowrap}.asset-table .status-pill:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin-right:4px}.asset-progress{height:7px;border-radius:8px;background:#dce7f7;overflow:hidden;min-width:52px}.asset-progress>span{display:block;height:100%;border-radius:8px;background:#087dff}.asset-table .asset-progress{height:5px;margin-top:4px;max-width:90px}.asset-table .asset-progress>span{background:#04c58b}.asset-progress.warning>span{background:#ffad28}.asset-row-actions{display:flex;gap:4px;white-space:nowrap}.asset-row-actions button{border:0;border-radius:5px;width:32px;height:32px;padding:6px;background:#e4f2ff;color:#1987ff}.asset-row-actions button:nth-child(2){background:#f0e8ff;color:#9954ff}.asset-row-actions button:nth-child(3){background:var(--panel);border:1px solid var(--line);font-weight:700}.asset-row-actions .ui-icon{width:15px;height:15px}.asset-pagination{display:flex;justify-content:space-between;align-items:center;padding:12px;font-size:11px;color:var(--muted);gap:8px}.asset-pagination>div{display:flex;gap:6px;align-items:center}.asset-pagination button,.asset-pagination select{background:var(--panel);border:1px solid var(--line);border-radius:5px;padding:5px 8px;font-size:10px;color:var(--text)}.asset-sidebar{display:grid;gap:12px}.asset-sidebar .panel{padding:14px 13px!important;margin:0!important}.asset-sidebar .section-head{margin-bottom:16px;gap:5px}.asset-sidebar h2{font-size:14px!important;white-space:nowrap}.asset-sidebar .text-link{font-size:10px;white-space:nowrap;border:0;padding:0;background:none}.asset-category-chart{display:flex;gap:12px;align-items:center}.asset-category-chart .quality-donut{height:90px;width:90px;min-width:90px}.asset-category-chart .quality-donut>div{inset:14px}.asset-category-chart .quality-donut strong{font-size:19px}.asset-category-chart .quality-donut small{font-size:9px}.asset-legend{display:grid;gap:9px;flex:1;margin-top:13px}.asset-category-chart .asset-legend{margin:0;gap:8px}.asset-legend button{display:flex;align-items:center;gap:5px;border:0;background:none;color:var(--muted);font-size:10px;text-align:left;padding:0;min-width:0}.asset-legend i{display:inline-block;width:6px;height:6px;border-radius:50%;flex:none}.asset-legend span{flex:1;white-space:nowrap}.asset-legend small{font-size:9px;white-space:nowrap}.asset-category-chart .asset-legend button{flex-wrap:wrap;gap:4px}.asset-category-chart .asset-legend small{margin-left:10px}.asset-category-chart .asset-legend span{font-size:9px}.asset-storage-label{font-size:11px;color:var(--muted);display:flex;gap:3px;flex-wrap:wrap;margin-bottom:9px}.asset-storage-label strong{color:var(--text);font-size:11px}.asset-storage-label>span{margin-left:auto}.asset-sidebar .panel>small{display:block;font-size:9px;line-height:1.6;margin-top:10px}.asset-sidebar>.panel:nth-child(2)>.asset-progress{height:12px}.asset-quality-bars{display:flex;gap:10px;align-items:flex-end;height:120px;border-bottom:1px solid var(--line);padding-bottom:5px}.asset-quality-bars button{border:0;background:none;flex:1;display:flex;align-items:center;flex-direction:column;padding:0;color:var(--muted);font-size:9px}.asset-quality-bars strong{font-size:10px;color:var(--text);margin-bottom:4px}.asset-quality-bars i{width:27px;border-radius:3px 3px 0 0;display:block;margin-bottom:5px}.asset-quality-bars small{font-size:8px}.asset-recent-jobs{display:grid;gap:12px}.asset-recent-jobs>button{display:flex;align-items:center;gap:7px;background:none;border:0;padding:0;text-align:left;width:100%;color:var(--text)}.asset-recent-jobs .metric-icon{width:23px;height:23px;flex:none}.asset-recent-jobs .metric-icon .ui-icon{width:14px;height:14px}.asset-recent-jobs>button>div{min-width:0;flex:1}.asset-recent-jobs strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;font-weight:500}.asset-recent-jobs small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.asset-recent-jobs .status-pill{font-size:9px;padding:3px 5px}.asset-dialog{max-width:700px!important;width:min(700px,calc(100vw - 32px));max-height:85vh!important;overflow-y:auto;overflow-x:hidden;padding:22px!important}.asset-dialog .form-stack{display:grid;gap:14px}.asset-dialog textarea{resize:vertical;min-height:100px;width:100%;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:9px}.asset-dialog pre{white-space:pre-wrap;word-break:break-word;font-size:11px;background:var(--surface);padding:10px;border-radius:6px}.asset-dialog label.inline{display:flex;gap:8px;align-items:center}.asset-dialog label.inline input{width:auto}.asset-more-menu{display:grid;grid-template-columns:1fr 1fr;gap:9px}.asset-more-menu button{font-size:12px;padding:10px;text-align:left}.asset-job-list{display:grid;gap:10px;margin-top:12px}.asset-job-list article{padding:12px;border:1px solid var(--line);border-radius:8px;min-width:0}.asset-job-list article>div{display:flex;gap:8px;justify-content:space-between}.asset-job-list strong{font-size:12px}.asset-job-list small{display:block;font-size:10px;color:var(--muted);overflow-wrap:anywhere;margin-top:5px}.asset-job-list p{font-size:11px;overflow-wrap:anywhere}.asset-job-list button{font-size:11px;margin-top:8px}.dark .asset-progress{background:#26374d}.dark .asset-kind,.dark .asset-version-badges i,.dark .asset-row-actions button{background:#1d344c}.dark .kind-v21,.dark .kind-v30,.dark .asset-row-actions button:nth-child(2){background:#30234b}.dark .kind-training{background:#48351d}.dark .asset-thumbnail{background:linear-gradient(135deg,#33475d,#526578);color:#b7cce5}
@media(min-width:1550px){.asset-workspace{grid-template-columns:minmax(0,1fr) 300px}.asset-category-chart .asset-legend button{flex-wrap:nowrap}.asset-category-chart .asset-legend small{margin-left:0}.asset-table{font-size:12px}.asset-table td{padding-top:11px!important;padding-bottom:11px!important}.asset-metric strong{font-size:26px}}
@media(max-width:1280px){.asset-workspace{grid-template-columns:minmax(0,1fr) 240px;gap:12px}.asset-metric{padding:10px 7px;gap:5px}.asset-metric .metric-icon{width:28px;height:28px}.asset-metric strong{font-size:20px}.asset-metric>div>small{font-size:10px}.asset-sidebar .panel{padding:12px 10px!important}.asset-category-chart{gap:8px}.asset-category-chart .quality-donut{width:78px;height:78px;min-width:78px}}
@media(max-width:1080px){.asset-workspace{grid-template-columns:1fr}.asset-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-category-chart .asset-legend button{flex-wrap:nowrap}.asset-category-chart .asset-legend small{margin-left:0}.asset-category-chart .quality-donut{width:100px;height:100px;min-width:100px}.asset-table{min-width:920px}.asset-header .page-toolbar h2{font-size:21px}.asset-metric{min-height:106px}}
@media(max-width:650px){.asset-header{padding:12px}.asset-header .page-toolbar{flex-direction:column;gap:12px}.asset-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-metric:last-child{grid-column:1/-1}.asset-metric{min-height:94px}.asset-metric .metric-icon{width:36px;height:36px}.asset-metric strong{font-size:23px}.asset-filters{gap:10px}.asset-filters>label{min-width:calc(50% - 10px)}.asset-filters .asset-search{min-width:100%;flex:1}.asset-filters .asset-date-range{min-width:100%}.asset-bulk-bar>strong{width:100%;margin-bottom:3px}.asset-sidebar{grid-template-columns:1fr}.asset-header .page-toolbar p{font-size:11px}.asset-pagination{flex-wrap:wrap}.asset-more-menu{grid-template-columns:1fr}.asset-dialog{padding:16px!important}.asset-row-actions button{height:36px;width:36px}.asset-data-panel .table-wrap{overflow-x:auto}.asset-create{width:100%}.asset-create summary{text-align:center}.asset-create>div{width:100%}}
.asset-filters input,.asset-filters select{border:1px solid var(--line);border-radius:6px;color:var(--text);font-family:inherit;outline-color:var(--blue)}.asset-category-chart .quality-donut>div{width:calc(100% - 24px);height:calc(100% - 24px)}
@media(max-width:650px){.asset-metric strong{font-size:20px;white-space:nowrap}.asset-bulk-bar button{flex-shrink:0}.asset-dialog .form-stack{margin-top:15px}}

.asset-table td:nth-child(8)>span{font-size:10px}.asset-table td:nth-child(8)>small{font-size:9px}

/* Ownership and delivery extend existing panels without changing theme or navigation. */
.data-access-filters {display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line);}
.data-owner-label {display:flex;flex-wrap:wrap;align-items:center;gap:4px;white-space:normal;}
.data-owner-label .text-link {min-height:24px;padding:0 4px;}
.delivery-panel {margin-top:16px;min-width:0;}
.delivery-panel .section-head {align-items:start;gap:16px;}
.delivery-panel .section-head p {margin:6px 0 0;}
.delivery-summary,.delivery-inline-form {display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0;}
.delivery-summary>span {display:grid;gap:4px;min-width:0;}
.delivery-summary strong {overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
.delivery-inline-form label {flex:1;min-width:180px;}
.delivery-device-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:12px;margin:16px 0;}
.delivery-device-grid>article,.delivery-pairing {padding:16px;border:1px solid var(--line);border-radius:8px;min-width:0;}
.delivery-device-grid .message,.delivery-panel td small {display:block;overflow-wrap:anywhere;}
.delivery-pairing {display:grid;gap:12px;margin:16px 0;}
.delivery-panel table {min-width:720px;}
.delivery-panel td {vertical-align:top;}
.delivery-panel td details {max-width:320px;margin-bottom:8px;}
.data-owner-label>span {min-width:0;overflow-wrap:anywhere;}
