:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #253b32; background: #f7f8f5; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 32px 24px; }
main { width: 100%; max-width: 350px; }
.brand { font-size: 14px; font-weight: 700; letter-spacing: 2px; margin-bottom: 42px; color: #42634e; }
h1 { font-size: 30px; letter-spacing: -1px; font-weight: 600; margin: 0 0 12px; }
#description, .description { color: #7a837a; font-size: 14px; line-height: 1.7; margin: 0 0 30px; }
label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 9px; }
input, select { width: 100%; min-height: 46px; border: 1px solid #d7ded4; background: white; border-radius: 6px; padding: 11px 13px; font: inherit; font-size: 14px; color: inherit; margin-bottom: 21px; }
input:focus, select:focus { outline: 2px solid #91b39b; outline-offset: 2px; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid #91b39b; outline-offset: 4px; }
#submit, .primary { width: 100%; min-height: 46px; border: 0; border-radius: 6px; padding: 12px; background: #2d5341; color: white; font-size: 14px; margin-top: 3px; }
#submit:hover, .primary:hover { background: #214331; }
button:disabled { opacity: .6; cursor: wait; }
nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; }
nav button { border: 0; padding: 0; background: none; color: #5a7360; font-size: 12px; }
nav button:hover { text-decoration: underline; }
#message, .notice { font-size: 13px; line-height: 1.7; background: #edf1e9; padding: 12px; border-radius: 6px; overflow-wrap: anywhere; white-space: pre-line; }
#desktop-page { max-width: 440px; }
[hidden] { display: none !important; }
.inventory-body { display: block; padding: 36px 24px; }
#mydesktops-page { max-width: 1500px; margin: 0 auto; }
.inventory-header, .inventory-heading, .table-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.inventory-header { padding-bottom: 30px; border-bottom: 1px solid #e0e5da; margin-bottom: 44px; }
.inventory-header .brand { margin: 0; }
.inventory-heading { margin-bottom: 30px; }
.inventory-heading .description { margin-bottom: 0; }
.create-link { width: auto; display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; padding: 13px 18px; }
.text-link { color: #5a7360; font-size: 12px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid #91b39b; outline-offset: 4px; }
.inventory-panel { background: white; border: 1px solid #dfe5da; border-radius: 8px; overflow: hidden; }
.table-heading { padding: 22px 24px; }
.table-heading h2 { font-size: 14px; font-weight: 600; margin: 0; }
.table-heading h2 span { margin-left: 8px; padding: 3px 7px; background: #eef2e9; border-radius: 5px; color: #788572; font-size: 11px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
th { background: #f9faf6; font-weight: 500; color: #7a8674; font-size: 11px; padding: 14px 16px; border-top: 1px solid #e8ece1; white-space: nowrap; }
td { padding: 23px 16px; border-top: 1px solid #e8ece1; }
.platform { white-space: nowrap; }
td strong { font-size: 13px; font-weight: 550; }
td small { display: block; margin-top: 6px; color: #8b9586; font-size: 10px; }
.owner-id { display: block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7b8774; font-size: 11px; }
.platform { font-family: ui-monospace, monospace; font-size: 12px; }
.status { display: inline-block; border-radius: 16px; padding: 5px 10px; background: #edf0e9; color: #78816f; font-size: 11px; white-space: nowrap; }
.status.running { background: #e8f4e9; color: #43804c; }
.status.pending, .status.creating { background: #fbf2dd; color: #987936; }
.empty-state { text-align: center; padding: 65px 24px; }
.empty-state strong { font-size: 16px; }
.empty-state p { font-size: 13px; color: #87917e; }
@media (max-width: 650px) { .inventory-body { padding: 26px 20px; } .inventory-heading { align-items: flex-start; flex-direction: column; } .inventory-header { margin-bottom: 32px; } td, th { padding: 17px; } }
.vm-actions { display: flex; gap: 7px; }
.icon-button { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 7px; border: 1px solid #dbe2d4; border-radius: 6px; background: white; color: #41624b; }
.icon-button:hover { background: #edf3e7; }
.icon-button:disabled { color: #a3ad9b; background: #f7f9f4; cursor: not-allowed; }
.icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.terminate-button { color: #a34c3e; border-color: #e6cdc5; }
.terminate-button:hover { background: #faeee9; }
