@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/ibm-plex-sans@5.3.0/files/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Lilex";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fontsource/lilex@5.3.0/files/lilex-latin-400-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  font-family: "IBM Plex Sans", sans-serif;
  --border: #3b3f45;
  --border-variant: #30343a;
  --border-focused: #6d93c7;
  --panel-background: #1d2024;
  --editor-background: #24282d;
  --tab-bar-background: #181b1f;
  --elevated-surface-bg: #2b3036;
  --text: #e8eaed;
  --text-muted: #9ca3ad;
  --text-disabled: #6d737c;
  --element-hover: #292e34;
  --element-selected: #30363d;
  --icon-muted: #a1a8b1;
  --icon-disabled: #656b73;
  --positive: #7ec699;
  --warning: #d8b26e;
  --danger: #df8585;
  --workspace-background: #121417;
  --chat-grid-minor: rgb(109 147 199 / .08);
  --base01: 1px;
  --base02: 2px;
  --base04: 4px;
  --base06: 6px;
  --base08: 8px;
  --base12: 12px;
  --base16: 16px;
  --base20: 20px;
  --base24: 24px;
  --base32: 32px;
  --base40: 40px;
  --base48: 48px;
}

* { box-sizing: border-box; }

html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: var(--workspace-background); color: var(--text); font-size: 14px; }
button, textarea, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.auth-state-layout {
  --g: 8px;
  --m: 32px;
  position: fixed;
  top: var(--app-viewport-top, 0px);
  left: 0;
  width: 100%;
  height: var(--app-viewport-height, 100dvh);
  display: grid;
  place-items: center;
  padding: 16px;
  background-color: hsl(220 15% 98%);
  background-image:
    linear-gradient(to right, hsl(220 13% 90% / .7) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(220 13% 90% / .7) 1px, transparent 1px),
    linear-gradient(to right, hsl(220 13% 84%) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(220 13% 84%) 1px, transparent 1px);
  background-size: var(--g) var(--g), var(--g) var(--g), var(--m) var(--m), var(--m) var(--m);
  background-position: 0 0;
  color: #20242a;
}
.auth-state-layout[hidden] { display: none; }

.public-home-layout {
  overflow-y: auto;
  place-items: start center;
}

.auth-state-card {
  width: min(384px, 100%);
  height: 320px;
  border: 1px solid #9da6b2;
  background: hsl(220 15% 98% / .94);
  padding: 32px;
  display: grid;
  grid-template-rows: 64px 104px 1px 55px;
  gap: 16px;
}

.auth-state-mark {
  width: 64px;
  height: 64px;
  border: 1px solid #59616d;
  display: grid;
  place-items: center;
  font: 400 32px/32px "Lilex", monospace;
}

