:root {
  color-scheme: dark;
  --bg: #0a0e16;
  --surface: #141b27;
  --surface-2: #1b2433;
  --inset: rgba(0, 0, 0, .24);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --text: #eef3fa;
  --muted: #8c9bb1;
  --soft: #c4cedd;
  --accent: #5ec8ff;
  --accent-ink: #04121c;
  --ok: #46d18a;
  --busy: #ffb454;
  --danger: #ff6b81;
  --shadow: 0 10px 30px rgba(0, 0, 0, .28);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 480px at 100% -10%, rgba(94, 200, 255, .07), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 15px/1.5 Inter, "Segoe UI", Arial, sans-serif;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--text);
  padding: 9px 12px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease, transform .12s ease;
}
button:hover { border-color: var(--line-2); background: #222d3e; }
button:active { transform: translateY(1px); }
button:disabled { opacity: .4; cursor: not-allowed; transform: none; }
button.primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
button.primary:hover { background: #7ad3ff; }
button.soft { color: var(--busy); }
button.danger { color: var(--danger); }
button.ghost { background: transparent; }
body.busy { cursor: progress; }

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--inset);
  color: var(--text);
  outline: none;
  padding: 9px 12px;
}
input::placeholder { color: #61708a; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(94, 200, 255, .14); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 12px clamp(16px, 3vw, 30px);
  background: rgba(12, 16, 23, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand, .top-actions { display: flex; gap: 12px; align-items: center; }
.brand strong { display: block; font-size: 17px; }
.brand > div:last-child span { display: block; color: var(--muted); font-size: 12px; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #3aa0e6);
  color: var(--accent-ink);
  font-weight: 900;
}
.top-link {
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--soft);
  padding: 9px 12px;
  text-decoration: none;
  background: var(--surface-2);
}
.top-link:hover { border-color: var(--line-2); color: var(--text); }
.top-link.guac-link { border-color: rgba(94, 200, 255, .4); color: var(--accent); }
.identity {
  border-color: var(--line);
  color: var(--soft);
  font-weight: 600;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- layout ---------- */
.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  width: min(1640px, 100%);
  margin: 0 auto;
  padding: 20px clamp(14px, 2.5vw, 28px) 32px;
}
.workspace { min-width: 0; }

/* ---------- hero (compact access) ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.hero-access {
  display: grid;
  align-content: center;
  gap: 4px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero-access:hover { border-color: var(--line-2); }
.hero-access.primary-access { border-color: rgba(94, 200, 255, .35); background: linear-gradient(135deg, rgba(94, 200, 255, .12), transparent 60%), var(--surface); }
.hero-access span { color: var(--muted); font-size: 12px; font-weight: 600; }
.hero-access strong { color: var(--accent); font-size: 18px; font-weight: 800; word-break: break-all; }
.hero-access small { color: var(--muted); font-size: 12px; word-break: break-all; }

/* ---------- stats ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  background: var(--surface);
}
.stat-card span { color: var(--muted); font-size: 12px; font-weight: 600; }
.stat-card strong { display: block; margin: 4px 0 2px; font-size: 26px; line-height: 1; }
.stat-card small { color: var(--muted); font-size: 11px; }
.stat-card.good strong { color: var(--ok); }
.stat-card.off strong { color: var(--soft); }
.stat-card.busy strong { color: var(--busy); }

/* ---------- toolbar ---------- */
.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 360px) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 16px;
}
.search-box { display: grid; gap: 6px; }
.search-box span { color: var(--muted); font-size: 12px; font-weight: 600; }
.segmented { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.segmented button { padding: 9px 13px; color: var(--muted); border-radius: 999px; }
.segmented button.active { border-color: rgba(94, 200, 255, .5); background: rgba(94, 200, 255, .14); color: var(--text); }

/* ---------- vm cards ---------- */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}
.vm-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color .15s ease;
}
.vm-card:hover { border-color: var(--line-2); }
.card-glow {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--line-2);
}
.vm-card.running .card-glow { background: var(--ok); }
.vm-card.busy { border-color: rgba(255, 180, 84, .55); box-shadow: inset 0 0 0 1px rgba(255, 180, 84, .3), var(--shadow); }
.vm-card.busy .card-glow { background: var(--busy); }

