1.vms-list th:not(:first-child), .vms-list tr.top > td:not(.title) { width: 1%; white-space: nowrap; }
2.vm-setup { position: absolute; inset: 0; z-index: 2; background: var(--panel); display: grid; align-content: center; justify-items: center; gap: 12px; margin: 0; }
3.vms-list .row-skeleton { height: 36px; margin: 14px var(--gutter); }
4
5.vms-list tbody.vm tr { cursor: pointer; }
6.vms-list tbody.vm tr > td { transition: background-color 150ms; }
7.vms-list tbody.vm:has(tr:hover) tr > td { background: var(--hover); }
8.vms-list tr.top > td { padding-top: 8px; padding-bottom: 8px; vertical-align: top; }
9.vm-resource-usage { display: block; margin-top: 0; color: var(--muted); font-size: 12px; }
10.vms-list td:focus-visible { outline-offset: -2px; }
11
12.vms-list td.title { min-width: 220px; max-width: 0; }
13.vms-list td.title button {
14 display: flex;
15 align-items: center;
16 min-height: 36px;
17 gap: 8px;
18 width: 100%;
19 padding: 0;
20 border: 0;
21 background: none;
22 color: inherit;
23 font: inherit;
24 text-align: left;
25 white-space: nowrap;
26 cursor: pointer;
27}
28.vms-list td.title button:focus-visible { outline-offset: 2px; }
29.vm-name { min-width: 0; max-width: 100%; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
30.vms-list tbody.off .vm-name { color: var(--text-2); }
31.vms-list .for { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); }
32.vms-list .specs { display: flex; flex-wrap: wrap; gap: 3px 12px; margin-top: 0; color: var(--muted); font-size: 12px; cursor: default; }
33.vms-list .specs span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
34.vms-list .specs svg { flex: none; }
35.vms-list .specs .mono { color: var(--text-2); }
36
37
38.vm-detail { display: grid; align-content: start; gap: 28px; }
39.vm-detail h2 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
40.vm-detail h3 { margin: 0 0 14px; font-size: 13px; font-weight: 600; }
41.vm-detail .off-hour { margin: 0; color: var(--muted); font-size: 12px; }
42.vm-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
43.vm-charts .skeleton { height: 104px; }
44.vm-detail .facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; }
45.vm-detail .kv { align-content: start; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; }
46.vm-detail .kv dd { min-width: 0; overflow-wrap: anywhere; }
47.vm-detail .source { min-width: 0; overflow-wrap: anywhere; }
48.vm-devices { display: grid; align-content: start; gap: 28px; }
49.vm-device-line { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
50.vm-device-line > svg { flex: none; align-self: center; color: var(--muted); }
51.vm-device-line .num { margin-left: auto; white-space: nowrap; }
52.vm-disk { display: grid; gap: 8px; font-size: 13px; }
53.vm-disk + .vm-disk { margin-top: 16px; }
54.vm-disk .meter { width: 100%; height: 5px; }
55.vm-disk > .muted { font-size: 12px; }
56.vm-firmware { margin-top: 16px; }
57.vm-nic + .vm-nic { margin-top: 18px; }
58.vm-nic > .kv { margin-top: 12px; font-size: 12px; }
59.vm-usage { padding-top: 4px; }
60
61.vms-empty { display: grid; justify-items: center; gap: 8px; }
62.vms-empty p { margin: 0; }
63
64.dialog:has(.vm-create) { width: min(580px, calc(100vw - 32px)); }
65.vm-create { display: grid; gap: 18px; }
66.vm-create .hint { margin: 0; }
67.vm-custom-iso { display: flex; align-items: end; gap: 10px; }
68.vm-custom-iso .field { flex: 1; min-width: 0; }
69.vm-resources { display: grid; gap: 18px; }
70.vm-resource { display: grid; gap: 7px; font-size: 13px; }
71.vm-resource > span { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
72.vm-resource output { color: var(--text); font-variant-numeric: tabular-nums; }
73.vm-resource input { width: 100%; margin: 0; accent-color: var(--accent); cursor: pointer; }
74.vm-resource-scale { color: var(--muted); font-size: 11px; }
75.vm-hardware summary { cursor: pointer; font-size: 13px; color: var(--text-2); }
76.vm-hardware .row { margin-top: 12px; }
77.vm-upload-progress { display: grid; gap: 8px; }
78.vm-upload-progress progress { width: 100%; accent-color: var(--accent); }
79.vm-console { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; background: var(--panel); }
80.vm-console-toolbar { display: flex; flex: none; align-items: center; flex-wrap: wrap; gap: 4px; padding: 6px 12px; border-bottom: 1px solid var(--grid); }
81.vm-console-status { color: var(--text-2); font-size: 12px; }
82.vm-credentials { display: grid; gap: 16px; padding: 10px; }
83.vm-credentials h2 { margin: 0 0 6px; color: var(--text-2); font-size: 12px; font-weight: 600; }
84.vm-credential-password { display: flex; gap: 8px; align-items: stretch; }
85.vm-credential-password > .button { height: auto; min-height: 34px; white-space: nowrap; }
86.vm-console-screen { flex: 1; background: #101014; min-height: 0; position: relative; }
87.vm-console-screen video { display: block; width: 100%; height: 100%; object-fit: contain; outline: none; touch-action: none; }
88.vm-screen-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; background: #101014; }
89.vm-stream-stats { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 6px 12px; font-size: 12px; font-variant-numeric: tabular-nums; }
90.vm-cursor { display: none; position: fixed; left: 0; top: 0; pointer-events: none; }
91.vm-cursor-invert { mix-blend-mode: difference; }
92.vm-console-error { position: absolute; top: 0; left: 0; right: 0; z-index: 1; padding: 8px 12px; margin: 0; font-size: 12px; background: var(--surface); }
93.vm-clipboard { display: grid; gap: 8px; padding: 12px; }
94@media (max-width: 640px) {
95 .vm-detail .facts, .vm-charts { grid-template-columns: 1fr; }
96}
97
98.vm-workspace { min-width: 0; }
99.vms .page-head { flex-wrap: wrap; }
100
101.vms .vms-list { overflow-x: auto; }
102.vms .vms-list table { min-width: 540px; }
103@media (max-width: 900px) {
104 .shell:has(.vms) { --sidebar: 220px; grid-template-columns: var(--sidebar) minmax(0, 1fr); }
105 .vms { --gutter: 16px; }
106 .vm-detail .facts { grid-template-columns: 1fr; }
107}
108
109.vm-library { margin-top: 28px; }
110.vm-library h2 { font-size: 15px; display: flex; align-items: baseline; gap: 14px; }
111.vm-library h2 span { font-size: 12px; font-weight: normal; }
112.vm-library details { margin-top: 18px; }
113.vm-library summary { cursor: pointer; color: var(--text-2); font-size: 13px; margin-bottom: 8px; }
114.vm-library-item { display: flex; gap: 12px; padding-block: 7px; font-size: 12px; }
115.vm-clipboard .field { display: grid; gap: 6px; font-size: 12px; }
116.vm-count { font-size: 12px; }
117
118.vms.vm-active { padding: 0; max-width: none; width: 100%; }
119.vm-active .list-body.flush { position: relative; margin: 0; padding: 0; overflow: hidden; }
120.vm-active .list-body.flush > .stale-note { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; margin: 0; padding: 8px 12px; background: var(--surface); }
121.vm-active .list-body.flush > .vm-workspace { margin: 0; flex: 1; min-height: 0; }
122.vm-workspace { display: flex; flex-direction: column; }
123.vms .vm-home { display: none; }
124@media (max-width: 640px) {
125 .shell:has(.vms) { grid-template-columns: minmax(0, 1fr); }
126 .shell:has(.vms) > .sidebar { display: none; }
127 .vms .vm-home { display: inline-flex; }
128 .vm-library-item { flex-wrap: wrap; }
129 .vm-library-item .spacer { display: none; }
130 .vms-list .for { display: none; }
131}
132.vm-console-screen[hidden] { display: none; }
133.vm-workspace .vm-detail { padding: 20px var(--gutter); overflow: auto; flex: 1; min-height: 0; }
134.vm-menu { position: relative; font-size: 12px; }
135.vm-menu summary { display: flex; align-items: center; gap: 5px; list-style: none; cursor: pointer; padding: 6px 8px; border-radius: 4px; user-select: none; }
136.vm-menu summary svg { color: var(--muted); }
137.vm-menu summary::-webkit-details-marker { display: none; }
138.vm-menu summary:hover, .vm-menu[open] summary { background: var(--hover); }
139.vm-menu > div { position: absolute; top: calc(100% + 6px); left: 0; min-width: 180px; max-width: 300px; z-index: 5; display: flex; flex-direction: column; padding: 4px; border: 1px solid var(--grid); border-radius: 7px; background: var(--panel); box-shadow: 0 6px 24px #0005; }
140.vm-menu:last-of-type > div { left: auto; right: 0; }
141.vm-menu > div:has(.vm-credentials) { left: auto; right: 0; width: min(380px, calc(100vw - 24px)); max-width: none; }
142@media (max-width: 900px) {
143 .vm-console-toolbar { position: relative; }
144 .vm-menu:has(.vm-credentials) { position: static; }
145 .vm-menu > div:has(.vm-credentials) { right: 12px; }
146}
147.vm-menu > div > button { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; border: 0; border-radius: 4px; background: transparent; color: var(--text); padding: 7px 10px; font: inherit; text-align: left; cursor: pointer; }
148.vm-menu > div > button svg { flex: none; }
149.vm-menu > div > button:hover:not(:disabled) { background: var(--hover); }
150.vm-menu > div > button:disabled { color: var(--muted); cursor: default; }
151.vm-menu > div > button.danger { color: var(--danger); }
152.vm-menu-info { display: block; font-size: 11px; padding: 8px 10px; overflow-wrap: anywhere; }
153
154.vm-serial { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 12px 16px; gap: 8px; }
155.vm-serial[hidden] { display: none; }
156.vm-serial-tools { display: contents; }
157.vm-serial p { margin: 0; font-size: 12px; }
158.vm-serial-surface { position: relative; display: flex; flex: 1; min-height: 0; }
159.vm-serial-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 13px; pointer-events: none; }
160.vm-serial-empty button { pointer-events: auto; }
161.vm-serial-terminal { flex: 1; min-height: 0; --clo-term-bg: var(--page); --clo-term-fg: var(--text); --clo-term-cursor: var(--accent); }
162
163.vm-setup-elapsed { display: block; font-variant-numeric: tabular-nums; margin-bottom: 16px; color: var(--muted); }
164
165.vms-list td.state .status-label { min-height: 36px; }
166.vms-list td.num > div { display: flex; align-items: center; justify-content: flex-end; height: 36px; }
167.vms-list td.actions > div { height: 36px; }