.auth-state-copy h1 { margin: 0; font: 400 32px/32px "IBM Plex Sans", sans-serif; }
.auth-state-copy p { margin: 8px 0 0; line-height: 24px; color: #59616d; }
.auth-state-copy .auth-state-eyebrow { margin: 0; font-size: 10px; line-height: 16px; text-transform: uppercase; letter-spacing: .08em; }
.auth-state-rule { background: #9da6b2; }
.auth-state-footer { align-self: end; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-state-context { margin: 0; font-size: 12px; line-height: 24px; color: #69717c; }
.auth-state-action { flex: none; min-height: 32px; }

.public-home {
  width: min(1040px, 100%);
}

.public-home-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 24px;
  align-items: stretch;
}

.public-home-copy,
.public-home-card {
  border: 1px solid #9da6b2;
  background: hsl(220 15% 98% / .94);
}

.public-home-copy {
  min-height: 432px;
  padding: 32px;
  display: grid;
  align-content: start;
  gap: 20px;
}

.public-home-mark {
  margin-top: 4px;
}

.public-home-copy h1 {
  margin: 0;
  max-width: 12ch;
  font: 400 56px/56px "IBM Plex Sans", sans-serif;
  letter-spacing: -.04em;
}

.public-home-lead,
.public-home-note {
  margin: 0;
  max-width: 52ch;
  color: #59616d;
  font-size: 16px;
  line-height: 28px;
}

.public-home-actions {
  display: grid;
  gap: 12px;
  align-content: start;
}

.public-home-login,
.waitlist-submit,
.auth-state-action {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #59616d;
  color: #20242a;
  background: transparent;
  text-decoration: none;
  font: 400 12px/1 "Lilex", monospace;
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
}

.public-home-login {
  width: fit-content;
}

.public-home-login:hover,
.waitlist-submit:hover,
.auth-state-action:hover {
  background: rgb(89 97 109 / .08);
}

.public-home-card {
  padding: 24px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.public-home-card-label,
.waitlist-label,
.public-home-signal-title {
  margin: 0;
  color: #59616d;
  font: 400 10px/16px "Lilex", monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.waitlist-form {
  display: grid;
  gap: 12px;
}

.waitlist-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #9da6b2;
  border-radius: 0;
  color: #20242a;
  background: #fff;
}

.waitlist-form input:focus {
  outline: 0;
  border-color: #557caa;
  box-shadow: 0 0 0 1px #557caa;
}

.waitlist-submit:disabled {
  opacity: .7;
  cursor: wait;
}

.waitlist-feedback {
  min-height: 24px;
  margin: 0;
  color: #59616d;
  font-size: 12px;
  line-height: 20px;
}

.waitlist-feedback.success {
  color: #2d6b49;
}

.waitlist-feedback.error {
  color: #a24545;
}

.public-home-rule {
  height: 1px;
  background: #9da6b2;
}

.public-home-signals {
  display: grid;
  gap: 12px;
}

.public-home-signal {
  display: grid;
  gap: 4px;
}

.public-home-signal-copy {
  color: #59616d;
  font-size: 13px;
  line-height: 22px;
}

.shell {
  position: fixed;
  top: var(--app-viewport-top, 0px);
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  height: var(--app-viewport-height, 100dvh);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
}
.panel { min-width: 300px; width: 300px; height: 100%; display: flex; flex-direction: column; background: var(--panel-background); border-right: 1px solid var(--border); }
.panel-header { height: 40px; min-height: 40px; padding: 0 8px 0 12px; display: flex; align-items: center; justify-content: space-between; background: var(--tab-bar-background); border-bottom: 1px solid var(--border); }
.panel-title { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.panel-title svg { width: 16px; height: 16px; }
.toolbar { display: flex; gap: 2px; }
.icon-button { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 3px; color: var(--icon-muted); background: transparent; cursor: pointer; }
.panel-collapse-button { display: none; }
.icon-button svg { width: 14px; height: 14px; }
.theme-icon { display: grid; place-items: center; }
.theme-icon-dark { display: none; }

.status-bar { padding: 8px 12px; display: grid; gap: 6px; border-bottom: 1px solid var(--border); background: var(--panel-background); }
.status-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.status-meta { font-size: 10px; color: var(--text-muted); }
.status-label { display: flex; align-items: center; gap: 6px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-disabled); box-shadow: 0 0 0 1px #1118; }
.status-dot.running { background: var(--positive); }
.status-dot.provisioning { background: var(--warning); animation: pulse 1.8s ease-in-out infinite; }
.status-dot.error { background: var(--danger); }
@keyframes pulse { 50% { opacity: .42; } }

.primary-action { height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 4px; color: var(--text); background: var(--editor-background); cursor: pointer; font-size: 12px; }
.primary-action:hover { background: var(--element-hover); }
.primary-action:disabled { color: var(--text-disabled); cursor: wait; }
.primary-action.danger { color: #f0b1b1; }

.activity { min-height: 0; flex: 1; overflow-y: auto; padding: 8px; }
.section-label { margin: 8px 4px 4px; color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.plugin-list { display: grid; gap: 2px; }
.plugin-row { min-height: 48px; width: 100%; display: grid; grid-template-columns: 16px 1fr; gap: 8px; padding: 8px; border: 0; border-radius: 4px; text-align: left; color: var(--text); background: transparent; cursor: pointer; }
.plugin-row.selected { color: var(--text); background: var(--element-selected); }
.plugin-row svg { width: 14px; height: 14px; margin-top: 2px; color: var(--icon-muted); }
.plugin-name { font-size: 12px; line-height: 16px; }
.plugin-meta { font-size: 10px; line-height: 14px; color: var(--text-muted); }
.entry-card { margin-top: 8px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--editor-background); font-size: 12px; line-height: 20px; }
.entry-card p { margin: 0; }
.entry-card .meta { margin-top: 4px; color: var(--text-muted); font-size: 10px; line-height: 16px; }

.chat-input-stack { position: sticky; z-index: 2; bottom: 0; flex: 0 0 auto; }
.chat-composer { margin: 0 12px; border: 1px solid var(--border); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--editor-background); box-shadow: 0 -1px 0 #0003; }
.chat-composer textarea { width: 100%; height: 80px; resize: none; border: 0; outline: 0; padding: 12px; color: var(--text); background: transparent; font: 400 12px/1.618 "Lilex", monospace; }
.chat-composer textarea::placeholder { color: var(--text-muted); }
.composer-actions { height: 32px; padding: 0 4px 4px 8px; display: flex; align-items: center; justify-content: space-between; }
.composer-hint { color: var(--text-muted); font-size: 10px; }
.send-button { width: 28px; height: 28px; border: 0; border-radius: 4px; display: grid; place-items: center; color: var(--text); background: var(--element-selected); cursor: pointer; }
.send-button:disabled { color: var(--icon-disabled); cursor: default; }
.send-button svg { width: 14px; height: 14px; }
.pending-slot:empty { display: none; }
.pending-messages { max-height: 168px; margin: 0 12px; overflow-y: auto; border: 1px solid var(--border); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--panel-background); }
.pending-slot:not(:empty) + .chat-composer { border-radius: 0; }
.pending-message { min-height: 52px; padding: 8px 8px 8px 12px; display: flex; gap: 12px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: 11px; line-height: 16px; }
.pending-message:last-child { border-bottom: 0; }
.pending-message p { margin: 0; }
.pending-label { color: var(--text-disabled); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.steer-button { flex: 0 0 auto; height: 28px; padding: 0 10px; border: 1px solid var(--border); border-radius: 4px; color: var(--text); background: var(--element-selected); cursor: pointer; font: inherit; }
.steer-button:hover { background: var(--element-hover); }

.workspace { min-width: 0; min-height: 0; height: 100%; display: flex; flex-direction: column; background: var(--workspace-background); }
.workspace-header { flex: 0 0 40px; padding: 0 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); background: var(--tab-bar-background); font-size: 12px; }
.workspace-header > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-link.icon-only { padding: 6px; display: inline-flex; align-items: center; justify-content: center; }
.identity { color: var(--text-muted); font-size: 10px; }
.plugin-frame-stage { flex: 1 1 0; min-height: 0; position: relative; overflow: hidden; background: #faf9f6; isolation: isolate; }
.machine-frame { display: block; width: 100%; height: 100%; border: 0; background: #faf9f6; opacity: 0; -webkit-overflow-scrolling: touch; }
.plugin-frame-stage.ready .machine-frame { opacity: 1; }
.plugin-frame-loading { position: absolute; inset: 0; display: grid; place-items: center; background: #faf9f6; color: #687078; font: 400 12px/1.35 "Lilex", monospace; }
.plugin-frame-stage.ready .plugin-frame-loading { display: none; }
.plugin-frame-workspace { /* frames without chrome fill the workspace themselves */ }
.plugin-frame-stage.message-ready, .plugin-frame-stage.message-ready .plugin-frame-loading, .plugin-frame-stage.message-ready .plugin-frame { background: #0d0f12; color-scheme: dark; }
.empty-workspace { height: 100%; display: grid; place-items: center; color: var(--text-muted); }
.empty-workspace div { max-width: 384px; padding: 24px; text-align: center; }
.empty-workspace h2 { color: var(--text); margin: 0 0 8px; font-size: 18px; font-weight: 400; }
.empty-workspace p { margin: 0; font-size: 12px; line-height: 20px; }
.workspace-actions { height: 100%; display: flex; align-items: center; gap: 2px; }
.workspace-link { min-height: 28px; padding: 0 8px; border: 1px solid transparent; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); background: transparent; text-decoration: none; font: inherit; line-height: 1; cursor: pointer; }
.workspace-link:disabled { color: var(--text-disabled); cursor: wait; }
.action-workspace { grid-template-rows: 40px minmax(0, 1fr); }
.action-surface { min-height: 0; display: grid; place-items: center; padding: 24px; }
.action-surface > div { width: min(384px, 100%); text-align: center; color: var(--text-muted); }
.action-surface h2 { margin: 0 0 8px; color: var(--text); font-size: 18px; font-weight: 400; }
.action-surface p { margin: 0 0 16px; font-size: 12px; line-height: 20px; }
.action-link { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--border); border-radius: 4px; color: var(--text); background: var(--editor-background); text-decoration: none; cursor: pointer; font: inherit; }
.action-progress { width: 24px; height: 24px; margin: 0 auto 16px; border: 2px solid var(--border); border-top-color: var(--border-focused); border-radius: 50%; animation: action-spin 800ms linear infinite; }
@keyframes action-spin { to { transform: rotate(360deg); } }

@media (hover: hover) and (pointer: fine) {
  .icon-button:hover, .workspace-link:hover, .action-link:hover { color: var(--text); background: var(--element-hover); }
  .plugin-row:not(.selected):hover { background: var(--element-hover); }
}

.icon-button:focus-visible, .workspace-link:focus-visible, .plugin-row:focus-visible, .action-link:focus-visible { outline: 1px solid var(--border-focused); outline-offset: -1px; }
.icon-button:active, .workspace-link:active, .action-link:active { color: var(--text); background: var(--element-selected); border-color: var(--border); }
.plugin-row:active { background: var(--element-selected); }
.toast { position: fixed; right: 16px; bottom: 16px; max-width: 320px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 4px; background: var(--elevated-surface-bg); color: var(--text); font-size: 12px; box-shadow: 0 8px 24px #0006; }
.control-workspace { min-height: 0; overflow: hidden; grid-template-rows: 40px minmax(0, 1fr); }
.chat-surface {
  min-height: 0;
  flex: 1 1 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--workspace-background);
}
.chat-transcript {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: var(--workspace-background);
  background-image:
    linear-gradient(to right, var(--chat-grid-minor) 1px, transparent 1px),
    linear-gradient(to bottom, var(--chat-grid-minor) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: 0 4px;
  background-attachment: local;
}
.chat-history, .chat-submitted { display: contents; }
.chat-message { position: relative; width: min(720px, 100%); padding: 8px 0; border: 0; background: transparent; font-size: 12px; line-height: 16px; transform: translate(1px, -1px); }
.chat-message.user { margin-left: 0; background: transparent; }
.chat-message.user::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: -8px; width: 1px; background: var(--border-focused); opacity: .7; }
.chat-message.error { color: var(--danger); }
.chat-message p { margin: 0; }
.chat-author { margin-bottom: 0 !important; color: var(--text-muted); font-size: 10px; line-height: 16px; }
.markdown > :first-child { margin-top: 0; }
.markdown > :last-child { margin-bottom: 0; }
.markdown p { margin: 0 0 16px; }
.markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5, .markdown h6 { margin: 16px 0 0; font-weight: 400; }
.markdown h1 { font-size: 18px; line-height: 32px; }
.markdown h2 { font-size: 16px; line-height: 32px; }
.markdown h3, .markdown h4, .markdown h5, .markdown h6 { font-size: 14px; line-height: 16px; }
.markdown ul, .markdown ol { margin: 0 0 16px; padding-left: 24px; }
.markdown li { min-height: 16px; }
.markdown hr { margin: 16px 0; border: 0; border-top: 1px solid var(--border); }
.markdown blockquote { margin: 0 0 16px; padding-left: 12px; border-left: 1px solid var(--border); color: var(--text-muted); }
.markdown code { padding: 1px 4px; border-radius: 2px; background: var(--editor-background); font-family: "Lilex", monospace; }
.markdown pre { margin: 0 0 16px; padding: 12px; overflow-x: auto; border: 1px solid var(--border); border-radius: 4px; background: var(--editor-background); }
.markdown pre code { padding: 0; background: transparent; }
.markdown a { color: var(--border-focused); text-underline-offset: 2px; }
.tool-call { width: min(720px, 100%); padding: 0; color: var(--text); font-size: 12px; line-height: 16px; transform: translate(1px, -1px); }
.chat-message + .tool-call { margin-top: -8px; }
.tool-call summary { height: 16px; display: grid; grid-template-columns: 8px auto minmax(0, 1fr) auto; gap: 8px; align-items: center; cursor: pointer; list-style: none; }
.tool-call summary::-webkit-details-marker { display: none; }
.tool-chevron { color: var(--icon-muted); transition: transform 120ms ease; }
.tool-call[open] .tool-chevron { transform: rotate(90deg); }
.tool-name { color: var(--text); }
.tool-summary { min-width: 0; overflow: hidden; color: var(--text-muted); text-overflow: ellipsis; white-space: nowrap; }
.tool-status, .tool-detail-label { color: var(--text-muted); font-size: 10px; }
.tool-call.error .tool-status { color: var(--danger); }
.tool-call-body { padding: 0 0 8px 16px; }
.tool-detail { padding-left: 16px; border-left: 1px solid var(--border); }
.tool-detail + .tool-detail { margin-top: 16px; }
.tool-detail-label { height: 16px; margin: 0; text-transform: uppercase; letter-spacing: .06em; }
.tool-detail pre { max-height: 320px; margin: 0; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 11px/16px "Lilex", monospace; }
.streaming-message { contain: content; }
.streaming-cursor { display: inline-block; width: 5px; height: 11px; margin-left: 3px; background: var(--text-muted); vertical-align: -1px; animation: streaming-cursor 1s steps(1) infinite; }
@keyframes streaming-cursor { 50% { opacity: 0; } }

:root[data-theme="light"] {
  color-scheme: light;
  --border: #c8ccd2;
  --border-variant: #d6d9de;
  --border-focused: #557caa;
  --panel-background: #f4f5f6;
  --editor-background: #fff;
  --tab-bar-background: #eceef0;
  --elevated-surface-bg: #fff;
  --text: #22262c;
  --text-muted: #66707c;
  --text-disabled: #9ca3ac;
  --element-hover: #e7eaed;
  --element-selected: #dfe4e9;
  --icon-muted: #68717b;
  --icon-disabled: #a4abb3;
  --workspace-background: #fff;
  --chat-grid-minor: rgb(85 124 170 / .1);
}
:root[data-theme="light"] .theme-icon-light { display: none; }
:root[data-theme="light"] .theme-icon-dark { display: grid; }

@media (max-width: 700px), (max-height: 480px) {
  .shell { display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .panel { width: 100%; min-width: 0; height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .panel-header { height: 40px; min-height: 40px; }
  .workspace:not(.plugin-frame-workspace) { grid-template-rows: 40px minmax(0, 1fr); }
  .panel-collapse-button { display: grid; }
  .icon-button { width: 32px; height: 32px; }
  .icon-button svg { width: 12px; height: 12px; }
  .primary-action { min-height: 36px; }
  .activity { overflow-x: auto; overflow-y: hidden; padding: 4px 8px 8px; }
  .section-label { margin-top: 4px; }
  .plugin-list { grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); }
  .plugin-row { min-width: 0; min-height: 48px; }
  .plugin-row > span { min-width: 0; }
  .plugin-name, .plugin-meta { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .workspace-header { padding: 0 8px; }
  .workspace-actions { gap: 2px; }
  .workspace-link { min-height: 28px; }
  .plugin-frame-stage { overscroll-behavior: contain; }
  .chat-composer textarea { font-size: 16px; line-height: 1.5; }
  input, textarea, select { font-size: 16px; }
  .chat-transcript { padding: 8px; }
  .chat-composer, .pending-messages { margin: 0 8px; }
  .send-button { width: 32px; height: 32px; }
  .composer-actions { height: 36px; }
  .steer-button { min-height: 32px; }
  .auth-state-card { width: 100%; }
  .public-home-layout { place-items: start stretch; }
  .public-home { width: 100%; }
  .public-home-shell { grid-template-columns: 1fr; }
  .public-home-copy { min-height: 0; padding: 24px; }
  .public-home-copy h1 { max-width: none; font-size: 40px; line-height: 40px; }
  .public-home-card { padding: 20px; }
  :root.composer-focused .shell,
  :root.panel-collapsed .shell { grid-template-rows: 40px minmax(0, 1fr); }
  :root.composer-focused .panel,
  :root.panel-collapsed .panel { height: 40px; overflow: hidden; }
  :root.panel-collapsed .panel-collapse-button svg { transform: rotate(180deg); }
}

@media (max-height: 480px) {
  .auth-state-card { height: 256px; grid-template-rows: 64px 64px 1px 39px; }
}
/* The always-on application is deliberately only a machine control plane. */
.machine-admin { min-height: 100dvh; max-width: 760px; margin: 0 auto; padding: 48px 24px; display: grid; align-content: start; gap: 24px; }
.machine-admin-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.machine-admin-header h1 { margin: 4px 0 0; font-size: 22px; }
.machine-admin-card { background: var(--panel-background); border: 1px solid var(--border); border-radius: 8px; padding: 32px; }
.machine-admin-card h2 { margin: 18px 0 8px; font-size: 24px; font-weight: 500; }
.machine-admin-card > p { color: var(--text-muted); margin: 0; }
.machine-phase { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font: 12px/1.4 var(--font-mono); text-transform: uppercase; }
.machine-phase span { width: 8px; height: 8px; border-radius: 50%; background: #707780; }
.machine-phase.running span { background: #43a047; box-shadow: 0 0 0 3px color-mix(in srgb, #43a047 18%, transparent); }
.machine-phase.provisioning span, .machine-phase.stopping span { background: #d09b2c; }
.machine-phase.error span { background: #d14f4f; }
.machine-admin-card dl { margin: 28px 0; border-block: 1px solid var(--border); }
.machine-admin-card dl div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; }
.machine-admin-card dl div + div { border-top: 1px solid var(--border-variant); }
.machine-admin-card dt, .machine-admin-card dd { margin: 0; font-size: 12px; }
.machine-admin-card dd { color: var(--text-muted); text-align: right; }
.machine-admin-actions { display: flex; gap: 8px; }
.machine-admin-primary, .machine-admin-secondary { appearance: none; border-radius: 5px; padding: 9px 14px; font: inherit; text-decoration: none; cursor: pointer; }
.machine-admin-primary { border: 1px solid var(--text); background: var(--text); color: var(--panel-background); }
.machine-admin-secondary { border: 1px solid var(--border); background: transparent; color: var(--text); }
.machine-admin-primary:disabled, .machine-admin-secondary:disabled { opacity: .5; cursor: default; }
.machine-admin-footnote { color: var(--text-muted); font-size: 12px; max-width: 560px; }