.vm-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  padding-top: 2px;
}
.vmid { color: var(--accent); font-weight: 800; font-size: 11px; letter-spacing: .04em; }
.vm-head h2 { margin: 3px 0 0; font-size: 19px; line-height: 1.15; }
.machine-family { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.running { background: rgba(70, 209, 138, .14); color: var(--ok); }

/* ---------- presence / busy ---------- */
.presence { margin: 12px 0 2px; }
.claim-btn {
  width: 100%;
  border-style: dashed;
  color: var(--muted);
  font-weight: 600;
}
.claim-btn:hover { color: var(--busy); border-color: rgba(255, 180, 84, .5); background: rgba(255, 180, 84, .06); }
.busy-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  border: 1px solid rgba(255, 180, 84, .4);
  background: rgba(255, 180, 84, .1);
  border-radius: 11px;
  padding: 9px 11px;
}
.busy-text { font-size: 13px; line-height: 1.35; color: #ffe2b8; }
.busy-text b { color: #fff; }
.busy-text small { display: block; color: var(--muted); font-size: 11px; margin-top: 1px; }
.release-btn { flex: none; padding: 7px 11px; color: var(--busy); border-color: rgba(255, 180, 84, .4); }

/* ---------- metrics ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.metric { border: 1px solid var(--line); border-radius: 11px; padding: 10px; background: var(--inset); }
.metric span { color: var(--muted); font-size: 12px; font-weight: 600; }
.metric.wide { min-height: 60px; }
.metric strong { display: block; margin-top: 3px; min-height: 20px; font-size: 13px; }
.meter { height: 5px; overflow: hidden; border-radius: 999px; margin-top: 9px; background: rgba(255, 255, 255, .08); }
.meter i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .4s ease; }
.ram-bar { background: #6aa9ff !important; }

/* ---------- access ---------- */
.access-box { border: 1px solid var(--line); border-radius: 11px; padding: 12px; margin-bottom: 14px; background: var(--inset); }
.access-title { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 10px; }
.access-label { color: var(--muted); font-size: 12px; font-weight: 600; }
.access-buttons { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.copy-connect { padding: 7px 10px; font-size: 12px; color: var(--soft); }
.open-guac {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(94, 200, 255, .35);
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(94, 200, 255, .1);
  color: var(--accent);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.access-grid div { border: 1px solid var(--line); border-radius: 8px; padding: 8px 9px; background: rgba(0, 0, 0, .2); }
.access-grid span { color: var(--muted); font-size: 11px; font-weight: 600; }
.access-grid strong { display: block; margin-top: 2px; font-size: 13px; word-break: break-all; }
.connect-endpoint { color: var(--accent); }

/* ---------- actions ---------- */
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.actions .legacy-reset { font-size: 13px; }

/* ---------- collapsible extras ---------- */
.extra { margin-top: 12px; border-top: 1px solid var(--line); }
.extra > summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 2px 2px;
  color: var(--soft);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.extra > summary::-webkit-details-marker { display: none; }
.extra > summary::before { content: "▸"; color: var(--muted); transition: transform .15s ease; }
.extra[open] > summary::before { transform: rotate(90deg); }
.extra-body { padding-top: 6px; }

.save-form { display: grid; grid-template-columns: 1fr auto auto; gap: 9px; align-items: center; margin: 8px 0 12px; }
.check { display: flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; font-size: 13px; }
.check input { width: auto; }

.section-title { margin-top: 14px; color: var(--text); font-weight: 700; font-size: 14px; }
.muted-title { color: var(--muted); font-weight: 600; }
.backup-note {
  margin-top: 4px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--inset);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.backups { display: grid; gap: 8px; margin-top: 8px; }
.backup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 10px;
  padding: 9px 10px;
}
.backup.empty { display: block; color: var(--muted); }
.backup strong { word-break: break-word; font-size: 13px; }
.backup small { color: var(--muted); display: block; margin-top: 2px; font-size: 11px; }
.snapshots { display: grid; gap: 8px; margin-top: 8px; }
.snapshot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 8px; }
.snapshot strong { word-break: break-word; font-size: 13px; }
.snapshot small { color: var(--muted); display: block; font-size: 11px; }
.snapshot.clean strong { color: var(--accent); }
.snapshot-warning { border: 1px solid rgba(255, 180, 84, .4); background: rgba(255, 180, 84, .1); border-radius: 10px; padding: 9px 11px; }
.snapshot-warning strong, .snapshot-warning span { display: block; }
.snapshot-warning span { color: var(--muted); margin-top: 3px; font-size: 12px; }

/* ---------- side panel (chat + tasks) ---------- */
.side-panel {
  position: sticky;
  top: 84px;
  height: calc(100vh - 104px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.side-tabs { display: flex; gap: 4px; padding: 10px 10px 0; border-bottom: 1px solid var(--line); }
.side-tab {
  flex: 1;
  border: none;
  border-radius: 9px 9px 0 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 9px 10px;
}
.side-tab:hover { background: var(--surface-2); color: var(--text); }
.side-tab.active { background: var(--surface-2); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.side-tab .badge {
  display: none;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--busy);
  color: #2a1a00;
  font-size: 11px;
  font-weight: 800;
}
.side-tab .badge.show { display: inline-block; }

.pane { display: none; flex: 1; min-height: 0; flex-direction: column; padding: 12px; }
.pane.active { display: flex; }

.presence-summary { margin-bottom: 10px; display: grid; gap: 6px; }
.presence-summary:empty { display: none; }
.presence-chip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255, 180, 84, .35);
  background: rgba(255, 180, 84, .08);
  border-radius: 9px;
  padding: 6px 9px;
  font-size: 12px;
}
.presence-chip b { color: #ffe2b8; }
.presence-chip span { color: var(--muted); }

.chat-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; padding-right: 2px; }
.chat-empty { color: var(--muted); font-size: 13px; padding: 10px 2px; }
.chat-msg { border-radius: 10px; }
.chat-msg.msg { background: var(--surface-2); border: 1px solid var(--line); padding: 8px 10px; }
.chat-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 2px; }
.chat-head b { font-size: 13px; }
.chat-msg time { color: var(--muted); font-size: 11px; flex: none; }
.chat-text { font-size: 13px; line-height: 1.4; word-wrap: break-word; overflow-wrap: anywhere; }
.chat-msg.claim, .chat-msg.release { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding: 4px 6px; font-size: 12px; color: var(--muted); }
.chat-msg.claim .chat-line b, .chat-msg.release .chat-line b { color: var(--soft); }
.chat-msg.claim { border-left: 2px solid var(--busy); }
.chat-msg.release { border-left: 2px solid rgba(70, 209, 138, .6); }

.chat-form { display: flex; gap: 8px; margin-top: 10px; }
.chat-form input { flex: 1; }
.chat-form button { flex: none; }

.task { border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 9px; background: var(--surface-2); }
.task strong { display: block; font-size: 13px; }
.task small { color: var(--muted); font-size: 11px; }
.task pre { max-height: 150px; overflow: auto; white-space: pre-wrap; color: var(--soft); margin: 7px 0 0; font-size: 12px; }
.task.done { border-color: rgba(70, 209, 138, .35); }
.task.running, .task.queued { border-color: rgba(255, 180, 84, .35); }
.task.error { border-color: rgba(255, 107, 129, .45); }
.task-list { overflow-y: auto; }

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--muted);
  background: var(--surface);
}
.empty-state strong { display: block; color: var(--text); font-size: 18px; }

