@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-gradient: radial-gradient(circle at 10% 10%, rgba(237, 233, 254, 0.65) 0%, rgba(248, 247, 253, 0.95) 100%);
  --color-primary: #6d28d9;
  --color-primary-hover: #5b21b6;
  --color-active-bg: #ede9fe;
  --color-border: #ede9fe;
  --color-border-subtle: #f3f0ff;
  --card-shadow: 0 10px 30px -5px rgba(109, 40, 217, 0.05), 0 0 1px 1px rgba(109, 40, 217, 0.08);
  --terminal-shadow: 0 20px 40px -10px rgba(15, 12, 35, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--bg-gradient);
  color: #1e1b4b;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.font-serif-fly {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.font-mono-code {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.card-shadow {
  box-shadow: var(--card-shadow);
}

.terminal-shadow {
  box-shadow: var(--terminal-shadow);
}

.sidebar-active {
  background-color: var(--color-active-bg) !important;
  color: var(--color-primary) !important;
  font-weight: 600 !important;
}

/* CUSTOMER DASHBOARD (body.mh) */
body.mh {
  background: var(--bg-gradient);
  color: #1e1b4b;
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
body.mh .mh-side {
  width: 260px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid rgba(221, 214, 254, 0.7);
  color: #4b5563;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 20;
}

body.mh .mh-brand {
  padding: 22px 20px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.mh .mh-brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

body.mh .mh-side-search {
  margin: 14px 14px 8px;
  background: #ffffff;
  border: 1px solid #ddd6fe;
  color: #1e1b4b;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
  box-shadow: 0 1px 3px rgba(109, 40, 217, 0.04);
  transition: all 0.15s ease;
}

body.mh .mh-side-search:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

body.mh .mh-side-search::placeholder {
  color: #9ca3af;
}

body.mh .mh-group {
  margin: 16px 18px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(109, 40, 217, 0.6);
}

body.mh .mh-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 16px);
  margin: 2px 8px;
  text-align: left;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  border-radius: 12px;
  transition: all 0.15s ease;
  cursor: pointer;
  background: transparent;
  border: none;
}

body.mh .mh-item:hover {
  background: rgba(237, 233, 254, 0.5);
  color: #5b21b6;
}

body.mh .mh-item.sidebar-active {
  background: #ede9fe;
  color: #6d28d9;
  font-weight: 600;
}

body.mh .mh-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* TOP NAVBAR */
body.mh .mh-top {
  height: 64px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(221, 214, 254, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}

body.mh .mh-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}

body.mh .mh-meta-sub {
  font-size: 11px;
  color: #6d28d9;
  background: #ede9fe;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #ddd6fe;
  font-weight: 600;
}

body.mh .mh-account {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #4b5563;
}

body.mh .mh-account b {
  color: #6d28d9;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 700;
}

body.mh .mh-account button {
  color: #6d28d9;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 10px;
  background: #ede9fe;
  border: 1px solid #ddd6fe;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.mh .mh-account button:hover {
  background: #ddd6fe;
  color: #4c1d95;
}

/* MAIN BODY */
body.mh .mh-main {
  flex: 1;
  padding: 32px;
  max-width: 1580px;
  width: 100%;
  margin: 0 auto;
}

body.mh .mh-home-grid {
  display: block;
}

body.mh .mh-favs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

body.mh .mh-fav {
  display: flex;
  gap: 14px;
  text-align: left;
  background: #ffffff;
  border: 1px solid rgba(221, 214, 254, 0.7);
  border-radius: 20px;
  padding: 18px;
  min-height: 90px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 16px -2px rgba(109, 40, 217, 0.04);
}

body.mh .mh-fav:hover {
  border-color: #a78bfa;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(109, 40, 217, 0.1);
  background: #fcfaff;
}

body.mh .mh-fav b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1e1b4b;
}

body.mh .mh-fav small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

