/* ============ Tiny Arms Tavern — Bot Panel (Purple T-Rex Theme) ============ */

:root {
  --bg-0: #0c0817;
  --bg-1: #140d24;
  --bg-2: #1b1232;
  --panel: rgba(167, 139, 250, 0.045);
  --panel-strong: rgba(167, 139, 250, 0.09);
  --border: rgba(167, 139, 250, 0.16);
  --border-strong: rgba(167, 139, 250, 0.34);
  --accent: #a78bfa;
  --accent-strong: #cdbfff;
  --accent-dim: #7c68b8;
  --text: #ece7f9;
  --text-dim: #a99cc8;
  --text-faint: #6f6390;
  --green: #7ec850;
  --red: #e0605f;
  --discord: #5865f2;
  --discord-hover: #6b78f7;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--bg-0);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(167, 139, 250, 0.09), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(139, 124, 246, 0.07), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='%23a78bfa' fill-opacity='0.045'%3E%3Cpath d='M48 28c-9 0-14 10-14 18 0 7 2 11 7 13-1 8 2 16 7 16s8-8 7-16c5-2 7-6 7-13 0-8-5-18-14-18z'/%3E%3Cpath d='M29 34c-8 3-11 13-10 21 1 6 4 10 9 10 5 0 8-5 7-13-1-6-2-15-6-18z'/%3E%3Cpath d='M67 34c8 3 11 13 10 21-1 6-4 10-9 10-5 0-8-5-7-13 1-6 2-15 6-18z'/%3E%3Cellipse cx='48' cy='74' rx='17' ry='8'/%3E%3C/g%3E%3C/svg%3E");
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

.view { min-height: 100vh; }

h1, h2, h3 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.02em;
}

/* ================= Login ================= */

#login-view {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: var(--bg-0);
  background-image:
    radial-gradient(800px 500px at 50% 0%, rgba(167, 139, 250, 0.14), transparent 65%),
    radial-gradient(700px 500px at 50% 100%, rgba(139, 124, 246, 0.08), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='%23a78bfa' fill-opacity='0.06'%3E%3Cpath d='M48 28c-9 0-14 10-14 18 0 7 2 11 7 13-1 8 2 16 7 16s8-8 7-16c5-2 7-6 7-13 0-8-5-18-14-18z'/%3E%3Cpath d='M29 34c-8 3-11 13-10 21 1 6 4 10 9 10 5 0 8-5 7-13-1-6-2-15-6-18z'/%3E%3Cpath d='M67 34c8 3 11 13 10 21-1 6-4 10-9 10-5 0-8-5-7-13 1-6 2-15 6-18z'/%3E%3Cellipse cx='48' cy='74' rx='17' ry='8'/%3E%3C/g%3E%3C/svg%3E");
}

.login-card {
  width: 100%;
  max-width: 400px;
  padding: 44px 40px 36px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: var(--shadow), 0 0 60px rgba(139, 124, 246, 0.12);
  animation: rise 0.5s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-logo {
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.login-trex {
  width: 168px;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(139, 124, 246, 0.45));
  animation: trex-bob 4.5s ease-in-out infinite;
}

@keyframes trex-bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-6px) rotate(1.5deg); }
}

.login-title {
  font-size: 28px;
  color: var(--accent-strong);
}

.login-sub {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 26px;
}

.login-error {
  margin-bottom: 18px;
  padding: 10px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  background: rgba(224, 96, 95, 0.12);
  border: 1px solid rgba(224, 96, 95, 0.35);
  color: #ffb3b2;
}

.btn-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--discord);
  border-radius: var(--radius);
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: var(--discord-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(88, 101, 242, 0.45);
}

.btn-discord:active { transform: translateY(0); }

.discord-mark { width: 22px; height: 22px; }

.login-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-faint);
}

/* ================= Layout ================= */

#app-view { display: flex; min-height: 100vh; }

.sidebar {
  width: 252px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 26px 18px 20px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border-right: 1px solid var(--border);
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 24px; }

.brand-emoji { font-size: 34px; filter: drop-shadow(0 4px 10px rgba(167, 139, 250, 0.45)); }

.brand-name {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--accent-strong);
  line-height: 1.2;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nav-item svg { width: 18px; height: 18px; }

.nav-item:hover { background: var(--panel); color: var(--text); }

.nav-item.active {
  color: var(--accent-strong);
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.16), rgba(167, 139, 250, 0.04));
  border-color: var(--border);
}

.sidebar-footer { padding-top: 16px; border-top: 1px solid var(--border); }

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  object-fit: cover;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}

.user-role { font-size: 11px; color: var(--text-faint); }

.btn-ghost {
  width: 100%;
  margin-top: 8px;
  padding: 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn-ghost:hover { color: var(--red); border-color: rgba(224, 96, 95, 0.4); background: rgba(224, 96, 95, 0.06); }

/* ================= Content ================= */

.content {
  flex: 1;
  padding: 30px 36px 48px;
  max-width: 1080px;
  min-width: 0;
}

.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 74px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.page-header h2 { font-size: 26px; color: var(--accent-strong); }

.page-header p { margin-top: 4px; font-size: 13px; color: var(--text-dim); }

.chip {
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}

/* ================= Status cards ================= */

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.status-card {
  padding: 18px 18px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.status-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--panel-strong);
}

.status-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.status-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #555;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.dot.on {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(126, 200, 80, 0.15), 0 0 12px rgba(126, 200, 80, 0.55);
}

.dot.live {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(224, 96, 95, 0.15), 0 0 12px rgba(224, 96, 95, 0.55);
  animation: pulse 1.6s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(224, 96, 95, 0.18), 0 0 10px rgba(224, 96, 95, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(224, 96, 95, 0.05), 0 0 16px rgba(224, 96, 95, 0.75); }
}