/* ---------- login ---------- */
.login-page { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.login-shell { width: min(420px, 100%); }
.login-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--surface); box-shadow: var(--shadow); }
.login-card h1 { margin: 4px 0 0; font-size: 34px; }
.login-card p:not(.eyebrow) { margin: 8px 0 22px; color: var(--muted); }
.eyebrow { margin: 0; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.login-card label { display: grid; gap: 6px; color: var(--muted); margin-bottom: 14px; font-size: 13px; }
.login-card button { width: 100%; border-color: transparent; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.form-error { border: 1px solid rgba(255, 107, 129, .35); border-radius: 9px; color: var(--danger); padding: 9px 10px; margin-bottom: 12px; background: rgba(255, 107, 129, .08); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .shell { grid-template-columns: 1fr; }
  .side-panel { position: static; height: auto; max-height: 70vh; }
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .toolbar { grid-template-columns: 1fr; }
  .segmented { justify-content: flex-start; }
  .vm-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .topbar { flex-direction: column; align-items: stretch; }
  .top-actions { width: 100%; flex-wrap: wrap; }
  .metrics, .access-grid, .actions { grid-template-columns: 1fr; }
}

/* ---------- avatars ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; color: #08121c; font-weight: 800; overflow: hidden; background: var(--accent); text-transform: uppercase; line-height: 1; }
.av-sm { width: 22px; height: 22px; font-size: 10px; }
.av-md { width: 32px; height: 32px; font-size: 13px; }
.av-lg { width: 72px; height: 72px; font-size: 30px; }
img.avatar { color: transparent; }

/* identity chip with avatar */
.identity { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 5px; }
.top-link.admin-link { border-color: rgba(94, 200, 255, .4); color: var(--accent); }

/* ---------- chat with avatars ---------- */
.chat-msg.msg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; align-items: start; }
.chat-body { min-width: 0; }
.chat-msg.claim, .chat-msg.release { align-items: center; }
.chat-msg.claim .av-sm, .chat-msg.release .av-sm { margin-right: 2px; }
.chat-line { display: flex; align-items: center; gap: 6px; min-width: 0; }

/* ---------- modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(4, 8, 14, .66); display: none; place-items: center; z-index: 60; padding: 16px; }
.modal-backdrop.open { display: grid; }
.modal { width: min(460px, 100%); max-height: 92vh; overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); padding: 22px; }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 4px; }
.modal h2 { margin: 0; font-size: 20px; }
.modal-sub { color: var(--muted); font-size: 13px; margin: 2px 0 14px; }
.modal-close { border: none; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; padding: 2px 6px; }
.modal-close:hover { color: var(--text); background: transparent; }
.modal-section { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.modal-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.modal-section h3 { margin: 0 0 10px; font-size: 14px; color: var(--soft); }
.modal label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.modal .inline-form { display: flex; gap: 8px; align-items: flex-end; }
.modal .inline-form label { flex: 1; margin-bottom: 0; }
.avatar-edit { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.avatar-edit .av-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.field-msg { font-size: 12px; margin: 2px 0 8px; min-height: 14px; }
.field-msg.ok { color: var(--ok); }
.field-msg.err { color: var(--danger); }

/* ---------- backup owner / private ---------- */
.backup .b-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.owner-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; }
.lock-tag { display: inline-flex; align-items: center; gap: 4px; color: var(--busy); font-size: 11px; font-weight: 700; }
.save-form { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.save-form > input[name="label"] { flex: 1 1 180px; }
.save-form > button { flex: none; }
.save-form .save-checks { display: flex; gap: 14px; flex-wrap: wrap; flex-basis: 100%; }
.check.private { color: var(--busy); }

/* ---------- admin page ---------- */
.admin-wrap { width: min(1000px, 100%); margin: 0 auto; padding: 22px clamp(14px, 2.5vw, 28px) 40px; }
.admin-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); padding: 18px; margin-bottom: 16px; }
.admin-card h2 { margin: 0 0 12px; font-size: 18px; }
.user-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; background: var(--surface-2); margin-bottom: 8px; }
.user-row .u-main { min-width: 0; }
.user-row .u-name { font-weight: 700; }
.user-row .u-sub { color: var(--muted); font-size: 12px; word-break: break-all; }
.role-badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.role-badge.admin { color: var(--accent); border-color: rgba(94, 200, 255, .4); }
.u-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.u-actions button { padding: 7px 10px; font-size: 12px; }
.create-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; }
.create-grid label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
.create-grid select { width: 100%; border: 1px solid var(--line); border-radius: 9px; background: var(--inset); color: var(--text); padding: 9px 12px; }
.admin-msg { font-size: 13px; margin-top: 10px; min-height: 16px; }
.admin-msg.ok { color: var(--ok); }
.admin-msg.err { color: var(--danger); }