body.mh .mh-fav svg {
  color: #7c3aed;
  flex-shrink: 0;
  margin-top: 2px;
}

/* STATS WIDGET */
body.mh .mh-stats {
  background: #ffffff;
  border: 1px solid rgba(221, 214, 254, 0.8);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--card-shadow);
}

body.mh .mh-stats h2 {
  font-size: 14px;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.mh .mh-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #f3f0ff;
  font-size: 13px;
  color: #64748b;
}

body.mh .mh-stat b {
  color: #1e1b4b;
  font-size: 14px;
}

@media (max-width: 980px) {
  body.mh .mh-home-grid, body.mh .mh-favs { grid-template-columns: 1fr; }
  body.mh .mh-side { width: 220px; }
}

/* CARDS */
body.mh .mh-card {
  background: #ffffff;
  border: 1px solid rgba(221, 214, 254, 0.8);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

body.mh .mh-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 26px;
  font-weight: 700;
  font-size: 16px;
  color: #1e1b4b;
  border-bottom: 1px solid #f3f0ff;
}

body.mh .mh-create {
  background: #6d28d9;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.25);
  transition: all 0.15s ease;
}

body.mh .mh-create:hover {
  background: #5b21b6;
  transform: translateY(-1px);
}

/* TABLES */
body.mh .mh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

body.mh .mh-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b5cf6;
  padding: 14px 24px;
  background: #faf8ff;
  border-bottom: 1px solid #f3f0ff;
}

body.mh .mh-table td {
  padding: 16px 24px;
  border-bottom: 1px solid #f8f6ff;
  vertical-align: middle;
  color: #334155;
}

body.mh .mh-table tbody tr {
  transition: background 0.12s ease;
}

body.mh .mh-table tbody tr:hover {
  background: #fbf9ff;
}

body.mh .mh-host {
  display: inline-block;
  color: #6d28d9;
  font-size: 13px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 600;
  text-decoration: none;
}

body.mh .mh-host:hover {
  text-decoration: underline;
}

body.mh .mh-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}

body.mh .mh-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #10b981;
}

body.mh .mh-dot.sleep { background: #f59e0b; }
body.mh .mh-dot.stop, body.mh .mh-dot.err { background: #94a3b8; }
body.mh .mh-dot.bad { background: #ef4444; }

body.mh .mh-keep {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
}

body.mh .mh-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

body.mh .mh-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #ddd6fe;
  background: #ffffff;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #5b21b6;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(109, 40, 217, 0.05);
  transition: all 0.15s ease;
}

body.mh .mh-mini:hover {
  background: #f5edff;
  border-color: #c4b5fd;
}

body.mh .mh-mini:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

body.mh .mh-mini-stop {
  color: #be123c;
  border-color: #fecdd3;
}

body.mh .mh-mini-stop:hover {
  background: #fff1f2;
  border-color: #fda4af;
  color: #9f1239;
}

body.mh .mh-menu {
  position: relative;
}

body.mh .mh-menu summary {
  list-style: none;
  cursor: pointer;
}

body.mh .mh-menu summary::-webkit-details-marker {
  display: none;
}

body.mh .mh-menu-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  min-width: 140px;
  background: #ffffff;
  border: 1px solid #ddd6fe;
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(109, 40, 217, 0.12);
}

body.mh .mh-menu-pop button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.1s ease;
}

body.mh .mh-menu-pop button:hover {
  background: #f3e8ff;
  color: #6d28d9;
}

body.mh .mh-menu-pop button:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

body.mh .mh-foot {
  padding: 14px 26px;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid #f3f0ff;
  background: #faf8ff;
}

body.mh .mh-back {
  color: #6d28d9;
  font-size: 13px;
  font-weight: 700;
  background: #ede9fe;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #ddd6fe;
  cursor: pointer;
}

body.mh .mh-subhead {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #1e1b4b;
  font-size: 16px;
}