.status-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= Panels ================= */

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-head h3 { font-size: 16px; color: var(--accent-strong); }

.btn-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.btn-link:hover { color: var(--accent-strong); }

/* ================= Next runs ================= */

.next-runs { display: flex; flex-direction: column; gap: 8px; }

.next-run {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.next-run:hover { border-color: var(--border); background: rgba(255, 255, 255, 0.04); }

.next-run .nr-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.next-run .nr-when {
  font-size: 12px;
  color: var(--accent);
  white-space: nowrap;
}

.next-run.disabled { opacity: 0.45; }

.empty-state {
  padding: 26px 12px;
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}

/* ================= Messages ================= */

.messages-list { display: flex; flex-direction: column; gap: 12px; }

.msg-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease, opacity 0.2s ease;
}

.msg-card:hover { transform: translateY(-1px); border-color: var(--border-strong); }

.msg-card.disabled { opacity: 0.6; }

.msg-main { flex: 1; min-width: 0; }

.msg-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.msg-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.msg-badge {
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(126, 200, 80, 0.12);
  color: var(--green);
  border: 1px solid rgba(126, 200, 80, 0.3);
}

.msg-badge.off { background: rgba(255, 255, 255, 0.04); color: var(--text-faint); border-color: var(--border); }

.msg-content {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  word-break: break-word;
  white-space: pre-wrap;
}

.msg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-faint);
}

.msg-meta b { color: var(--text-dim); font-weight: 600; }

.msg-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-items: stretch;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: transparent;
  white-space: nowrap;
}

.btn-sm:hover { color: var(--text); border-color: var(--border-strong); background: var(--panel-strong); }

.btn-sm.primary { color: var(--accent); }

.btn-sm.primary:hover { color: var(--bg-0); background: var(--accent); border-color: var(--accent); }

.btn-sm.danger:hover { color: var(--red); border-color: rgba(224, 96, 95, 0.45); background: rgba(224, 96, 95, 0.08); }

.btn-primary {
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #1b1130;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(167, 139, 250, 0.28);
  transition: transform 0.12s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(167, 139, 250, 0.4); filter: brightness(1.05); }

.btn-primary:active { transform: translateY(0); }

/* ================= Toggle switch ================= */

.switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.switch input { opacity: 0; width: 0; height: 0; }

.switch .track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.switch .track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: transform 0.2s ease, background 0.2s ease;
}

.switch input:checked + .track { background: rgba(167, 139, 250, 0.28); border-color: rgba(167, 139, 250, 0.55); }

.switch input:checked + .track::after {
  transform: translateX(18px);
  background: var(--accent);
}

/* ================= Modal ================= */

#modal-root { position: fixed; inset: 0; z-index: 60; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 18, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fade 0.2s ease both;
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px;
  animation: pop 0.22s ease both;
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal h3 {
  font-size: 19px;
  color: var(--accent-strong);
  margin-bottom: 20px;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 7px;
}

.field input[type='text'],
.field input[type='number'],
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }

.field input:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.14);
}

.field .hint { margin-top: 6px; font-size: 11px; color: var(--text-faint); }

.field-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.field-row .field { flex: 1; }

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.modal-error {
  margin-bottom: 14px;
  padding: 9px 12px;
  font-size: 12.5px;
  border-radius: var(--radius-sm);
  background: rgba(224, 96, 95, 0.12);
  border: 1px solid rgba(224, 96, 95, 0.35);
  color: #ffb3b2;
}

/* ================= Toasts ================= */

#toast-root {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  animation: slide-in 0.25s ease both;
}

.toast.success { border-color: rgba(126, 200, 80, 0.5); }

.toast.error { border-color: rgba(224, 96, 95, 0.5); }

.toast.out { animation: slide-out 0.25s ease both; }

@keyframes slide-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(24px); }
}

/* ================= Responsive ================= */

@media (max-width: 860px) {
  #app-view { flex-direction: column; }
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .brand { padding: 0; }
  .nav { flex-direction: row; }
  .nav-item span { display: none; }
  .sidebar-footer { border-top: none; padding-top: 0; margin-left: auto; }
  .content { padding: 22px 16px 40px; }
  .msg-card { flex-direction: column; }
  .msg-actions { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
}

/* ============ Commands & Templates ============ */

.templates-form { display: flex; flex-direction: column; gap: 18px; }

.tpl-panel .panel-head { margin-bottom: 14px; flex-wrap: wrap; gap: 6px 12px; }
.tpl-hint { font-size: 12px; color: var(--text-faint); font-weight: 500; }

.tpl-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }

.tpl-row { position: relative; display: flex; flex-direction: column; }
.tpl-row .tpl-item {
  width: 100%;
  min-height: 74px;
  padding: 10px 38px 10px 12px;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tpl-row .tpl-item:focus {
  outline: none;
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.14);
}

.tpl-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-faint);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.tpl-remove:hover {
  color: var(--red);
  border-color: rgba(224, 96, 95, 0.4);
  background: rgba(224, 96, 95, 0.08);
}

.tpl-meta {
  margin-top: 5px;
  font-size: 11px;
  color: var(--text-faint);
}
.tpl-preview { color: var(--text-dim); }
.tpl-preview-empty { color: var(--text-faint); font-style: italic; }

.input-with-prefix {
  display: flex;
  align-items: stretch;
}
.input-with-prefix > span {
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--panel-strong);
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
}
.input-with-prefix input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.check-field { margin: 4px 0 6px; }
.check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
.check-label input { width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; }

.cmd-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--accent);
}

@media (max-width: 720px) {
  .field-row { flex-direction: column; }
}
