/* VM inventory only: do not alter financial tables or other dashboard cards. */
.vm-workspace{display:grid;gap:16px;min-width:0}
.vm-workspace>*{min-width:0}
.vm-workspace .page-heading{margin:0;gap:14px;align-items:center}
.vm-workspace .page-heading h1{font-size:clamp(21px,1.8vw,27px);line-height:1.3}
.vm-workspace .page-heading p{font-size:13px;line-height:1.5;margin:5px 0 0}
.vm-workspace .page-heading>.flex,.vm-workspace .page-heading>.flex>.flex{gap:8px}
.vm-workspace .btn{font-size:12px;line-height:1.4;padding:9px 12px;min-height:36px;white-space:normal}
.vm-workspace .badge{font-size:11px;line-height:1.5;padding:5px 8px;white-space:normal}
.vm-workspace .metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}
.vm-workspace .metric{min-height:0;padding:13px 15px;border-radius:12px;gap:6px}
.vm-workspace .metric-label{font-size:12px;line-height:1.4;gap:8px}
.vm-workspace .metric-icon{width:28px;height:28px;flex:none;border-radius:8px}
.vm-workspace .metric-icon svg{width:16px;height:16px}
.vm-workspace .metric-value{font-size:26px;line-height:1.2;margin:5px 0;font-variant-numeric:tabular-nums}
.vm-workspace .metric-note{font-size:11px;line-height:1.45;text-align:left;max-width:none;margin:0}
.vm-workspace .panel{margin:0;min-width:0;border-radius:12px}
.vm-workspace .panel-header{padding:13px 16px;gap:12px;flex-wrap:wrap;min-height:0}
.vm-workspace .panel-header h2,.vm-workspace .panel-header h3{font-size:14px;line-height:1.4}
.vm-search-panel{display:grid;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.vm-search-row{display:flex;align-items:end;gap:12px}
.vm-search-label{display:grid;gap:6px;min-width:0;flex:1;font-size:12px;color:var(--muted)}
.vm-workspace .search{width:100%;max-width:none;min-width:0;padding:0;min-height:38px}
.vm-workspace .search input{width:100%;min-width:0;padding:9px 12px 9px 38px;font-size:13px;line-height:1.5;min-height:38px}
.vm-workspace .search svg{width:16px;height:16px;flex:none}
.vm-workspace .filters{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;border:0}
.vm-workspace .filters .tab{padding:7px 12px;min-height:34px;font-size:12px;line-height:1.4;border:1px solid transparent;border-radius:8px}
.vm-workspace .filters .tab.active{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 13%,transparent)}
.vm-workspace #live-vms .compact-toolbar{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:13px 16px;border-bottom:1px solid var(--line)}
.vm-workspace #live-vms .compact-toolbar label{font-size:11px;line-height:1.5;gap:5px}
.vm-workspace #live-vms .compact-toolbar select{min-height:38px;padding:8px 10px;font-size:12px;border-radius:8px}
.vm-result-count{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.vm-workspace :is(#live-vms,#customer-live-vms) .table-wrap{width:100%;max-width:100%;max-height:none;overflow:auto;overscroll-behavior-inline:contain}
.main .vm-workspace :is(#live-vms,#customer-live-vms) table{table-layout:fixed;width:100%;min-width:990px}
.main .vm-workspace :is(#live-vms,#customer-live-vms) :is(th,td){padding:11px 10px;font-size:12px;line-height:1.45;vertical-align:top;white-space:normal;overflow-wrap:anywhere;max-width:none}
.main .vm-workspace :is(#live-vms,#customer-live-vms) th{font-size:10px;line-height:1.5;letter-spacing:.035em;background:var(--raised)}
.main .vm-workspace #live-vms th:nth-child(1){width:17%}
.main .vm-workspace #live-vms th:nth-child(2){width:12%}
.main .vm-workspace #live-vms th:nth-child(3){width:13%}
.main .vm-workspace #live-vms th:nth-child(4){width:15%}
.main .vm-workspace #live-vms th:nth-child(5){width:10%}
.main .vm-workspace #live-vms th:nth-child(6){width:11%}
.main .vm-workspace #live-vms th:nth-child(7){width:10%}
.main .vm-workspace #live-vms th:nth-child(8){width:12%}
.main .vm-workspace :is(#live-vms,#customer-live-vms) td small{font-size:11px;line-height:1.5;margin-top:4px;color:var(--muted)}
.vm-workspace .vm-name{display:inline-block;line-height:1.5}
.vm-workspace .vm-name strong{font-size:12px;font-weight:650}
.vm-workspace .vm-address>.mono{white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:0}
.vm-workspace .vm-resource-value{white-space:nowrap;font-variant-numeric:tabular-nums}
.vm-workspace .vm-updated{font-size:11px;font-variant-numeric:tabular-nums}
.vm-workspace .link-button{font-size:11px;line-height:1.5;padding:3px 0;min-height:26px}
.vm-workspace .support-pagination{padding:12px 16px;gap:10px;font-size:12px;flex-wrap:wrap}
.vm-workspace .support-pagination>.flex{gap:7px;flex-wrap:wrap}
.vm-workspace .compact-select{font-size:11px;gap:6px}
.vm-workspace .compact-select select{min-height:34px;padding:6px 8px;width:68px;font-size:12px}
.vm-workspace .support-pagination .btn{min-height:34px;padding:7px 10px}
.vm-workspace #live-events .panel-body,.vm-workspace #live-creation .panel-body{padding:10px 16px}
.vm-workspace #live-events .activity-item{gap:10px;padding:10px 0}
.vm-workspace #live-events .activity-icon{width:28px;height:28px;flex:none}
.vm-workspace #live-events p,.vm-workspace #live-creation .keyval{font-size:12px;line-height:1.5;margin:0}
.vm-workspace #live-events small,.vm-workspace #live-creation small{font-size:11px;line-height:1.5}
.vm-recent-events{min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.vm-recent-events>summary{cursor:pointer;padding:13px 16px;font-size:13px;font-weight:600;line-height:1.5}
.vm-recent-events>summary span{float:right;font-size:11px;color:var(--muted);font-weight:400;margin-left:10px}
.vm-recent-events[open]>summary{border-bottom:1px solid var(--line)}
.vm-recent-events #live-events .panel{border:0;border-radius:0;background:transparent;box-shadow:none}
.vm-recent-events #live-events .panel-header{display:none}
.vm-workspace .empty{padding:28px 16px}
.vm-workspace .empty h3{font-size:15px}.vm-workspace .empty p{font-size:12px;line-height:1.6}
.vm-workspace-customer #customer-live-status{font-size:12px;color:var(--muted);margin:0}
.vm-workspace-customer .filter-bar{margin:0;gap:12px}
.vm-workspace-customer .customer-backup-cell strong{font-size:12px;line-height:1.5}
.vm-workspace-customer #customer-live-vms th:first-child{width:20%}
.vm-workspace-customer #customer-live-vms th:last-child{width:24%}
@media(max-width:1100px){.vm-workspace .page-heading{align-items:start}.vm-workspace #live-vms .compact-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .vm-workspace{gap:12px}.vm-workspace .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .vm-workspace .metric{padding:12px}.vm-workspace .metric-value{font-size:23px}
 .vm-search-panel{padding:12px}.vm-search-row{flex-wrap:wrap;gap:8px}.vm-search-label{flex-basis:100%}
 .vm-workspace .filters{gap:5px}.vm-workspace .filters .tab{padding:7px 10px}
 .vm-workspace #live-vms .compact-toolbar{padding:12px;gap:9px}
 .main .vm-workspace :is(#live-vms,#customer-live-vms) .table-wrap{overflow:visible}
 .main .vm-workspace :is(#live-vms,#customer-live-vms) table.responsive-records{display:block;min-width:0;width:100%}
 .main .vm-workspace :is(#live-vms,#customer-live-vms) .responsive-records tbody{display:grid;gap:10px;padding:12px;width:100%;box-sizing:border-box}
 .main .vm-workspace :is(#live-vms,#customer-live-vms) .responsive-records tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;box-sizing:border-box;gap:12px;padding:13px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
 .main .vm-workspace :is(#live-vms,#customer-live-vms) .responsive-records td{display:block;width:auto;min-width:0;padding:0;border:0;font-size:12px;line-height:1.5}
 .main .vm-workspace :is(#live-vms,#customer-live-vms) .responsive-records td:before{display:block;content:attr(data-label);font-size:10px;color:var(--muted);margin-bottom:4px;line-height:1.5}
 .main .vm-workspace :is(#live-vms,#customer-live-vms) .responsive-records td:first-child{grid-column:1/-1;padding-bottom:9px;border-bottom:1px solid var(--line)}
 .main .vm-workspace :is(#live-vms,#customer-live-vms) .responsive-records td:first-child:before{display:none}
 .main .vm-workspace :is(#live-vms,#customer-live-vms) .responsive-records td small{grid-column:auto}
 .vm-workspace .vm-name strong{font-size:13px}.vm-workspace .link-button{min-height:30px}
 .vm-workspace .support-pagination{padding:12px;align-items:start;flex-direction:column}
 .vm-workspace .support-pagination>.flex{width:100%}.vm-workspace .support-pagination .compact-select{margin-right:auto}
}
@media(max-width:360px){.vm-workspace #live-vms .compact-toolbar{grid-template-columns:minmax(0,1fr)}.main .vm-workspace :is(#live-vms,#customer-live-vms) .responsive-records tr{gap:10px;padding:11px}.vm-workspace .metric-label{font-size:11px}.vm-workspace .metric-icon{display:none}}
@media(prefers-reduced-motion:reduce){.vm-workspace *{animation:none!important;transition:none!important}}