body.mh .mh-subhead.hidden, body.mh #head-home.hidden {
  display: none;
}

body.mh .mh-subhead b {
  font-weight: 700;
}

/* PANELS & FORMS */
body.mh .mh-panel {
  background: #ffffff;
  border: 1px solid rgba(221, 214, 254, 0.8);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}

body.mh .mh-input, body.mh select.mh-input, body.mh textarea.mh-input {
  border: 1px solid #ddd6fe;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  background: #ffffff;
  color: #1e1b4b;
  transition: all 0.15s ease;
}

body.mh .mh-input:focus, body.mh select.mh-input:focus, body.mh textarea.mh-input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

body.mh .mh-btn {
  background: #6d28d9;
  color: #ffffff;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.25);
  transition: all 0.15s ease;
}

body.mh .mh-btn:hover {
  background: #5b21b6;
}

body.mh .mh-btn-dark {
  background: #1e1b4b;
  color: #ffffff;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.mh .mh-btn-dark:hover {
  background: #0f172a;
}

body.mh .mh-pick {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #ede9fe;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(109, 40, 217, 0.03);
  transition: all 0.15s ease;
}

body.mh .mh-pick:hover {
  background: #faf8ff;
  border-color: #c4b5fd;
}

body.mh .mh-pick small {
  display: block;
  color: #64748b;
}

body.mh .mh-pick-go {
  margin-left: auto;
  color: #8b5cf6;
  font-size: 18px;
  font-weight: 700;
}

body.mh .mh-center {
  max-width: 640px;
  margin: 32px auto;
}

/* FULLSCREEN TERMINAL */
.term-board {
  display: none;
}
.term-board.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 50;
  width: 100vw;
  height: 100vh;
  background: #141221;
}

body.term-open {
  overflow: hidden;
}

.term-back {
  margin: 16px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #6d28d9;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.4);
}

.term-back:hover {
  background: #5b21b6;
}

@media (min-width: 768px) {
  .term-board.is-open { flex-direction: row; }
}

.term-guide {
  width: 100%;
  text-align: left;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #ddd6fe;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.15s ease;
}

.term-guide:hover {
  background: rgba(255, 255, 255, 0.08);
}

.term-guide.open {
  background: #6d28d9;
  color: #ffffff;
}

.term-guide p {
  display: none;
  margin-top: 8px;
  color: #ede9fe;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
}

.term-guide.open p {
  display: block;
}

/* VRACK COMPATIBILITY */
.cp-card {
  background: #ffffff;
  border: 1px solid #ede9fe;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.03);
}
.cp-input {
  border: 1px solid #ddd6fe;
  border-radius: 10px;
  padding: 8px 12px;
  background: #ffffff;
  color: #1e1b4b;
}
.cp-btn {
  background: #6d28d9;
  color: #ffffff;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

body.mh #workspace.fm-shell {
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border-color: #e3e8ef;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.fm-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #e6ebf2;
}

.fm-host {
  color: #334155;
  font-size: 14px;
  font-weight: 500;
}

.fm-git {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.fm-git:hover { color: #6d28d9; }

.fm-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  background: #f7f9fc;
  border-bottom: 1px solid #e6ebf2;
}

.fm-tools button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #3b6fd8;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.fm-tools button:hover { background: #e8f1fb; }

.fm-tools svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fm-body {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  min-height: 520px;
  background: #fff;
}

.fm-tree {
  border-right: 1px solid #e6ebf2;
  padding: 6px 0;
  overflow: auto;
}

.fm-dir, .fm-name {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #334155;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.fm-dir {
  padding: 7px 10px;
  border-radius: 0;
}

.fm-dir:hover, .fm-dir.is-on { background: #e7f1fb; }

.fm-dir span, .fm-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fm-folder-ico, .fm-file-ico {
  width: 16px;
  height: 16px;
  flex: none;
}

.fm-main { min-width: 0; display: flex; flex-direction: column; }

.fm-crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 14px;
  border-bottom: 1px solid #eef2f6;
  color: #94a3b8;
  font-size: 13px;
}

.fm-crumb button {
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.fm-crumb button:hover { color: #3b6fd8; }

.fm-home {
  display: inline-flex;
  color: #64748b;
}

.fm-home svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fm-table-wrap { overflow: auto; flex: 1; }

.fm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #334155;
}

.fm-table th {
  text-align: left;
  font-weight: 600;
  color: #64748b;
  background: #fbfcfe;
  border-bottom: 1px solid #e6ebf2;
  padding: 9px 12px;
  white-space: nowrap;
}

.fm-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.fm-table tr.is-on { background: #f3f8fd; }

.fm-table tbody tr:hover { background: #f8fafc; }

.fm-check { width: 36px; }

.fm-mode {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: #64748b;
  font-size: 12px;
}

.fm-unzip {
  margin-left: 8px;
  border: 0;
  background: transparent;
  color: #3b6fd8;
  font-size: 12px;
  cursor: pointer;
}

.fm-empty {
  padding: 28px 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}

.fm-editor {
  border-top: 1px solid #e6ebf2;
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fm-editor.hidden { display: none; }

.fm-editor-bar {
  display: flex;
  justify-content: space-between;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}

.fm-editor-bar button {
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
}

.fm-editor textarea {
  width: 100%;
  height: 280px;
  border: 1px solid #1e293b;
  border-radius: 8px;
  background: #0f172a;
  color: #e2e8f0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  padding: 12px;
}

@media (max-width: 800px) {
  .fm-body { grid-template-columns: 1fr; }
  .fm-tree { border-right: 0; border-bottom: 1px solid #e6ebf2; max-height: 180px; }
}

.acct-head { padding-bottom: 4px; }

.acct-id {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #ede9fe;
  border-radius: 18px;
  background: linear-gradient(180deg, #faf8ff 0%, #ffffff 70%);
}

.acct-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #6d28d9;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  flex: none;
}

.acct-name {
  font-size: 16px;
  font-weight: 600;
  color: #1e1b4b;
  line-height: 1.3;
}

.acct-mail {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
  word-break: break-all;
}

.acct-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

.acct-badge.is-on {
  color: #047857;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.acct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}

.acct-stack { display: grid; gap: 16px; }

.acct-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #ede9fe;
  border-radius: 18px;
  background: #ffffff;
}

.acct-card-title b {
  display: block;
  color: #1e1b4b;
  font-size: 14px;
}

.acct-card-title span,
.acct-note {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.acct-card label {
  display: grid;
  gap: 6px;
  color: #6d28d9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.acct-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.acct-msg {
  font-size: 12px;
  font-weight: 600;
  border-radius: 10px;
  padding: 8px 10px;
}

.acct-msg.is-ok {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.acct-msg.is-bad {
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.acct-setup:not(.hidden) { display: grid; gap: 12px; }

.acct-qr-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.acct-qr-row canvas {
  width: 168px;
  height: 168px;
  border-radius: 12px;
  border: 1px solid #ede9fe;
  background: #ffffff;
  flex: none;
}

.acct-qr-row p {
  font-size: 12px;
  color: #475569;
}

.acct-qr-row code {
  display: block;
  margin-top: 6px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.4;
  color: #5b21b6;
  word-break: break-all;
}

.acct-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.acct-link {
  border: 0;
  background: transparent;
  color: #6d28d9;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.acct-danger {
  justify-self: start;
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #be123c;
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.acct-card .mh-input:disabled {
  background: #f8fafc;
  color: #64748b;
}

@media (max-width: 900px) {
  .acct-grid, .acct-split { grid-template-columns: 1fr; }
  .acct-id { align-items: flex-start; }
  .acct-badge { margin-left: 0; }
  .acct-qr-row { flex-direction: column; align-items: flex-start; }
}
