/* ─── Multicode Mobile — ported verbatim from multicode 3/project/views/mobile.css ───
   The CSS variables (var(--bg), var(--text-strong), etc.) resolve to the
   `body.dark` / `body.light` tokens defined in web/src/index.css, so this
   sheet inherits the existing theme system. Class names match the reference
   1:1 so the design-fidelity gate's region detector pairs cleanly. */

body.mobile { max-width: 480px; margin: 0 auto;
  border-left: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  font-size: 14px; min-height: 100vh; overscroll-behavior: none; }

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes sheetUp { from{transform:translateY(100%)} to{transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes slideDown { from{transform:translateY(-100%)} to{transform:translateY(0)} }

.m-topbar { position: sticky; top: 0; z-index: 30;
  background: var(--bg); border-bottom: 1px solid var(--border-soft);
  padding: 14px 18px 12px;
  display: flex; align-items: center; gap: 10px; }
.m-logo { width: 28px; height: 28px; border-radius: 7px;
  background: linear-gradient(135deg, #34d399, #22d3ee);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #000; font-size: 15px; flex-shrink: 0; }
.m-title { flex: 1; min-width: 0; }
.m-title .t { font-size: 16px; font-weight: 600; color: var(--text-strong); }
.m-title .s { font-size: 10px; color: var(--text-dim); margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-iconbtn { width: 34px; height: 34px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text-mid); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; flex-shrink: 0;
  font-family: inherit; cursor: pointer; padding: 0; }
/* MC-370 — inline mobile search input. Fills the title slot when the ⌕ button
   is tapped; same card/border tokens as .m-iconbtn so it reads as part of the
   top bar. */
.m-search-input { flex: 1; min-width: 0; height: 34px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 0 12px;
  color: var(--text-strong); font-size: 14px;
  font-family: inherit; outline: none; }
.m-search-input::-moz-placeholder { color: var(--text-dim); }
.m-search-input::placeholder { color: var(--text-dim); }
.m-search-input:focus { border-color: rgba(52,211,153,0.4); }

.m-main { padding-bottom: 96px; }

.m-filters { display: flex; gap: 6px; padding: 14px 14px 0;
  overflow-x: auto; padding-bottom: 4px; }
.m-fchip { padding: 6px 12px; background: var(--bg-card);
  border: 1px solid var(--border); color: var(--text-dim);
  font-size: 11px; border-radius: 14px; white-space: nowrap; flex-shrink: 0;
  font-family: inherit; cursor: pointer; }
.m-fchip.on { background: rgba(52,211,153,0.12);
  border-color: rgba(52,211,153,0.3); color: #34d399; }

.m-feed { padding: 14px; display: flex; flex-direction: column; gap: 12px; }

.m-card { background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit; }
.m-card .preview { position: relative; aspect-ratio: 16/9.6; overflow: hidden; }
.m-card-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.m-card-head { display: flex; align-items: baseline; gap: 8px; }
.m-card-title { flex: 1; font-size: 15px; font-weight: 600;
  color: var(--text-strong); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.m-card-stars { font-size: 11px; color: var(--text-faint); }
.m-card-desc { font-size: 12px; color: var(--text-dim); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; }
.m-card-foot { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.m-tag { font-size: 10px; padding: 2px 7px; background: var(--bg-elev);
  border-radius: 9px; color: var(--text-dim); }
.m-fork-btn { padding: 5px 10px; background: transparent; color: #a78bfa;
  border: 1px solid rgba(167,139,250,0.3); border-radius: 5px; font-size: 11px;
  font-family: inherit; cursor: pointer; }
.m-open-btn { padding: 6px 14px; background: #34d399; color: #000;
  border: none; border-radius: 5px; font-size: 11px; font-weight: 600;
  text-decoration: none; font-family: inherit; cursor: pointer; }
.m-deploy-pill { position: absolute; top: 8px; left: 8px;
  padding: 3px 8px; background: rgba(0,0,0,0.65); backdrop-filter: blur(8px);
  border-radius: 10px; font-size: 10px;
  display: flex; align-items: center; gap: 4px; }
.m-deploy-pill .d { width: 5px; height: 5px; border-radius: 50%; }
.m-deploy-pill.live { color: #34d399; }
.m-deploy-pill.live .d { background: #34d399; animation: pulse 2s infinite; }
.m-deploy-pill.draft { color: #aaa; }
.m-deploy-pill.draft .d { background: #666; }
.m-presence-pill { position: absolute; top: 8px; right: 8px;
  display: flex; align-items: center; gap: 4px;
  padding: 3px 8px 3px 5px; background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px); border-radius: 12px; }
.m-presence-pill .d { width: 6px; height: 6px; border-radius: 50%;
  background: #34d399; animation: pulse 2s infinite; }
.m-presence-pill .n { font-size: 10px; font-weight: 600; }

.m-new-tile { padding: 24px; background: transparent;
  border: 1.5px dashed var(--border-strong); border-radius: 12px;
  color: var(--text-dim); font-size: 13px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; }
.m-new-tile .plus { font-size: 28px; color: var(--text-faintest); }

.m-banner { padding: 12px 14px;
  background: linear-gradient(90deg, rgba(167,139,250,0.1), rgba(34,211,238,0.04));
  border: 1px solid var(--border); border-radius: 10px; margin: 0 14px;
  display: flex; align-items: center; gap: 10px; }
.m-banner .ic { width: 30px; height: 30px; border-radius: 7px;
  background: #a78bfa; color: #000; display: flex;
  align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.m-banner .h { color: var(--text-strong); font-size: 13px; font-weight: 600; }
.m-banner .s { font-size: 11px; color: var(--text-dim); }

/* Profile */
.m-profile { padding: 8px 18px 24px; }
.m-profile-card { display: flex; align-items: center; gap: 14px;
  padding: 18px 16px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; }
.m-profile-card .who { flex: 1; min-width: 0; }
.m-profile-card .name { font-size: 16px; font-weight: 600; color: var(--text-strong); }
.m-profile-card .plan { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.m-profile-stats { display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 18px; }
.m-stat { padding: 14px 16px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 10px; }
.m-stat .l { font-size: 10px; color: var(--text-dim); letter-spacing: 1px; }
.m-stat .v { font-size: 22px; font-weight: 600;
  color: var(--text-strong); margin-top: 4px; }
.m-sec-label { font-size: 10px; color: var(--text-dim);
  letter-spacing: 2px; margin-bottom: 8px; }
.m-list { background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.m-list-row { display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--border-soft); }
.m-list-row:last-child { border-bottom: none; }
.m-list-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.m-list-text { flex: 1; font-size: 13px; color: var(--text); min-width: 0; }
.m-list-sub { font-size: 10px; color: var(--text-dim); margin-top: 1px; }
.m-list-arr { font-size: 13px; color: var(--text-faint); }
.m-online-wrap { position: relative; flex-shrink: 0; }
.m-online-dot { position: absolute; bottom: -1px; right: -1px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #34d399; border: 2px solid var(--bg-card); }
.m-theme-btn { width: 100%; padding: 14px; background: var(--bg-card);
  color: var(--text); border: 1px solid var(--border); border-radius: 10px;
  font-size: 13px; display: flex; align-items: center;
  justify-content: space-between; text-decoration: none; }

/* Bottom nav */
.m-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  max-width: 480px; margin: 0 auto;
  background: rgba(10,10,10,0.92); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0px); }
.m-nav-row { display: flex; align-items: stretch; }
.m-nav-item { flex: 1; background: none; border: none;
  padding: 10px 0 12px; display: flex; flex-direction: column;
  align-items: center; gap: 3px; color: var(--text-dim);
  text-decoration: none; font-family: inherit; cursor: pointer; }
.m-nav-item.on { color: var(--text-strong); }
.m-nav-item .ic { width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center; font-size: 15px; }
.m-nav-item.on .ic { color: #34d399; }
.m-nav-item .lbl { font-size: 10px; }
.m-nav-item.on .lbl { font-weight: 600; }
.m-nav-plus { width: 46px; height: 46px; margin-top: -22px;
  border-radius: 50%; background: #34d399; color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 18px rgba(52,211,153,0.35), 0 0 0 4px var(--bg); }

/* Sheet (full-screen modal slide-up) */
.m-sheet-overlay { position: fixed; inset: 0; z-index: 50;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
  max-width: 480px; margin: 0 auto; animation: fadeIn 180ms ease-out both; }
.m-sheet { position: absolute; left: 0; right: 0; bottom: 0;
  height: calc(100vh - 30px); background: var(--bg);
  border-radius: 18px 18px 0 0; display: flex; flex-direction: column;
  animation: sheetUp 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.5); overflow: hidden; }
.m-grab { padding: 10px 0 4px; display: flex; justify-content: center; }
.m-grab > div { width: 42px; height: 4px;
  background: var(--border-strong); border-radius: 2px; }
.m-sheet-head { display: flex; align-items: center;
  padding: 8px 18px 14px; border-bottom: 1px solid var(--border-soft); }
.m-sheet-title { flex: 1; font-size: 15px; font-weight: 600;
  color: var(--text-strong); }
.m-sheet-close { width: 30px; height: 30px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-dim); font-size: 18px;
  line-height: 1; text-decoration: none;
  display: flex; align-items: center; justify-content: center; }
.m-sheet-body { flex: 1; overflow: auto; }

.m-pm-preview { position: relative; aspect-ratio: 16/10; background: #000; }
.m-pm-badge { position: absolute; top: 10px; left: 10px;
  padding: 3px 9px; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
  border-radius: 6px; font-size: 10px;
  display: flex; align-items: center; gap: 5px; }
.m-pm-info { padding: 14px 18px 0; }
.m-pm-desc { font-size: 13px; color: var(--text-mid); line-height: 1.5; }
.m-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 10px; }
.m-tag-pill { padding: 3px 9px; background: var(--bg-elev2);
  border: 1px solid var(--border-soft); border-radius: 11px;
  font-size: 11px; color: var(--text-dim); }
.m-stats3 { display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px; margin-top: 14px; }
.m-stat3 { padding: 10px 12px; background: var(--bg-elev); border-radius: 6px; }
.m-stat3 .l { font-size: 9px; color: var(--text-faint); letter-spacing: 1px; }
.m-stat3 .v { font-size: 17px; font-weight: 600;
  color: var(--text-strong); margin-top: 2px; }
.m-pm-actions { display: flex; gap: 6px; margin-top: 14px; }
.m-btn-primary-lg { flex: 1; padding: 12px; background: #34d399;
  color: #000; border: none; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  text-decoration: none; display: flex;
  align-items: center; justify-content: center; }
.m-btn-ghost-sq { padding: 12px 16px; background: transparent;
  color: var(--text-strong); border: 1px solid var(--border-strong);
  border-radius: 8px; font-size: 13px; }

.m-contrib-row { margin-top: 18px; display: flex; align-items: center; gap: 10px; }
.m-edit-now { margin-left: auto; display: flex;
  align-items: center; gap: 5px; font-size: 10px; color: #34d399; }
.m-edit-now .d { width: 6px; height: 6px; border-radius: 50%;
  background: #34d399; animation: pulse 2s infinite; }

.m-tabs { margin-top: 14px; display: flex; gap: 0;
  border-bottom: 1px solid var(--border-soft); padding: 0 18px; }
.m-tabs a { background: none; border: none; padding: 10px 14px;
  color: var(--text-dim); font-size: 12px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  text-decoration: none; }
.m-tabs a.on { color: var(--text-strong); border-bottom-color: #34d399; }

.m-tab-body { padding: 14px 18px 30px; }
.m-timeline { display: flex; flex-direction: column; gap: 12px; }
.m-ti { display: flex; gap: 10px; font-size: 12px; }
.m-ti-icon { width: 18px; text-align: center; color: var(--text-dim); font-size: 9px; }
.m-ti-icon.deploy { font-size: 11px; }
.m-ti-icon.fork { color: #a78bfa; }
.m-ti-who { color: var(--text-strong); font-weight: 500; }
.m-ti-text { flex: 1; color: var(--text); }
.m-ti-date { font-size: 10px; color: var(--text-faint); margin-top: 2px; }

.m-cursor-name { padding: 2px 6px; color: #000;
  font-size: 9px; font-weight: 600; border-radius: 3px; white-space: nowrap; }

/* New project sheet */
.m-form { padding: 18px 18px 32px; }
.m-field { width: 100%; padding: 14px 16px; background: var(--bg-elev);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text-strong); font-size: 15px; outline: none;
  margin-bottom: 20px; font-family: inherit; }
.m-tmpl-grid { display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 18px; }
.m-tmpl { padding: 14px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 10px;
  text-align: left; display: flex; flex-direction: column; gap: 6px;
  cursor: pointer; }
.m-tmpl.on { background: rgba(52,211,153,0.08); border-color: #34d399; }
.m-tmpl .ic { font-size: 20px; color: var(--text-mid); }
.m-tmpl.on .ic { color: #34d399; }
.m-tmpl .n { font-size: 13px; color: var(--text-strong); font-weight: 600; }
.m-tmpl .d { font-size: 10px; color: var(--text-dim); line-height: 1.4; }
.m-invite { display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-mid); margin-bottom: 18px; }
.m-create-btn { width: 100%; padding: 14px; background: #34d399;
  color: #000; border: none; border-radius: 10px;
  font-size: 14px; font-weight: 600; }

/* Toast */
.m-toast { position: fixed; bottom: 92px; left: 16px; right: 16px;
  z-index: 60; max-width: 448px; margin: 0 auto;
  padding: 14px 18px; background: var(--bg-modal);
  border: 1px solid #a78bfa; border-radius: 12px;
  display: flex; align-items: center; gap: 12px;
  animation: slideDown 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  box-shadow: 0 12px 32px rgba(167,139,250,0.25); }
.m-toast .ic { font-size: 20px; color: #a78bfa; }
.m-toast .body { flex: 1; }
.m-toast .h { font-size: 12px; color: var(--text-strong); font-weight: 600; }
.m-toast .s { font-size: 10px; color: var(--text-dim); margin-top: 2px; }
.m-toast .btn { padding: 7px 12px; background: #a78bfa; color: #000;
  border: none; border-radius: 6px; font-size: 11px; font-weight: 600;
  text-decoration: none; }
/* MC-317 — floating direct-chat windows. Colors come from the design theme
   variables only (the avatar background is the sole exception, set inline from
   avatarColorFor, matching the Online Now rail convention). */

.chat-window-container {
  position: fixed;
  bottom: 0;
  right: 16px;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: 8px;
  z-index: 1000;
  pointer-events: none;
}

.chat-window {
  pointer-events: auto;
  width: 240px;
  height: 320px;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  font-size: 13px;
}

.chat-window.minimized {
  height: 40px;
}

.chat-window-header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  min-height: 40px;
  padding: 0 8px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.chat-window-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
}

.chat-window-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-window-unread {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--pink);
  color: white;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-window-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
}

.chat-window-close:hover {
  color: var(--text);
  background: var(--bg-hover);
}

.chat-window-messages {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-message {
  max-width: 80%;
  padding: 5px 9px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.3;
  word-break: break-word;
}

.chat-message.own {
  align-self: flex-end;
  background: var(--mint);
  color: var(--bg);
}

.chat-message.peer {
  align-self: flex-start;
  background: var(--bg-elev2);
  color: var(--text);
}

.chat-message.pending {
  opacity: 0.6;
}

.chat-window-empty {
  margin: auto;
  font-size: 12px;
  color: var(--text-dim);
}

.chat-window-input-row {
  display: flex;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid var(--border);
}

.chat-window-input {
  flex: 1;
  min-width: 0;
  padding: 6px 8px;
  font-size: 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}

.chat-window-input:focus {
  outline: none;
  border-color: var(--mint);
}

.chat-window-send {
  padding: 6px 10px;
  font-size: 13px;
  background: var(--mint);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.chat-window-send:hover {
  background: var(--mint-dim);
}

.chat-window-send:disabled {
  opacity: 0.5;
  cursor: default;
}
/* MC-412 — design-token (`--mc-*`) layer. MUST stay first: `@import` rules
   precede all other statements, and any `var(--mc-*)` consumer needs the
   tokens defined before it cascades. */
/* ===========================================================================
   MC-412 — Design-token foundation (`--mc-*`).

   The single source of truth for tunable UI *dimensions* — typography scale,
   line-heights, letter-spacing, spacing, control sizes, border radii, border
   widths, and font families. COLOUR tokens are intentionally NOT here: those
   live in `web/src/index.css` (`--bg`, `--color-*`, `--mint`, …). The `--mc-`
   prefix is reserved exclusively for this dimension layer — never reuse an
   existing `--color-*` / `--bg*` / `--text-*` name, and never add a colour to
   this file. See `docs/claude/design-tokens.md` for the full catalog + the
   rules for adding / changing / removing a token.

   This file is imported FIRST by `web/src/index.css` (before `@tailwind base`)
   so every `var(--mc-*)` consumer resolves against a defined value.
   =========================================================================== */
:root {
  /* ── Typography scale (font-size) ──
     2xs/xs/sm exist for the dense activity-feed chrome (9/10/11px); base maps
     to the global body size (13px); lg/xl for headings; 2xl for the largest
     display heading (the auth-page wordmark — 36px, preserving the prior
     Tailwind `text-4xl` rendering). */
  --mc-text-2xs: 9px;
  --mc-text-xs: 10px;
  --mc-text-sm: 11px;
  --mc-text-md: 12px;   /* common body/control size between sm and base */
  --mc-text-base: 13px;
  --mc-text-lg: 15px;
  --mc-text-xl: 20px;
  --mc-text-2xl: 36px;

  /* ── Line heights ── */
  --mc-leading-tight: 1.2;
  --mc-leading-normal: 1.4;
  --mc-leading-relaxed: 1.6;

  /* ── Letter spacing ── */
  --mc-tracking-tight: -0.01em;
  --mc-tracking-normal: 0;
  --mc-tracking-wide: 0.3px;
  /* MC-424: all-caps section-label tracking (e.g. "STARTER", "STOREFRONT API
     PERMISSIONS"). Distinct from --mc-tracking-wide (0.3px) — these labels use
     a much wider 2px spread that no existing token matched. */
  --mc-tracking-label: 2px;

  /* ── Spacing scale (base-4 grid) ── */
  --mc-space-1: 4px;
  --mc-space-2: 8px;
  --mc-space-3: 12px;
  --mc-space-4: 16px;
  --mc-space-5: 20px;
  --mc-space-6: 24px;
  --mc-space-7: 28px;
  --mc-space-8: 32px;
  /* Half-steps — the app also uses a 2px sub-grid (6/10/14/18px are heavily
     used for dense card/feed chrome). Named as .5 steps between the base-4
     stops so the grid stays legible. */
  --mc-space-0-5: 2px;
  --mc-space-1-5: 6px;
  --mc-space-2-5: 10px;
  --mc-space-3-5: 14px;
  --mc-space-4-5: 18px;

  /* ── Control heights (button / input) ── */
  --mc-control-sm: 28px;
  --mc-control-md: 32px;
  --mc-control-lg: 36px;

  /* ── Border radii ── */
  --mc-radius-xs: 4px;
  --mc-radius-sm: 6px;
  --mc-radius-md: 10px;
  --mc-radius-lg: 12px;
  --mc-radius-xl: 14px;
  --mc-radius-pill: 9999px;

  /* ── Border widths ── */
  --mc-border-thin: 1px;
  --mc-border-thick: 3px;

  /* ── Component dimensions ──
     Off-grid sizes that are still tunable parameters of a specific surface.
     `timeline-max-h` is the expanded-scroll max-height of ActivityTimeline. */
  --mc-timeline-max-h: 300px;
  /* MC-426 — AdminPanel + AdminConsole off-grid layout constraints (formerly
     `min-w-[800px]` / `max-w-[200px]` / `max-h-[80vh]` arbitrary Tailwind
     values + an inline `minHeight: 180px`). Component-coupled per the
     design-tokens convention for one-off dimensions. */
  --mc-admin-table-min-w-lg: 800px;
  --mc-admin-table-min-w-md: 700px;
  --mc-admin-table-min-w-sm: 500px;
  --mc-admin-truncate-max-w: 200px;
  --mc-admin-modal-max-h: 80vh;
  --mc-admin-console-textarea-min-h: 180px;

  /* ── Font families ── */
  --mc-font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mc-font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
/* ── Tier 2: component variables (dimensions) ──────────────────────────────
   MC-417 — the dimension half of the two-tier convention. Same rule as the
   colour component vars in index.css: each aliases a Tier-1 `--mc-*` token,
   and the RHS is ALWAYS a `var(--mc-*)` reference, never a raw px/unit
   literal. A component reads its own variable (`border-radius:
   var(--card-radius)`) so the overlay can retune one surface (individual edit)
   or the whole `--mc-*` scale (group edit). Purely additive — no component
   consumes these yet. See docs/claude/design-tokens.md → "Two-tier model". */
:root {
  --btn-radius: var(--mc-radius-sm);
  --card-radius: var(--mc-radius-md);
  --card-padding: var(--mc-space-4);
  --input-radius: var(--mc-radius-sm);
}
/* ===========================================================================
   Per-scope overrides — `data-design-scope="<name>"`.

   A container marks itself `data-design-scope="<name>"`; the rules below
   re-point one or more `--mc-*` tokens for that subtree only. CSS custom
   properties inherit, so the override applies to ALL descendants of the
   scoped element (including modals/portals rendered inside it) — keep scope
   markers on leaf-level containers where possible. Catalog each scope in
   `docs/claude/design-tokens.md`.

   Scopes in use:
   - explore — the /explore page (`<main className="main" data-design-scope=
     "explore">` in ExplorePage.tsx). Demonstrates the override mechanism with
     a softer card radius. No descendant currently consumes `--mc-radius-md`
     directly (the explore cards hardcode their radius in index.css), so this
     override is presently presentational-neutral and exists to anchor the
     mechanism + its AC.
   =========================================================================== */
[data-design-scope="explore"] {
  --mc-radius-md: 20px;
}
*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}
/* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}
::before,
::after {
  --tw-content: '';
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/
html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}
/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}
/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/
hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}
/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}
/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
  color: inherit;
  text-decoration: inherit;
}
/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
  font-weight: bolder;
}
/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}
/*
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}
/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}
/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}
/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
  text-transform: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
  outline: auto;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
  box-shadow: none;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}
/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
  resize: vertical;
}
/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/
input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
/*
Set the default cursor for buttons.
*/
button,
[role="button"] {
  cursor: pointer;
}
/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
  max-width: 100%;
  height: auto;
}
/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.\!container {
  width: 100% !important;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {
  .\!container {
    max-width: 640px !important;
  }
  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  .\!container {
    max-width: 768px !important;
  }
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .\!container {
    max-width: 1024px !important;
  }
  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .\!container {
    max-width: 1280px !important;
  }
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {
  .\!container {
    max-width: 1536px !important;
  }
  .container {
    max-width: 1536px;
  }
}
.pointer-events-none {
  pointer-events: none;
}
.pointer-events-auto {
  pointer-events: auto;
}
.visible {
  visibility: visible;
}
.invisible {
  visibility: hidden;
}
.collapse {
  visibility: collapse;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.inset-0 {
  inset: 0px;
}
.inset-x-0 {
  left: 0px;
  right: 0px;
}
.inset-y-0 {
  top: 0px;
  bottom: 0px;
}
.-bottom-0\.5 {
  bottom: -0.125rem;
}
.-left-1 {
  left: -0.25rem;
}
.-right-0\.5 {
  right: -0.125rem;
}
.-right-1 {
  right: -0.25rem;
}
.-top-1 {
  top: -0.25rem;
}
.-top-2\.5 {
  top: -0.625rem;
}
.bottom-0 {
  bottom: 0px;
}
.bottom-1 {
  bottom: 0.25rem;
}
.bottom-1\.5 {
  bottom: 0.375rem;
}
.bottom-2 {
  bottom: 0.5rem;
}
.bottom-4 {
  bottom: 1rem;
}
.bottom-6 {
  bottom: 1.5rem;
}
.bottom-full {
  bottom: 100%;
}
.left-0 {
  left: 0px;
}
.left-0\.5 {
  left: 0.125rem;
}
.left-1\/2 {
  left: 50%;
}
.left-2 {
  left: 0.5rem;
}
.left-4 {
  left: 1rem;
}
.left-\[30px\] {
  left: 30px;
}
.left-\[var\(--mc-space-3-5\)\] {
  left: var(--mc-space-3-5);
}
.right-0 {
  right: 0px;
}
.right-2 {
  right: 0.5rem;
}
.right-3 {
  right: 0.75rem;
}
.right-4 {
  right: 1rem;
}
.right-6 {
  right: 1.5rem;
}
.top-0 {
  top: 0px;
}
.top-0\.5 {
  top: 0.125rem;
}
.top-1\/2 {
  top: 50%;
}
.top-2 {
  top: 0.5rem;
}
.top-4 {
  top: 1rem;
}
.top-6 {
  top: 1.5rem;
}
.top-7 {
  top: 1.75rem;
}
.top-full {
  top: 100%;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}
.z-\[10000\] {
  z-index: 10000;
}
.z-\[1000\] {
  z-index: 1000;
}
.z-\[1\] {
  z-index: 1;
}
.z-\[60\] {
  z-index: 60;
}
.z-\[70\] {
  z-index: 70;
}
.z-\[9999\] {
  z-index: 9999;
}
.-mx-1 {
  margin-left: -0.25rem;
  margin-right: -0.25rem;
}
.mx-0 {
  margin-left: 0px;
  margin-right: 0px;
}
.mx-0\.5 {
  margin-left: 0.125rem;
  margin-right: 0.125rem;
}
.mx-3 {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}
.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}
.mx-6 {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.my-3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.-mr-1\.5 {
  margin-right: -0.375rem;
}
.-mt-0\.5 {
  margin-top: -0.125rem;
}
.mb-0\.5 {
  margin-bottom: 0.125rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-\[var\(--mc-space-1\)\] {
  margin-bottom: var(--mc-space-1);
}
.ml-0\.5 {
  margin-left: 0.125rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-1\.5 {
  margin-left: 0.375rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-4 {
  margin-left: 1rem;
}
.ml-5 {
  margin-left: 1.25rem;
}
.ml-6 {
  margin-left: 1.5rem;
}
.ml-7 {
  margin-left: 1.75rem;
}
.ml-\[148px\] {
  margin-left: 148px;
}
.ml-auto {
  margin-left: auto;
}
.mr-0\.5 {
  margin-right: 0.125rem;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-1\.5 {
  margin-top: 0.375rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-\[var\(--mc-space-1\)\] {
  margin-top: var(--mc-space-1);
}
.mt-auto {
  margin-top: auto;
}
.mt-px {
  margin-top: 1px;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.contents {
  display: contents;
}
.hidden {
  display: none;
}
.h-1 {
  height: 0.25rem;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: 3rem;
}
.h-14 {
  height: 3.5rem;
}
.h-16 {
  height: 4rem;
}
.h-2 {
  height: 0.5rem;
}
.h-2\.5 {
  height: 0.625rem;
}
.h-3 {
  height: 0.75rem;
}
.h-3\.5 {
  height: 0.875rem;
}
.h-4 {
  height: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-7 {
  height: 1.75rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[14px\] {
  height: 14px;
}
.h-\[18px\] {
  height: 18px;
}
.h-auto {
  height: auto;
}
.h-full {
  height: 100%;
}
.h-px {
  height: 1px;
}
.max-h-48 {
  max-height: 12rem;
}
.max-h-56 {
  max-height: 14rem;
}
.max-h-60 {
  max-height: 15rem;
}
.max-h-96 {
  max-height: 24rem;
}
.max-h-\[400px\] {
  max-height: 400px;
}
.max-h-\[60vh\] {
  max-height: 60vh;
}
.max-h-\[80vh\] {
  max-height: 80vh;
}
.max-h-\[85vh\] {
  max-height: 85vh;
}
.max-h-\[90vh\] {
  max-height: 90vh;
}
.max-h-\[var\(--mc-admin-modal-max-h\)\] {
  max-height: var(--mc-admin-modal-max-h);
}
.max-h-\[var\(--mc-timeline-max-h\)\] {
  max-height: var(--mc-timeline-max-h);
}
.min-h-0 {
  min-height: 0px;
}
.min-h-\[200px\] {
  min-height: 200px;
}
.min-h-\[2rem\] {
  min-height: 2rem;
}
.min-h-screen {
  min-height: 100vh;
}
.w-1 {
  width: 0.25rem;
}
.w-1\.5 {
  width: 0.375rem;
}
.w-10 {
  width: 2.5rem;
}
.w-12 {
  width: 3rem;
}
.w-14 {
  width: 3.5rem;
}
.w-16 {
  width: 4rem;
}
.w-2 {
  width: 0.5rem;
}
.w-2\.5 {
  width: 0.625rem;
}
.w-20 {
  width: 5rem;
}
.w-28 {
  width: 7rem;
}
.w-3 {
  width: 0.75rem;
}
.w-3\.5 {
  width: 0.875rem;
}
.w-36 {
  width: 9rem;
}
.w-4 {
  width: 1rem;
}
.w-40 {
  width: 10rem;
}
.w-44 {
  width: 11rem;
}
.w-48 {
  width: 12rem;
}
.w-5 {
  width: 1.25rem;
}
.w-56 {
  width: 14rem;
}
.w-6 {
  width: 1.5rem;
}
.w-7 {
  width: 1.75rem;
}
.w-8 {
  width: 2rem;
}
.w-9 {
  width: 2.25rem;
}
.w-\[14px\] {
  width: 14px;
}
.w-\[18px\] {
  width: 18px;
}
.w-full {
  width: 100%;
}
.w-px {
  width: 1px;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-\[140px\] {
  min-width: 140px;
}
.min-w-\[var\(--mc-admin-table-min-w-lg\)\] {
  min-width: var(--mc-admin-table-min-w-lg);
}
.min-w-\[var\(--mc-admin-table-min-w-md\)\] {
  min-width: var(--mc-admin-table-min-w-md);
}
.min-w-\[var\(--mc-admin-table-min-w-sm\)\] {
  min-width: var(--mc-admin-table-min-w-sm);
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-\[12rem\] {
  max-width: 12rem;
}
.max-w-\[82\%\] {
  max-width: 82%;
}
.max-w-\[90vw\] {
  max-width: 90vw;
}
.max-w-\[var\(--mc-admin-truncate-max-w\)\] {
  max-width: var(--mc-admin-truncate-max-w);
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-sm {
  max-width: 24rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.shrink-0 {
  flex-shrink: 0;
}
.flex-grow {
  flex-grow: 1;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-x-1 {
  --tw-translate-x: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-x-4 {
  --tw-translate-x: 1rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-x-5 {
  --tw-translate-x: 1.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-rotate-90 {
  --tw-rotate: -90deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.rotate-90 {
  --tw-rotate: 90deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.animate-\[statusPulse_2s_ease-in-out_infinite\] {
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-col-resize {
  cursor: col-resize;
}
.cursor-default {
  cursor: default;
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.cursor-pointer {
  cursor: pointer;
}
.cursor-wait {
  cursor: wait;
}
.select-none {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.select-text {
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
}
.select-all {
  -webkit-user-select: all;
     -moz-user-select: all;
          user-select: all;
}
.resize-none {
  resize: none;
}
.resize-y {
  resize: vertical;
}
.resize {
  resize: both;
}
.list-inside {
  list-style-position: inside;
}
.list-disc {
  list-style-type: disc;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-\[1fr_100px_80px_80px_80px_80px_80px_80px_40px\] {
  grid-template-columns: 1fr 100px 80px 80px 80px 80px 80px 80px 40px;
}
.grid-cols-\[80px_120px_70px_100px_80px\] {
  grid-template-columns: 80px 120px 70px 100px 80px;
}
.grid-cols-\[repeat\(auto-fill\2c minmax\(220px\2c 1fr\)\)\] {
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
}
.grid-cols-\[repeat\(auto-fill\2c minmax\(240px\2c 1fr\)\)\] {
  grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.items-baseline {
  align-items: baseline;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-0\.5 {
  gap: 0.125rem;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-2\.5 {
  gap: 0.625rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-\[var\(--mc-space-3\)\] {
  gap: var(--mc-space-3);
}
.gap-\[var\(--mc-space-3-5\)\] {
  gap: var(--mc-space-3-5);
}
.gap-x-3 {
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}
.gap-x-6 {
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
}
.gap-y-0\.5 {
  row-gap: 0.125rem;
}
.gap-y-2 {
  row-gap: 0.5rem;
}
.-space-x-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(-0.375rem * var(--tw-space-x-reverse));
  margin-left: calc(-0.375rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.125rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.125rem * var(--tw-space-y-reverse));
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.divide-theme-border > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(var(--color-border) / var(--tw-divide-opacity, 1));
}
.self-start {
  align-self: flex-start;
}
.self-center {
  align-self: center;
}
.overflow-auto {
  overflow: auto;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.overflow-y-auto {
  overflow-y: auto;
}
.overflow-x-hidden {
  overflow-x: hidden;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.whitespace-pre-wrap {
  white-space: pre-wrap;
}
.break-words {
  overflow-wrap: break-word;
}
.break-all {
  word-break: break-all;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-\[var\(--mc-radius-md\)\] {
  border-radius: var(--mc-radius-md);
}
.rounded-\[var\(--mc-radius-sm\)\] {
  border-radius: var(--mc-radius-sm);
}
.rounded-\[var\(--mc-radius-xs\)\] {
  border-radius: var(--mc-radius-xs);
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-sm {
  border-radius: 0.125rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-t-2xl {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.rounded-t-lg {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
.border {
  border-width: 1px;
}
.border-0 {
  border-width: 0px;
}
.border-2 {
  border-width: 2px;
}
.border-\[1\.5px\] {
  border-width: 1.5px;
}
.border-\[3px\] {
  border-width: 3px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-l-2 {
  border-left-width: 2px;
}
.border-l-4 {
  border-left-width: 4px;
}
.border-l-\[3px\] {
  border-left-width: 3px;
}
.border-l-\[length\:var\(--mc-border-thick\)\] {
  border-left-width: var(--mc-border-thick);
}
.border-t {
  border-top-width: 1px;
}
.border-dashed {
  border-style: dashed;
}
.border-accent {
  --tw-border-opacity: 1;
  border-color: rgb(var(--color-accent) / var(--tw-border-opacity, 1));
}
.border-accent\/20 {
  border-color: rgb(var(--color-accent) / 0.2);
}
.border-accent\/30 {
  border-color: rgb(var(--color-accent) / 0.3);
}
.border-accent\/40 {
  border-color: rgb(var(--color-accent) / 0.4);
}
.border-accent\/50 {
  border-color: rgb(var(--color-accent) / 0.5);
}
.border-amber-400 {
  --tw-border-opacity: 1;
  border-color: rgb(251 191 36 / var(--tw-border-opacity, 1));
}
.border-amber-400\/50 {
  border-color: rgb(251 191 36 / 0.5);
}
.border-amber-500 {
  --tw-border-opacity: 1;
  border-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}
.border-amber-500\/10 {
  border-color: rgb(245 158 11 / 0.1);
}
.border-amber-500\/20 {
  border-color: rgb(245 158 11 / 0.2);
}
.border-amber-500\/30 {
  border-color: rgb(245 158 11 / 0.3);
}
.border-amber-500\/40 {
  border-color: rgb(245 158 11 / 0.4);
}
.border-amber-600\/30 {
  border-color: rgb(217 119 6 / 0.3);
}
.border-amber-700 {
  --tw-border-opacity: 1;
  border-color: rgb(180 83 9 / var(--tw-border-opacity, 1));
}
.border-amber-700\/30 {
  border-color: rgb(180 83 9 / 0.3);
}
.border-amber-700\/50 {
  border-color: rgb(180 83 9 / 0.5);
}
.border-blue-500\/10 {
  border-color: rgb(59 130 246 / 0.1);
}
.border-blue-500\/40 {
  border-color: rgb(59 130 246 / 0.4);
}
.border-blue-800 {
  --tw-border-opacity: 1;
  border-color: rgb(30 64 175 / var(--tw-border-opacity, 1));
}
.border-blue-800\/30 {
  border-color: rgb(30 64 175 / 0.3);
}
.border-emerald-400 {
  --tw-border-opacity: 1;
  border-color: rgb(52 211 153 / var(--tw-border-opacity, 1));
}
.border-emerald-400\/50 {
  border-color: rgb(52 211 153 / 0.5);
}
.border-emerald-500\/10 {
  border-color: rgb(16 185 129 / 0.1);
}
.border-emerald-500\/20 {
  border-color: rgb(16 185 129 / 0.2);
}
.border-emerald-500\/40 {
  border-color: rgb(16 185 129 / 0.4);
}
.border-emerald-800\/30 {
  border-color: rgb(6 95 70 / 0.3);
}
.border-gray-500 {
  --tw-border-opacity: 1;
  border-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
}
.border-green-700\/30 {
  border-color: rgb(21 128 61 / 0.3);
}
.border-indigo-500\/10 {
  border-color: rgb(99 102 241 / 0.1);
}
.border-purple-500\/40 {
  border-color: rgb(168 85 247 / 0.4);
}
.border-red-500 {
  --tw-border-opacity: 1;
  border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
}
.border-red-500\/10 {
  border-color: rgb(239 68 68 / 0.1);
}
.border-red-500\/20 {
  border-color: rgb(239 68 68 / 0.2);
}
.border-red-500\/30 {
  border-color: rgb(239 68 68 / 0.3);
}
.border-red-500\/40 {
  border-color: rgb(239 68 68 / 0.4);
}
.border-red-700 {
  --tw-border-opacity: 1;
  border-color: rgb(185 28 28 / var(--tw-border-opacity, 1));
}
.border-red-800 {
  --tw-border-opacity: 1;
  border-color: rgb(153 27 27 / var(--tw-border-opacity, 1));
}
.border-red-800\/30 {
  border-color: rgb(153 27 27 / 0.3);
}
.border-slate-500\/10 {
  border-color: rgb(100 116 139 / 0.1);
}
.border-slate-500\/\[0\.08\] {
  border-color: rgb(100 116 139 / 0.08);
}
.border-slate-600 {
  --tw-border-opacity: 1;
  border-color: rgb(71 85 105 / var(--tw-border-opacity, 1));
}
.border-slate-700 {
  --tw-border-opacity: 1;
  border-color: rgb(51 65 85 / var(--tw-border-opacity, 1));
}
.border-status-danger\/20 {
  border-color: rgb(248 113 113 / 0.2);
}
.border-status-success\/20 {
  border-color: rgb(52 211 153 / 0.2);
}
.border-status-success\/30 {
  border-color: rgb(52 211 153 / 0.3);
}
.border-status-warning\/20 {
  border-color: rgb(251 191 36 / 0.2);
}
.border-theme-border {
  --tw-border-opacity: 1;
  border-color: rgb(var(--color-border) / var(--tw-border-opacity, 1));
}
.border-theme-border-alt {
  --tw-border-opacity: 1;
  border-color: rgb(var(--color-border-alt) / var(--tw-border-opacity, 1));
}
.border-theme-border\/30 {
  border-color: rgb(var(--color-border) / 0.3);
}
.border-theme-border\/40 {
  border-color: rgb(var(--color-border) / 0.4);
}
.border-theme-border\/50 {
  border-color: rgb(var(--color-border) / 0.5);
}
.border-theme-panel {
  --tw-border-opacity: 1;
  border-color: rgb(var(--color-panel) / var(--tw-border-opacity, 1));
}
.border-transparent {
  border-color: transparent;
}
.border-white\/30 {
  border-color: rgb(255 255 255 / 0.3);
}
.border-yellow-500\/30 {
  border-color: rgb(234 179 8 / 0.3);
}
.border-yellow-800 {
  --tw-border-opacity: 1;
  border-color: rgb(133 77 14 / var(--tw-border-opacity, 1));
}
.border-l-amber-500 {
  --tw-border-opacity: 1;
  border-left-color: rgb(245 158 11 / var(--tw-border-opacity, 1));
}
.border-l-amber-500\/50 {
  border-left-color: rgb(245 158 11 / 0.5);
}
.border-l-amber-600 {
  --tw-border-opacity: 1;
  border-left-color: rgb(217 119 6 / var(--tw-border-opacity, 1));
}
.border-l-blue-500 {
  --tw-border-opacity: 1;
  border-left-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.border-l-blue-500\/50 {
  border-left-color: rgb(59 130 246 / 0.5);
}
.border-l-emerald-400 {
  --tw-border-opacity: 1;
  border-left-color: rgb(52 211 153 / var(--tw-border-opacity, 1));
}
.border-l-emerald-500 {
  --tw-border-opacity: 1;
  border-left-color: rgb(16 185 129 / var(--tw-border-opacity, 1));
}
.border-l-emerald-500\/50 {
  border-left-color: rgb(16 185 129 / 0.5);
}
.border-l-gray-500 {
  --tw-border-opacity: 1;
  border-left-color: rgb(107 114 128 / var(--tw-border-opacity, 1));
}
.border-l-indigo-500\/50 {
  border-left-color: rgb(99 102 241 / 0.5);
}
.border-l-purple-500 {
  --tw-border-opacity: 1;
  border-left-color: rgb(168 85 247 / var(--tw-border-opacity, 1));
}
.border-l-red-500\/50 {
  border-left-color: rgb(239 68 68 / 0.5);
}
.border-l-red-500\/70 {
  border-left-color: rgb(239 68 68 / 0.7);
}
.border-l-slate-500\/30 {
  border-left-color: rgb(100 116 139 / 0.3);
}
.border-l-slate-500\/40 {
  border-left-color: rgb(100 116 139 / 0.4);
}
.border-t-amber-400 {
  --tw-border-opacity: 1;
  border-top-color: rgb(251 191 36 / var(--tw-border-opacity, 1));
}
.border-t-current {
  border-top-color: currentColor;
}
.border-t-emerald-400 {
  --tw-border-opacity: 1;
  border-top-color: rgb(52 211 153 / var(--tw-border-opacity, 1));
}
.border-t-sky-400 {
  --tw-border-opacity: 1;
  border-top-color: rgb(56 189 248 / var(--tw-border-opacity, 1));
}
.border-t-transparent {
  border-top-color: transparent;
}
.border-t-white {
  --tw-border-opacity: 1;
  border-top-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}
.bg-accent {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-accent) / var(--tw-bg-opacity, 1));
}
.bg-accent-subtle {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-accent-subtle) / var(--tw-bg-opacity, 1));
}
.bg-accent\/10 {
  background-color: rgb(var(--color-accent) / 0.1);
}
.bg-accent\/15 {
  background-color: rgb(var(--color-accent) / 0.15);
}
.bg-accent\/20 {
  background-color: rgb(var(--color-accent) / 0.2);
}
.bg-accent\/5 {
  background-color: rgb(var(--color-accent) / 0.05);
}
.bg-accent\/90 {
  background-color: rgb(var(--color-accent) / 0.9);
}
.bg-amber-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 243 199 / var(--tw-bg-opacity, 1));
}
.bg-amber-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(251 191 36 / var(--tw-bg-opacity, 1));
}
.bg-amber-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(245 158 11 / var(--tw-bg-opacity, 1));
}
.bg-amber-500\/10 {
  background-color: rgb(245 158 11 / 0.1);
}
.bg-amber-500\/20 {
  background-color: rgb(245 158 11 / 0.2);
}
.bg-amber-500\/5 {
  background-color: rgb(245 158 11 / 0.05);
}
.bg-amber-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(217 119 6 / var(--tw-bg-opacity, 1));
}
.bg-amber-600\/20 {
  background-color: rgb(217 119 6 / 0.2);
}
.bg-amber-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(120 53 15 / var(--tw-bg-opacity, 1));
}
.bg-amber-900\/10 {
  background-color: rgb(120 53 15 / 0.1);
}
.bg-amber-900\/30 {
  background-color: rgb(120 53 15 / 0.3);
}
.bg-amber-900\/50 {
  background-color: rgb(120 53 15 / 0.5);
}
.bg-black\/0 {
  background-color: rgb(0 0 0 / 0);
}
.bg-black\/20 {
  background-color: rgb(0 0 0 / 0.2);
}
.bg-black\/30 {
  background-color: rgb(0 0 0 / 0.3);
}
.bg-black\/40 {
  background-color: rgb(0 0 0 / 0.4);
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.bg-black\/60 {
  background-color: rgb(0 0 0 / 0.6);
}
.bg-black\/70 {
  background-color: rgb(0 0 0 / 0.7);
}
.bg-black\/80 {
  background-color: rgb(0 0 0 / 0.8);
}
.bg-blue-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
}
.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}
.bg-blue-500\/10 {
  background-color: rgb(59 130 246 / 0.1);
}
.bg-blue-500\/20 {
  background-color: rgb(59 130 246 / 0.2);
}
.bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.bg-blue-900\/20 {
  background-color: rgb(30 58 138 / 0.2);
}
.bg-blue-900\/30 {
  background-color: rgb(30 58 138 / 0.3);
}
.bg-cyan-500\/20 {
  background-color: rgb(6 182 212 / 0.2);
}
.bg-emerald-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(52 211 153 / var(--tw-bg-opacity, 1));
}
.bg-emerald-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
}
.bg-emerald-500\/10 {
  background-color: rgb(16 185 129 / 0.1);
}
.bg-emerald-500\/15 {
  background-color: rgb(16 185 129 / 0.15);
}
.bg-emerald-500\/20 {
  background-color: rgb(16 185 129 / 0.2);
}
.bg-emerald-500\/5 {
  background-color: rgb(16 185 129 / 0.05);
}
.bg-emerald-500\/60 {
  background-color: rgb(16 185 129 / 0.6);
}
.bg-emerald-500\/80 {
  background-color: rgb(16 185 129 / 0.8);
}
.bg-emerald-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
}
.bg-emerald-900\/20 {
  background-color: rgb(6 78 59 / 0.2);
}
.bg-emerald-900\/30 {
  background-color: rgb(6 78 59 / 0.3);
}
.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.bg-gray-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
}
.bg-gray-500\/20 {
  background-color: rgb(107 114 128 / 0.2);
}
.bg-gray-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}
.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}
.bg-green-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.bg-green-900\/30 {
  background-color: rgb(20 83 45 / 0.3);
}
.bg-indigo-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(99 102 241 / var(--tw-bg-opacity, 1));
}
.bg-orange-500\/20 {
  background-color: rgb(249 115 22 / 0.2);
}
.bg-pink-500\/20 {
  background-color: rgb(236 72 153 / 0.2);
}
.bg-purple-500\/20 {
  background-color: rgb(168 85 247 / 0.2);
}
.bg-purple-500\/\[0\.03\] {
  background-color: rgb(168 85 247 / 0.03);
}
.bg-purple-900\/30 {
  background-color: rgb(88 28 135 / 0.3);
}
.bg-red-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
}
.bg-red-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 202 202 / var(--tw-bg-opacity, 1));
}
.bg-red-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(248 113 113 / var(--tw-bg-opacity, 1));
}
.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.bg-red-500\/10 {
  background-color: rgb(239 68 68 / 0.1);
}
.bg-red-500\/20 {
  background-color: rgb(239 68 68 / 0.2);
}
.bg-red-500\/5 {
  background-color: rgb(239 68 68 / 0.05);
}
.bg-red-500\/90 {
  background-color: rgb(239 68 68 / 0.9);
}
.bg-red-500\/\[0\.08\] {
  background-color: rgb(239 68 68 / 0.08);
}
.bg-red-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}
.bg-red-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(127 29 29 / var(--tw-bg-opacity, 1));
}
.bg-red-900\/20 {
  background-color: rgb(127 29 29 / 0.2);
}
.bg-red-900\/30 {
  background-color: rgb(127 29 29 / 0.3);
}
.bg-red-950\/50 {
  background-color: rgb(69 10 10 / 0.5);
}
.bg-rose-500\/20 {
  background-color: rgb(244 63 94 / 0.2);
}
.bg-sky-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(14 165 233 / var(--tw-bg-opacity, 1));
}
.bg-slate-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(148 163 184 / var(--tw-bg-opacity, 1));
}
.bg-slate-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(100 116 139 / var(--tw-bg-opacity, 1));
}
.bg-slate-500\/10 {
  background-color: rgb(100 116 139 / 0.1);
}
.bg-slate-500\/20 {
  background-color: rgb(100 116 139 / 0.2);
}
.bg-slate-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(15 23 42 / var(--tw-bg-opacity, 1));
}
.bg-slate-950 {
  --tw-bg-opacity: 1;
  background-color: rgb(2 6 23 / var(--tw-bg-opacity, 1));
}
.bg-slate-950\/60 {
  background-color: rgb(2 6 23 / 0.6);
}
.bg-slate-950\/95 {
  background-color: rgb(2 6 23 / 0.95);
}
.bg-status-danger {
  --tw-bg-opacity: 1;
  background-color: rgb(248 113 113 / var(--tw-bg-opacity, 1));
}
.bg-status-danger\/10 {
  background-color: rgb(248 113 113 / 0.1);
}
.bg-status-danger\/15 {
  background-color: rgb(248 113 113 / 0.15);
}
.bg-status-danger\/20 {
  background-color: rgb(248 113 113 / 0.2);
}
.bg-status-danger\/5 {
  background-color: rgb(248 113 113 / 0.05);
}
.bg-status-success {
  --tw-bg-opacity: 1;
  background-color: rgb(52 211 153 / var(--tw-bg-opacity, 1));
}
.bg-status-success\/10 {
  background-color: rgb(52 211 153 / 0.1);
}
.bg-status-success\/15 {
  background-color: rgb(52 211 153 / 0.15);
}
.bg-status-warning {
  --tw-bg-opacity: 1;
  background-color: rgb(251 191 36 / var(--tw-bg-opacity, 1));
}
.bg-status-warning\/10 {
  background-color: rgb(251 191 36 / 0.1);
}
.bg-status-warning\/20 {
  background-color: rgb(251 191 36 / 0.2);
}
.bg-theme-border {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-border) / var(--tw-bg-opacity, 1));
}
.bg-theme-border-alt {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-border-alt) / var(--tw-bg-opacity, 1));
}
.bg-theme-hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-hover) / var(--tw-bg-opacity, 1));
}
.bg-theme-hover\/10 {
  background-color: rgb(var(--color-hover) / 0.1);
}
.bg-theme-hover\/20 {
  background-color: rgb(var(--color-hover) / 0.2);
}
.bg-theme-hover\/30 {
  background-color: rgb(var(--color-hover) / 0.3);
}
.bg-theme-hover\/50 {
  background-color: rgb(var(--color-hover) / 0.5);
}
.bg-theme-hover\/60 {
  background-color: rgb(var(--color-hover) / 0.6);
}
.bg-theme-input {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-input) / var(--tw-bg-opacity, 1));
}
.bg-theme-page {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-page) / var(--tw-bg-opacity, 1));
}
.bg-theme-page\/50 {
  background-color: rgb(var(--color-page) / 0.5);
}
.bg-theme-panel {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-panel) / var(--tw-bg-opacity, 1));
}
.bg-theme-panel\/30 {
  background-color: rgb(var(--color-panel) / 0.3);
}
.bg-theme-panel\/40 {
  background-color: rgb(var(--color-panel) / 0.4);
}
.bg-theme-panel\/50 {
  background-color: rgb(var(--color-panel) / 0.5);
}
.bg-transparent {
  background-color: transparent;
}
.bg-violet-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(139 92 246 / var(--tw-bg-opacity, 1));
}
.bg-violet-500\/20 {
  background-color: rgb(139 92 246 / 0.2);
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-yellow-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 204 21 / var(--tw-bg-opacity, 1));
}
.bg-yellow-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(234 179 8 / var(--tw-bg-opacity, 1));
}
.bg-yellow-500\/10 {
  background-color: rgb(234 179 8 / 0.1);
}
.bg-yellow-500\/20 {
  background-color: rgb(234 179 8 / 0.2);
}
.bg-yellow-900\/30 {
  background-color: rgb(113 63 18 / 0.3);
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}
.from-accent\/30 {
  --tw-gradient-from: rgb(var(--color-accent) / 0.3) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(var(--color-accent) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-black\/40 {
  --tw-gradient-from: rgb(0 0 0 / 0.4) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-black\/60 {
  --tw-gradient-from: rgb(0 0 0 / 0.6) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-black\/80 {
  --tw-gradient-from: rgb(0 0 0 / 0.8) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-black\/50 {
  --tw-gradient-to: rgb(0 0 0 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0.5) var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.to-indigo-500\/30 {
  --tw-gradient-to: rgb(99 102 241 / 0.3) var(--tw-gradient-to-position);
}
.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}
.fill-current {
  fill: currentColor;
}
.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.object-top {
  -o-object-position: top;
     object-position: top;
}
.p-0\.5 {
  padding: 0.125rem;
}
.p-1 {
  padding: 0.25rem;
}
.p-1\.5 {
  padding: 0.375rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-2\.5 {
  padding: 0.625rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-0 {
  padding-left: 0px;
  padding-right: 0px;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-3\.5 {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-px {
  padding-top: 1px;
  padding-bottom: 1px;
}
.pb-1 {
  padding-bottom: 0.25rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pb-3\.5 {
  padding-bottom: 0.875rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pb-6 {
  padding-bottom: 1.5rem;
}
.pr-1 {
  padding-right: 0.25rem;
}
.pr-2 {
  padding-right: 0.5rem;
}
.pr-3 {
  padding-right: 0.75rem;
}
.pr-5 {
  padding-right: 1.25rem;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-8 {
  padding-top: 2rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.font-\[inherit\] {
  font-family: inherit;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-\[8px\] {
  font-size: 8px;
}
.text-\[length\:var\(--mc-text-2xl\)\] {
  font-size: var(--mc-text-2xl);
}
.text-\[length\:var\(--mc-text-2xs\)\] {
  font-size: var(--mc-text-2xs);
}
.text-\[length\:var\(--mc-text-base\)\] {
  font-size: var(--mc-text-base);
}
.text-\[length\:var\(--mc-text-md\)\] {
  font-size: var(--mc-text-md);
}
.text-\[length\:var\(--mc-text-sm\)\] {
  font-size: var(--mc-text-sm);
}
.text-\[length\:var\(--mc-text-xs\)\] {
  font-size: var(--mc-text-xs);
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.capitalize {
  text-transform: capitalize;
}
.normal-case {
  text-transform: none;
}
.italic {
  font-style: italic;
}
.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}
.leading-\[1\.4\] {
  line-height: 1.4;
}
.leading-\[1\.6\] {
  line-height: 1.6;
}
.leading-\[var\(--mc-leading-normal\)\] {
  line-height: var(--mc-leading-normal);
}
.leading-none {
  line-height: 1;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading-snug {
  line-height: 1.375;
}
.leading-tight {
  line-height: 1.25;
}
.tracking-\[var\(--mc-tracking-label\)\] {
  letter-spacing: var(--mc-tracking-label);
}
.tracking-normal {
  letter-spacing: 0em;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.text-accent {
  --tw-text-opacity: 1;
  color: rgb(var(--color-accent) / var(--tw-text-opacity, 1));
}
.text-accent\/70 {
  color: rgb(var(--color-accent) / 0.7);
}
.text-amber-200 {
  --tw-text-opacity: 1;
  color: rgb(253 230 138 / var(--tw-text-opacity, 1));
}
.text-amber-300 {
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / var(--tw-text-opacity, 1));
}
.text-amber-400 {
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}
.text-amber-400\/70 {
  color: rgb(251 191 36 / 0.7);
}
.text-amber-400\/80 {
  color: rgb(251 191 36 / 0.8);
}
.text-amber-500 {
  --tw-text-opacity: 1;
  color: rgb(245 158 11 / var(--tw-text-opacity, 1));
}
.text-amber-600 {
  --tw-text-opacity: 1;
  color: rgb(217 119 6 / var(--tw-text-opacity, 1));
}
.text-amber-800 {
  --tw-text-opacity: 1;
  color: rgb(146 64 14 / var(--tw-text-opacity, 1));
}
.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}
.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}
.text-cyan-400 {
  --tw-text-opacity: 1;
  color: rgb(34 211 238 / var(--tw-text-opacity, 1));
}
.text-emerald-400 {
  --tw-text-opacity: 1;
  color: rgb(52 211 153 / var(--tw-text-opacity, 1));
}
.text-emerald-500 {
  --tw-text-opacity: 1;
  color: rgb(16 185 129 / var(--tw-text-opacity, 1));
}
.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.text-green-300 {
  --tw-text-opacity: 1;
  color: rgb(134 239 172 / var(--tw-text-opacity, 1));
}
.text-green-400 {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / var(--tw-text-opacity, 1));
}
.text-indigo-400 {
  --tw-text-opacity: 1;
  color: rgb(129 140 248 / var(--tw-text-opacity, 1));
}
.text-orange-400 {
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / var(--tw-text-opacity, 1));
}
.text-pink-400 {
  --tw-text-opacity: 1;
  color: rgb(244 114 182 / var(--tw-text-opacity, 1));
}
.text-purple-400 {
  --tw-text-opacity: 1;
  color: rgb(192 132 252 / var(--tw-text-opacity, 1));
}
.text-purple-500 {
  --tw-text-opacity: 1;
  color: rgb(168 85 247 / var(--tw-text-opacity, 1));
}
.text-red-200 {
  --tw-text-opacity: 1;
  color: rgb(254 202 202 / var(--tw-text-opacity, 1));
}
.text-red-300 {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.text-red-400\/70 {
  color: rgb(248 113 113 / 0.7);
}
.text-red-400\/80 {
  color: rgb(248 113 113 / 0.8);
}
.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}
.text-red-800 {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / var(--tw-text-opacity, 1));
}
.text-red-900 {
  --tw-text-opacity: 1;
  color: rgb(127 29 29 / var(--tw-text-opacity, 1));
}
.text-rose-400 {
  --tw-text-opacity: 1;
  color: rgb(251 113 133 / var(--tw-text-opacity, 1));
}
.text-slate-200 {
  --tw-text-opacity: 1;
  color: rgb(226 232 240 / var(--tw-text-opacity, 1));
}
.text-slate-400 {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}
.text-slate-500 {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
.text-slate-600 {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}
.text-status-danger {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.text-status-success {
  --tw-text-opacity: 1;
  color: rgb(52 211 153 / var(--tw-text-opacity, 1));
}
.text-status-warning {
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}
.text-theme-faint {
  --tw-text-opacity: 1;
  color: rgb(var(--color-text-faint) / var(--tw-text-opacity, 1));
}
.text-theme-muted {
  --tw-text-opacity: 1;
  color: rgb(var(--color-text-muted) / var(--tw-text-opacity, 1));
}
.text-theme-primary {
  --tw-text-opacity: 1;
  color: rgb(var(--color-text-primary) / var(--tw-text-opacity, 1));
}
.text-theme-secondary {
  --tw-text-opacity: 1;
  color: rgb(var(--color-text-secondary) / var(--tw-text-opacity, 1));
}
.text-violet-400 {
  --tw-text-opacity: 1;
  color: rgb(167 139 250 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-white\/50 {
  color: rgb(255 255 255 / 0.5);
}
.text-white\/60 {
  color: rgb(255 255 255 / 0.6);
}
.text-white\/70 {
  color: rgb(255 255 255 / 0.7);
}
.text-white\/80 {
  color: rgb(255 255 255 / 0.8);
}
.text-white\/90 {
  color: rgb(255 255 255 / 0.9);
}
.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}
.text-yellow-500 {
  --tw-text-opacity: 1;
  color: rgb(234 179 8 / var(--tw-text-opacity, 1));
}
.text-yellow-600 {
  --tw-text-opacity: 1;
  color: rgb(202 138 4 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.line-through {
  text-decoration-line: line-through;
}
.underline-offset-2 {
  text-underline-offset: 2px;
}
.accent-accent {
  accent-color: rgb(var(--color-accent) / 1);
}
.accent-amber-500 {
  accent-color: #f59e0b;
}
.accent-emerald-500 {
  accent-color: #10b981;
}
.opacity-0 {
  opacity: 0;
}
.opacity-100 {
  opacity: 1;
}
.opacity-25 {
  opacity: 0.25;
}
.opacity-30 {
  opacity: 0.3;
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-60 {
  opacity: 0.6;
}
.opacity-70 {
  opacity: 0.7;
}
.opacity-75 {
  opacity: 0.75;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-\[0_0_6px_currentColor\] {
  --tw-shadow: 0 0 6px currentColor;
  --tw-shadow-colored: 0 0 6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.outline {
  outline-style: solid;
}
.ring {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.ring-accent\/30 {
  --tw-ring-color: rgb(var(--color-accent) / 0.3);
}
.ring-amber-400\/70 {
  --tw-ring-color: rgb(251 191 36 / 0.7);
}
.ring-blue-400\/70 {
  --tw-ring-color: rgb(96 165 250 / 0.7);
}
.ring-theme-border {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(var(--color-border) / var(--tw-ring-opacity, 1));
}
.ring-theme-panel {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(var(--color-panel) / var(--tw-ring-opacity, 1));
}
.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-1000 {
  transition-duration: 1000ms;
}
.duration-150 {
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-linear {
  transition-timing-function: linear;
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.will-change-transform {
  will-change: transform;
}
.\[grid-template-columns\:repeat\(auto-fill\2c minmax\(260px\2c 1fr\)\)\] {
  grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
}
.\[grid-template-columns\:repeat\(auto-fill\2c minmax\(320px\2c 1fr\)\)\] {
  grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
}
/* ===== Design tokens (MC-234 — matches Multicode-dashboard.html verbatim) =====
   These are the variables the design reference uses directly. They live on
   the theme-class selectors (`html.dark` / `body.dark` and `html.light` /
   `body.light`) so BOTH the `html` and `body` elements resolve the right value
   when the active theme class is present.

   MC-205: these tokens previously lived on `:root, body.dark`. Because `:root`
   always matches the `html` element regardless of which class is on `body`, the
   dark `--bg` was permanently pinned on `html` — and since `html, body {
   background: var(--bg) }` paints both, the html element's dark background
   painted over the body's correctly-updated light background in light mode, so
   toggling to light mode did nothing visible. Scoping the tokens to the theme
   class on html AND body fixes it; ThemeContext.tsx + index.html both add the
   class to `document.documentElement` (html) and `document.body`.

   A minimal `:root { --bg }` fallback below covers the (essentially zero)
   window before the class is applied — index.html sets the class synchronously,
   and the class selectors outrank `:root` once present, so the fallback never
   overrides the active theme. */
html.dark, body.dark {
  --bg: #0a0a0a;
  --bg-card: #131313;
  --bg-modal: #0e0e0e;
  --bg-elev: #161616;
  --bg-elev2: #1a1a1a;
  --bg-hover: #1e1e1e;
  --border-soft: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text-strong: #ffffff;
  --text: #ececec;
  --text-mid: #aaaaaa;
  --text-dim: #888888;
  --text-faint: #555555;
  --text-faintest: #444444;
  --shadow-modal: 0 12px 40px rgba(0,0,0,0.5);
  --mint: #34d399;
  --mint-dim: #2bb583;
  --pink: #ec4899;
  --violet: #8b5cf6;
  /* MC-422: lighter violet for the sidebar admin chrome (admin glyph, "staff"
     badge, view-as-non-admin toggle). Distinct from --violet (#8b5cf6);
     theme-constant, so the light block below repeats the same value. */
  --violet-light: #a78bfa;
  --cyan: #22d3ee;
  --amber: #f59e0b;
  --rose: #fb7185;
  /* MC-422: theme-constant dark foreground for text/glyphs placed on a bright
     accent or brand fill (avatar letters, brand-mark "M"). Stays #000000 in
     both themes so the letter never washes out — the fill is theme-constant,
     so its foreground must be too. */
  --on-accent: #000000;
  /* MC-417: named semantic status colours. Previously used raw in components
     (#ef4444 / #10b981 / #f59e0b appear unnamed across web/src); naming them
     gives the two-tier convention a Tier-1 token to alias for status surfaces.
     Theme-constant, so the light block below repeats the same values. */
  --error: #ef4444;
  --success: #10b981;
  --warning: #f59e0b;
  /* MC-423: theme-constant overlay/alpha tokens. The home + projects surfaces
     used these raw (`rgba(0,0,0,0.6)` scrims, `#fff` on-colour text, and
     accent-alpha fills); naming them gives the two-tier convention a Tier-1
     token to alias. Theme-constant — they sit on images / coloured surfaces, so
     the light block below repeats the same values to stay pixel-identical. */
  --scrim: rgba(0,0,0,0.6);
  --text-oncolor: #ffffff;
  --mint-alpha-10: rgba(52,211,153,0.1);
  --mint-alpha-30: rgba(52,211,153,0.3);
  --rose-alpha-10: rgba(251,113,133,0.1);
  --amber-alpha-10: rgba(245,158,11,0.1);
  /* MC-425: amber warning-tint alpha variants (public-project banner bg/border).
     Follow the `--amber-alpha-10` naming added by MC-423 — the two-segment-plus
     name carries the colour + alpha-percent, theme-constant (sit on a coloured
     surface), repeated verbatim in the light block below. */
  --amber-alpha-08: rgba(245,158,11,0.08);  /* public-project banner background */
  --amber-alpha-15: rgba(245,158,11,0.15);  /* public-project banner border */
  /* MC-426: AdminConsole (/admin/console) renders a THEME-CONSTANT dark-slate
     surface — it sits outside the `.admin-root` scope, so it looks identical in
     light and dark mode. The global `--bg-*` / `--text-*` tokens FLIP with the
     theme, so aliasing them would change the light-mode render; this dedicated
     slate palette stays pixel-identical to the pre-migration raw literals. Same
     values in the light block below (theme-constant, like `--error`/`--success`).
     Names stay 2-segment (like `--bg-card` / `--text-dim`) — the Tier-1 norm. */
  --console-surface: #111119;   /* project-card surface */
  --console-panel: #0e0e16;     /* placeholder / empty-state panel */
  --console-field: #1a1a2a;     /* bulk-create textarea / elevated field */
  --console-hover: #15152a;     /* project-card hover */
  --console-border: #1e293b;    /* slate-800 border + recessed input bg */
  --console-rule: #334155;      /* slate-700 emphasised border / rule */
  --console-text: #e2e8f0;      /* slate-200 strong text */
  --console-muted: #64748b;     /* slate-500 muted text */
  --console-accent: #a78bfa;    /* violet-400 accent */
  --console-disabled: #374151;  /* gray-700 disabled submit */
  /* MC-425: workspace-view feed icon + glow colours. Theme-constant (same value
     in the light block below), so the light/dark split is a no-op for these —
     kept in both blocks per the two-tier add-token rule. */
  --accent-tint: #10b98115;        /* semi-transparent emerald accent fill (active panel-nav icon) */
  --indigo-alpha-25: #6366f140;   /* resurfaced feed-card glow inner ring (indigo @ 25%) */
  --indigo-alpha-09: #6366f118;   /* resurfaced feed-card glow outer halo (indigo @ ~9%) */
  --sync-blue: #93c5fd;            /* sync-in-progress feed icon */
  --commit-amber: #fbbf24;         /* pull/commit feed icon */
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
/* MC-205: minimal dark default for the brief window before the theme class is
   applied (index.html sets it synchronously, so this is effectively never seen).
   Only `--bg` — keeping the full dark token set here would re-introduce the
   pin-on-html bug. Class selectors (`html.dark` / `html.light`) outrank `:root`,
   so once the theme class lands this fallback no longer applies. */
:root {
  --bg: #0a0a0a;
}
/* MC-424: derived Tier-1 surface + shadow tokens. These are NOT raw literals —
   each composes an existing theme-constant Tier-1 colour, so a group-edit of
   the base colour re-tunes them. `--success-subtle` / `--error-surface` are the
   8% / 15% translucent forms of `--success` / `--error` (the New-Project
   template-card selected tint + the provisioning error-icon background);
   `--shadow-focus-ring` is the inset 1px selected-card ring. Declared at :root
   (theme-constant) — the `var(--…)` inputs re-resolve per active theme lazily on
   the consuming element. color-mix is already used across web/src (ActivityCard,
   PromptBar, ContextSwitcher). */
:root {
  --success-subtle: color-mix(in srgb, var(--success) 8%, transparent);
  --error-surface: color-mix(in srgb, var(--error) 15%, transparent);
  --shadow-focus-ring: 0 0 0 1px var(--success) inset;
  /* MC-425: composite two-layer feed-card glow (resurfaced activity card). Holds
     the full multi-value box-shadow — a 2px violet inner ring + 20px outer halo —
     composed from the `--indigo-alpha-*` Tier-1 colours, exactly like
     `--shadow-focus-ring`/`--shadow-modal` are composite shadow tokens. The
     `--feed-card-glow` component var aliases this single token. */
  --shadow-feed-glow: 0 0 0 2px var(--indigo-alpha-25), 0 0 20px var(--indigo-alpha-09);
}
/* ── Tier 2: component variables ──────────────────────────────────────────
   MC-417 — the second layer of the two-tier design-variable convention
   (see docs/claude/design-tokens.md → "Two-tier model").

   Each component variable ALIASES a Tier-1 semantic token by default —
   `--<component>-<property>: var(--<tier-1-token>)`. A component reads its own
   variable (`background: var(--card-bg)`), never a raw literal. The aliasing
   gives blast-radius control:
     • override the Tier-1 token (at :root, a theme class, or a
       `data-design-scope` block) → every alias moves together (group edit);
     • override the component variable itself → only that component changes
       (individual edit).
   This works because CSS custom-property substitution is lazy: the alias is
   re-resolved at computed-value time on the consuming element, so a scoped
   Tier-1 override flows through live.

   HARD RULE: the right-hand side of every declaration here is ALWAYS a
   `var(--<tier-1-token>)` reference — never a raw hex/dimension literal. A
   literal RHS silently breaks the group-edit blast radius. Every name carries
   a `<component>` segment so it can never collide with a flat Tier-1 token
   name (`--border`, `--bg`, …). This block is purely additive: no component
   consumes these variables yet (migration is a separate sub-track), so it
   changes no rendered output. */
:root {
  /* Primary button */
  --btn-primary-bg: var(--mint);
  --btn-primary-text: var(--bg);
  /* Secondary button */
  --btn-secondary-bg: var(--bg-elev);
  --btn-secondary-text: var(--text);
  /* Card surface */
  --card-bg: var(--bg-card);
  --card-border: var(--border);
  /* Modal / dialog */
  --modal-bg: var(--bg-modal);
  --modal-shadow: var(--shadow-modal);
  /* Form input */
  --input-bg: var(--bg-elev);
  --input-border: var(--border);
  --input-text: var(--text);
  /* Status surfaces */
  --status-error: var(--error);
  --status-success: var(--success);
  --status-warning: var(--warning);
  /* Sidebar / app-shell chrome (MC-422). Accent, presence, and admin vars
     alias theme-constant Tier-1 tokens (so they stay identical in light/dark —
     the brand chrome is intentionally theme-constant); nav text and the
     presence-dot border alias theme-tracking tokens (so they adapt with the
     theme, fixing the previous dark-first hardcoding). */
  --sidebar-accent: var(--mint);
  --sidebar-brand-gradient-end: var(--cyan);
  --sidebar-admin-accent: var(--violet-light);
  --sidebar-presence-online: var(--mint);
  --sidebar-presence-offline: var(--amber);
  --sidebar-nav-active-text: var(--text-strong);
  --sidebar-nav-inactive: var(--text-dim);
  --sidebar-nav-glyph-inactive: var(--text-faint);
  --sidebar-avatar-text: var(--on-accent);
  --sidebar-dot-border: var(--bg);
  /* Alpha variants of --violet-light via color-mix — no raw rgba() literal on
     the RHS, so overriding --violet-light still moves these in lock-step
     (blast-radius preserved). */
  --sidebar-admin-badge-bg: color-mix(in srgb, var(--violet-light) 12%, transparent);
  --sidebar-admin-view-bg: color-mix(in srgb, var(--violet-light) 18%, transparent);
  --sidebar-admin-view-border: color-mix(in srgb, var(--violet-light) 45%, transparent);
  /* MC-423 — home + projects surfaces (HomeGrid.tsx). Each aliases a Tier-1
     token; the component reads its own var, never a raw literal. */
  /* Deploy-status dot (DeployBadge) */
  --deploy-dot-live: var(--mint);
  --deploy-dot-inactive: var(--text-faint);
  /* Activity row icon */
  --activity-icon-color: var(--text-faint);
  /* Avatars */
  --avatar-initial-text: var(--bg);
  --avatar-on-color-text: var(--text-oncolor);
  /* Card preview area */
  --card-preview-bg: var(--bg);
  /* Online-collaborator + owner-strip badges */
  --badge-scrim-bg: var(--scrim);
  --online-dot-color: var(--mint);
  /* Interactive star button */
  --star-active-color: var(--amber);
  --star-active-bg: var(--amber-alpha-10);
  /* Fork error toast */
  --toast-error-bg: var(--rose);
  --toast-error-text: var(--text-oncolor);
  /* Filter pills */
  --pill-active-bg: var(--mint-alpha-10);
  --pill-active-border: var(--mint-alpha-30);
  --pill-active-text: var(--mint);
  --pill-inactive-text: var(--text-dim);
  /* View-toggle buttons */
  --view-toggle-inactive-text: var(--text-dim);
  /* Error banner */
  --banner-error-bg: var(--rose-alpha-10);
  /* MC-424: status-line glyph + surface vars consumed by the provisioning step
     list. `--status-error-icon` aliases --rose (the original #fb7185 failed-✗
     glyph + error-state triangle); `--status-skipped` aliases --text-dim (the
     skipped-– glyph); `--status-error-surface` aliases the derived
     --error-surface (translucent error-icon background). */
  --status-error-icon: var(--rose);
  --status-skipped: var(--text-dim);
  --status-error-surface: var(--error-surface);
  /* MC-424: New Project modal template-selection cards. Selected state aliases
     the success accent — the original literal #10b981 equals --success (mint is
     #34d399 and is undefined in html.light), so this stays pixel-identical in
     both themes. */
  --template-card-border: var(--border);
  --template-card-border-selected: var(--success);
  --template-card-bg: var(--bg-elev);
  --template-card-bg-selected: var(--success-subtle);
  --template-card-shadow-selected: var(--shadow-focus-ring);
  --template-card-icon: var(--text-dim);
  --template-card-icon-selected: var(--success);
  --template-card-label: var(--text-mid);
  --template-card-label-selected: var(--text-strong);
  --template-card-desc: var(--text-dim);
  /* MC-460: admin-configurable card image rendered in the icon slot when one
     is configured (else the glyph). Sized to sit on the icon+label header row
     without shifting the verbatim card layout. */
  --template-card-image-size: var(--mc-space-7);
  --template-card-image-radius: var(--mc-radius-xs);
  /* MC-424: provisioning timeout message text. */
  --modal-timeout-text: var(--text-mid);
  /* MC-426 — AdminConsole (/admin/console) surfaces. Each aliases a Tier-1
     token; `error`/`success` reuse the theme-constant status accents, the rest
     alias the theme-constant `--console-*` slate palette. The component reads
     its own var, never a raw literal. */
  --admin-console-title-text: var(--console-text);
  --admin-console-muted-text: var(--console-muted);
  --admin-console-accent-text: var(--console-accent);
  --admin-console-error-text: var(--rose);
  --admin-console-success-text: var(--success);
  --admin-console-card-bg: var(--console-surface);
  --admin-console-card-hover-bg: var(--console-hover);
  --admin-console-panel-bg: var(--console-panel);
  --admin-console-input-bg: var(--console-border);
  --admin-console-textarea-bg: var(--console-field);
  --admin-console-border: var(--console-border);
  --admin-console-border-strong: var(--console-rule);
  --admin-console-accent-border: var(--console-accent);
  --admin-console-error-border: var(--rose);
  --admin-console-submit-bg: var(--console-accent);
  --admin-console-submit-disabled-bg: var(--console-disabled);

  /* ── MC-425: workspace views ──────────────────────────────────────────
     Component vars for the workspace page + its slide-over panels. Each RHS is
     a clean `var(--<tier-1-token>)` alias (the HARD RULE above). The workspace
     surfaces previously read the RGB-channel `--color-*` set directly; they now
     alias the global design-token palette using the same `--color-*` → flat
     mapping the `.admin-root` scope established (page→--bg, panel→--bg-card,
     text-primary→--text, text-muted→--text-dim, border→--border,
     border-alt→--border-strong, accent→--mint). A component reads its own var
     (`background: var(--workspace-panel-bg)`), never a raw literal. */
  /* Workspace shell surface */
  --workspace-page-bg: var(--bg);
  --workspace-panel-bg: var(--bg-card);
  --workspace-border: var(--border);
  --workspace-border-alt: var(--border-strong);
  --workspace-text: var(--text);
  --workspace-text-muted: var(--text-dim);
  --workspace-accent: var(--mint);
  /* Panel-nav icon — active tab background */
  --panel-icon-active-bg: var(--accent-tint);
  /* Public-project banner */
  --public-banner-bg: var(--amber-alpha-08);
  --public-banner-text: var(--warning);
  --public-banner-border: var(--amber-alpha-15);
  /* Social feed card */
  --feed-card-bg: var(--bg-card);
  --feed-card-border: var(--border-soft);
  --feed-text-muted: var(--text-dim);
  --feed-text-faint: var(--text-faint);
  --feed-scrollbar-thumb: var(--border-strong);
  --feed-card-glow: var(--shadow-feed-glow);
  --feed-sync-icon: var(--sync-blue);
  --feed-push-icon: var(--success);
  --feed-pull-icon: var(--commit-amber);
  /* Services panel — workspace status badge */
  --services-badge-text: var(--text-faint);
  --services-badge-bg: var(--border);
}
/* ===== Theme Variables (RGB channels for Tailwind opacity support) ===== */
/* Dark theme — matches workspace palette */
.dark {
  --color-page:         10 10 15;      /* #0a0a0f near-black */
  --color-panel:        15 15 24;      /* #0f0f18 dark panel */
  --color-hover:        30 41 59;      /* #1e293b slate-800 */
  --color-input:        12 12 20;      /* #0c0c14 */
  --color-border:       30 41 59;      /* #1e293b slate-800 */
  --color-border-alt:   51 65 85;      /* #334155 slate-700 */

  --color-text-primary:   226 232 240; /* #e2e8f0 slate-200 */
  --color-text-secondary: 148 163 184; /* #94a3b8 slate-400 */
  --color-text-muted:     100 116 139; /* #64748b slate-500 */
  --color-text-faint:     71 85 105;   /* #475569 slate-600 */

  --color-accent:        16 185 129;   /* #10b981 emerald-500 */
  --color-accent-hover:  52 211 153;   /* #34d399 emerald-400 */
  --color-accent-subtle: 10 20 18;    /* #0a1412 dark emerald tint */

  --color-scrollbar-track: 15 15 24;
  --color-scrollbar-thumb: 51 65 85;
  --color-scrollbar-hover: 71 85 105;

  --color-code-bg:       15 15 24;
  --color-table-header:  15 15 24;
  --color-table-border:  30 41 59;
}
/* ===========================================================================
   MC-394 — Admin Panel restyle to the My Projects design system.

   The Admin Panel (web/src/components/AdminPanel.tsx + the sub-panels it renders
   — CommunityPanel, ExploreTrendingPanel, ProjectResources) was built against
   the RGB-channel Tailwind token set (`bg-theme-*`, `text-theme-*`, `bg-accent`,
   `border-theme-*`), whose `--color-*` values diverge from the design tokens
   (`--bg`, `--bg-card`, `--text-strong`, `--mint`, …) that the My Projects tab
   (HomeGrid.tsx) and the rest of the app use. The result was a jarringly
   different surface palette, accent colour, and border treatment.

   Rather than rewrite ~4400 lines of working JSX (and risk regressing the 11
   admin tabs), we re-point the `--color-*` channel variables to the design-token
   values *within the `.admin-root` scope only*. Every existing utility inside
   the admin panel and its descendant sub-panels now resolves to the design
   palette, and the light/dark swap follows the same `.dark` signal as the global
   tokens. Scope-local: AdminConsole (/admin/console — a sibling route, not a
   descendant) and every other surface are untouched.

   Triplets are the design-token hex values expressed as the `R G B` channels
   Tailwind's `rgb(var(--color-*) / <alpha-value>)` consumes. `--border` /
   `--border-strong` are translucent in the design; here they are expressed as
   the opaque colour they resolve to over the card surface so the channel-var
   mechanism (which has no alpha slot) reproduces the same subtle hairline.
   =========================================================================== */
/* Dark theme (html.dark / body.dark) */
.dark .admin-root {
  --color-page:            10  10  10; /* var(--bg)           #0a0a0a */
  --color-panel:           19  19  19; /* var(--bg-card)      #131313 */
  --color-hover:           30  30  30; /* var(--bg-hover)     #1e1e1e */
  --color-input:           19  19  19; /* var(--bg-card)      #131313 */
  --color-border:          38  38  38; /* ≈ var(--border) on a dark card */
  --color-border-alt:      58  58  58; /* ≈ var(--border-strong) */
  --color-text-primary:   255 255 255; /* var(--text-strong)  #ffffff */
  --color-text-secondary: 170 170 170; /* var(--text-mid)     #aaaaaa */
  --color-text-muted:     136 136 136; /* var(--text-dim)     #888888 */
  --color-text-faint:      85  85  85; /* var(--text-faint)   #555555 */
  --color-accent:          52 211 153; /* var(--mint)         #34d399 */
  --color-accent-hover:    43 181 131; /* var(--mint-dim)     #2bb583 */
}
/* Mint accent fills (active tab, primary actions) carry black text — matching
   the `#34d399` + `#000` pairing on the My Projects "Continue" / "New Project"
   buttons, in place of the low-contrast white-on-emerald of the old style. The
   `.admin-root .bg-accent` pair (specificity 0,2,0) wins over Tailwind's bare
   `.text-white` (0,1,0); `bg-accent/NN` opacity variants are a different class
   name and are left untouched. */
.admin-root .bg-accent { color: #000; }
/* MC-234: body styles match Multicode-dashboard.html verbatim.
   Design tokens drive bg/color/font; size is 13px; line-height is browser
   default (`normal`). Tailwind preflight sets html { line-height: 1.5 }
   which would cascade to every element and break the gate's per-element
   line-height comparison — we explicitly reset to normal here. */
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Prevent iOS Safari bounce/zoom */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%;
}
body { min-height: 100vh; }
#root { height: 100vh; }
/* MC-234: Tailwind preflight applies `*, ::before, ::after { border-color:
   theme('borderColor.DEFAULT'); }` which paints every unstyled element's
   border-color as `#e5e7eb` (slate-200). The design's reference HTML omits
   Tailwind so border-color falls back to currentColor everywhere. Mirror
   that fallback so the structural-diff gate doesn't fire on each unstyled
   element's borderColor (the diff cascades to ~1000 mismatches without
   this). Components that explicitly set a border-color still override. */
*, *::before, *::after {
  border-color: currentColor;
}
/* MC-234: Tailwind preflight applies
   `input::placeholder, textarea::placeholder { color: theme(...) }`
   at higher specificity than a bare `::placeholder` selector. Match
   that specificity so the override wins and the gate's pseudo-element
   comparison sees the chromium-default `rgb(117, 117, 117)` the
   reference HTML inherits. */
input::-moz-placeholder, textarea::-moz-placeholder {
  color: rgb(117, 117, 117);
  opacity: 1;
}
input::placeholder,
textarea::placeholder {
  color: rgb(117, 117, 117);
  opacity: 1;
}
/* Mobile: prevent content from exceeding viewport */
#root {
  max-width: 100vw;
  overflow-x: hidden;
}
button { font-family: inherit; cursor: pointer; }
/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgb(var(--color-scrollbar-track));
}
::-webkit-scrollbar-thumb {
  background: rgb(var(--color-scrollbar-thumb));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(var(--color-scrollbar-hover));
}
/* Markdown styling */
.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.markdown-content h1 {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.markdown-content h2 {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.markdown-content code {
  background: rgb(var(--color-code-bg));
  border-radius: 0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.markdown-content pre {
  background: rgb(var(--color-code-bg));
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  overflow-x: auto;
  border-radius: 0.25rem;
  padding: 0.75rem;
}
.markdown-content pre code {
  background-color: transparent;
  padding: 0px;
}
.markdown-content ul,
.markdown-content ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  margin-left: 1rem;
}
.markdown-content li {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.markdown-content ul li {
  list-style-type: disc;
}
.markdown-content ol li {
  list-style-type: decimal;
}
.markdown-content table {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.markdown-content th {
  background: rgb(var(--color-table-header));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  text-align: left;
  font-weight: 500;
  border: 1px solid rgb(var(--color-table-border));
}
.markdown-content td {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  border: 1px solid rgb(var(--color-border));
}
.markdown-content p {
  margin-top: 0.375rem;
  margin-bottom: 0.375rem;
}
/* Mobile scroll optimization - prevents wobbling/jank */
.chat-scroll-container {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  overflow-x: hidden;
  transform: translateZ(0);
  will-change: scroll-position;
  backface-visibility: hidden;
}
/* Prevent layout shifts during scroll */
.chat-scroll-container > * {
  transform: translateZ(0);
  max-width: 100%;
}
/* Prevent horizontal overflow from breaking mobile scroll */
.chat-scroll-container pre,
.chat-scroll-container code,
.chat-scroll-container .markdown-content {
  max-width: 100%;
  overflow-x: auto;
  word-break: break-word;
}
/* Sync spinner */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* Modal animations */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Drawer slide-in from right */
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.animate-slide-in-right {
  animation: slideInRight 0.2s ease-out;
}
/* Build status toast animations */
@keyframes slideUpIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes slideDownOut {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(20px); opacity: 0; }
}
.animate-slide-up-in { animation: slideUpIn 0.3s ease-out; }
.animate-slide-down-out { animation: slideDownOut 0.2s ease-in forwards; }
/* Social feed — status badge pulse (matches prototype dp keyframe) */
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}
@keyframes contextFlash {
  0% { opacity: 0.6; }
  100% { opacity: 0; }
}
/* Hide scrollbar for clean horizontal scroll */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
/* ===== Social Feed — Mobile Responsive Styles ===== */
/* Bottom sheet: slide-up animation */
@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.agent-selector-sheet {
  animation: slideUpSheet 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.agent-selector-backdrop {
  animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* Mobile (< 768px) ActivityCard tweaks */
@media (max-width: 767px) {
  .activity-card {
    padding: 12px 14px !important;
    min-height: 44px;
  }

  .activity-card__avatar {
    width: 28px !important;
    height: 28px !important;
  }

  .activity-card__prompt {
    font-size: 13px !important;
  }
}
/* Mobile (< 768px): PromptBar stacks selectors above the input row so
   the textarea fills the available screen width, and the textarea shows
   4 lines worth of content by default. */
@media (max-width: 767px) {
  .prompt-bar {
    flex-direction: column;
    align-items: stretch;
    /* Tighter horizontal padding so the input row is closer to edge-to-edge
       on a phone, while leaving thumb-room around the attach/send buttons. */
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .prompt-bar__input {
    min-width: 0;
    width: 100%;
  }

  .prompt-bar__input textarea {
    width: 100%;
    /* 4 lines * ~18px line-height + 20px vertical padding + 2px border ≈ 96px.
       Override the 42px inline minHeight set in PromptBar.tsx so 4 lines is
       the floor; the JS auto-resize cap (120px) stays as the ceiling, then
       the textarea scrolls internally. */
    min-height: 96px !important;
  }
}
/* Mobile (< 768px): force the prompt textarea font-size to 16px to suppress
   iOS Safari's auto-zoom-on-focus, which fires for any text input with
   font-size < 16px. The auto-zoom shifts visualViewport.scale > 1 and
   leaves the page in a zoomed state when focus is lost; combined with the
   --app-height calculation in index.html, that previously left the bottom
   half of the workspace view unusable after the user typed and tapped out. */
@media (max-width: 767px) {
  .prompt-bar__input textarea {
    font-size: 16px !important;
  }
}
/* ===========================================================================
   MC-361 — Explore page (/explore). Class names + values copied VERBATIM from
   the `Explore -static-.html` design reference so the design-fidelity gate's
   per-region computed-style comparison matches by construction. The generic
   shell classes (`.main` / `.header` / `.search` / `.filterbar`) are unique to
   this page (no other component uses them — they style inline). The `.x-*` /
   `.xcard` classes are the explore-specific surface.
   =========================================================================== */
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.header { padding: 18px 28px; display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--border); }
.h-title { font-size: 20px; font-weight: 600; color: var(--text-strong); }
.h-sub { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.search { flex: 1; margin-left: 20px; max-width: 280px; position: relative; }
.search input { width: 100%; padding: 8px 10px 8px 28px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--text-strong); font-size: 12px; outline: none; }
.search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--text-faint); font-size: 11px; }
.kbd { position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 10px; color: var(--text-faintest); padding: 1px 5px;
  background: var(--bg-elev2); border-radius: 3px; }
.sel { background: var(--bg-card); color: var(--text-mid);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 8px 10px; font-size: 11px; outline: none; }
.icon-btn { padding: 8px 10px; background: var(--bg-card); color: var(--text-mid);
  border: 1px solid var(--border); border-radius: 6px; font-size: 13px;
  width: 36px; display: flex; align-items: center; justify-content: center; }
.spacer { flex: 1; }
.filterbar { padding: 10px 28px; display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border-soft); }
.avatar { border-radius: 50%; color: #000; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; flex-shrink: 0; }
/* Explore tab — categorized trending. Complements the design tokens above. */
.x-content { flex: 1; padding: 22px 28px 56px; overflow-y: auto; }
/* ── category pills in the filter bar ── */
.x-cats { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.x-catpill { display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 8px; background: transparent;
  border: 1px solid var(--border); color: var(--text-dim);
  font-size: 11px; border-radius: 20px; transition: all .14s; white-space: nowrap; }
.x-catpill .g { width: 16px; height: 16px; border-radius: 5px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 9px;
  background: var(--bg-elev2); color: var(--text-dim); }
.x-catpill:hover { border-color: var(--border-strong); color: var(--text-mid); }
.x-catpill.on { color: var(--text-strong); }
.x-catpill .ct { font-size: 10px; color: var(--text-faint); }
.x-catpill.on .ct { color: inherit; opacity: .7; }
/* ── trending hero ── */
.x-hero { margin-bottom: 12px; }
.x-hero-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 13px; }
.x-hero-title { font-size: 15px; font-weight: 600; color: var(--text-strong);
  display: flex; align-items: center; gap: 8px; }
.x-flame { color: #fb7185; }
.x-hero-sub { font-size: 10px; color: var(--text-dim); }
.x-hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1180px) { .x-hero-grid { grid-template-columns: 1fr 1fr; } .x-hero-grid > :nth-child(3) { display: none; } }
.x-hero-card { background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: all .15s; position: relative; }
.x-hero-card:hover { border-color: rgba(255,255,255,0.16); transform: translateY(-2px); }
.x-hero-card .x-prev { position: relative; aspect-ratio: 16 / 8.6; overflow: hidden; }
.x-rank { position: absolute; top: 10px; left: 10px; z-index: 3;
  width: 26px; height: 26px; border-radius: 8px; background: rgba(0,0,0,0.62);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; }
.x-hero-card .x-meta { padding: 13px 15px 14px; display: flex; flex-direction: column; gap: 9px; }
.x-hero-card .x-title { font-size: 15px; font-weight: 600; color: var(--text-strong); }
.x-hero-foot { display: flex; align-items: center; gap: 8px; }
.x-hero-foot .x-by { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-mid); }
.x-hero-foot .x-stat { margin-left: auto; display: flex; gap: 10px; font-size: 11px; color: var(--text-dim); }
/* ── category rails ── */
.x-section { margin-top: 30px; }
.x-railhead { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.x-chip { width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: #000; }
.x-railtitle { font-size: 14px; font-weight: 600; color: var(--text-strong); }
.x-railblurb { font-size: 10px; color: var(--text-dim); }
.x-count { font-size: 10px; color: var(--text-faint);
  padding: 2px 8px; background: var(--bg-elev2); border-radius: 10px; }
.x-seeall { margin-left: auto; background: none; border: none; font-size: 11px;
  color: var(--text-dim); display: inline-flex; align-items: center; gap: 4px; }
.x-seeall:hover { color: var(--text-strong); }
.x-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity;
  padding-bottom: 8px; margin: 0 -28px; padding-left: 28px; padding-right: 28px; scrollbar-width: thin; }
.x-rail::-webkit-scrollbar { height: 7px; }
.x-rail .xcard { flex: 0 0 300px; scroll-snap-align: start; }
/* ── single-category grid view ── */
.x-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(296px, 1fr)); gap: 14px; }
/* ── explore card ── */
.xcard { background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: all .15s; cursor: pointer; }
.x-hero-card { cursor: pointer; }
.xcard:hover { border-color: rgba(167,139,250,0.3); transform: translateY(-1px); }
.xcard .x-prev { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; }
/* preview hover overlay */
.x-overlay { position: absolute; inset: 0; z-index: 2; display: flex; gap: 8px;
  align-items: center; justify-content: center;
  background: rgba(8,8,10,0.55); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .15s; }
.xcard:hover .x-overlay, .x-hero-card:hover .x-overlay { opacity: 1; }
.x-open { padding: 7px 16px; background: #fff; color: #000; border: none;
  border-radius: 6px; font-size: 11px; font-weight: 700; text-decoration: none; }
.x-fork { padding: 7px 14px; background: #a78bfa; color: #000; border: none;
  border-radius: 6px; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
/* corner badges on preview */
.x-badges { position: absolute; top: 8px; right: 8px; z-index: 3; display: flex; gap: 5px; }
.x-pin { padding: 2px 7px; border-radius: 9px; font-size: 9px; font-weight: 700;
  backdrop-filter: blur(8px); letter-spacing: .3px; }
.x-pin.hot { background: rgba(251,113,133,0.92); color: #1a0608; }
.x-pin.new { background: rgba(52,211,153,0.92); color: #04140d; }
.x-tagpin { position: absolute; bottom: 8px; left: 8px; z-index: 3;
  padding: 2px 8px; border-radius: 9px; font-size: 9px; color: #fff;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(8px); letter-spacing: .3px; }
.xcard .x-meta { padding: 11px 13px 12px; display: flex; flex-direction: column; gap: 8px; }
.x-titlerow { display: flex; align-items: center; gap: 7px; }
.x-title-sm { flex: 1; font-size: 13px; font-weight: 500; color: var(--text-strong);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-sub { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--text-dim);
  padding-top: 7px; border-top: 1px solid var(--border-soft); }
.x-by-sm { color: var(--text-mid); }
.x-sub .x-spread { margin-left: auto; display: flex; gap: 10px; }
.x-trend { display: inline-flex; align-items: center; gap: 3px; color: #34d399; font-weight: 600; }
.x-trend .ar { font-size: 8px; }
/* empty result */
.x-empty { grid-column: 1 / -1; padding: 40px; text-align: center;
  border: 1px dashed var(--border-strong); border-radius: 12px; color: var(--text-dim); }
.placeholder\:text-theme-faint::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(var(--color-text-faint) / var(--tw-text-opacity, 1));
}
.placeholder\:text-theme-faint::placeholder {
  --tw-text-opacity: 1;
  color: rgb(var(--color-text-faint) / var(--tw-text-opacity, 1));
}
.placeholder\:text-theme-muted::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(var(--color-text-muted) / var(--tw-text-opacity, 1));
}
.placeholder\:text-theme-muted::placeholder {
  --tw-text-opacity: 1;
  color: rgb(var(--color-text-muted) / var(--tw-text-opacity, 1));
}
.last\:border-0:last-child {
  border-width: 0px;
}
.hover\:scale-110:hover {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:scale-\[1\.02\]:hover {
  --tw-scale-x: 1.02;
  --tw-scale-y: 1.02;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:border-accent:hover {
  --tw-border-opacity: 1;
  border-color: rgb(var(--color-accent) / var(--tw-border-opacity, 1));
}
.hover\:border-accent\/40:hover {
  border-color: rgb(var(--color-accent) / 0.4);
}
.hover\:border-status-danger\/30:hover {
  border-color: rgb(248 113 113 / 0.3);
}
.hover\:border-theme-border:hover {
  --tw-border-opacity: 1;
  border-color: rgb(var(--color-border) / var(--tw-border-opacity, 1));
}
.hover\:border-theme-border-alt:hover {
  --tw-border-opacity: 1;
  border-color: rgb(var(--color-border-alt) / var(--tw-border-opacity, 1));
}
.hover\:bg-\[var\(--admin-console-card-hover-bg\)\]:hover {
  background-color: var(--admin-console-card-hover-bg);
}
.hover\:bg-accent-hover:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-accent-hover) / var(--tw-bg-opacity, 1));
}
.hover\:bg-accent\/10:hover {
  background-color: rgb(var(--color-accent) / 0.1);
}
.hover\:bg-accent\/20:hover {
  background-color: rgb(var(--color-accent) / 0.2);
}
.hover\:bg-accent\/30:hover {
  background-color: rgb(var(--color-accent) / 0.3);
}
.hover\:bg-accent\/5:hover {
  background-color: rgb(var(--color-accent) / 0.05);
}
.hover\:bg-accent\/50:hover {
  background-color: rgb(var(--color-accent) / 0.5);
}
.hover\:bg-accent\/80:hover {
  background-color: rgb(var(--color-accent) / 0.8);
}
.hover\:bg-accent\/90:hover {
  background-color: rgb(var(--color-accent) / 0.9);
}
.hover\:bg-amber-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(245 158 11 / var(--tw-bg-opacity, 1));
}
.hover\:bg-amber-500\/30:hover {
  background-color: rgb(245 158 11 / 0.3);
}
.hover\:bg-amber-600\/30:hover {
  background-color: rgb(217 119 6 / 0.3);
}
.hover\:bg-amber-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(180 83 9 / var(--tw-bg-opacity, 1));
}
.hover\:bg-blue-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}
.hover\:bg-blue-500\/20:hover {
  background-color: rgb(59 130 246 / 0.2);
}
.hover\:bg-emerald-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
}
.hover\:bg-emerald-500\/30:hover {
  background-color: rgb(16 185 129 / 0.3);
}
.hover\:bg-red-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.hover\:bg-red-500\/10:hover {
  background-color: rgb(239 68 68 / 0.1);
}
.hover\:bg-red-500\/20:hover {
  background-color: rgb(239 68 68 / 0.2);
}
.hover\:bg-red-500\/30:hover {
  background-color: rgb(239 68 68 / 0.3);
}
.hover\:bg-sky-400:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(56 189 248 / var(--tw-bg-opacity, 1));
}
.hover\:bg-status-danger\/10:hover {
  background-color: rgb(248 113 113 / 0.1);
}
.hover\:bg-status-danger\/20:hover {
  background-color: rgb(248 113 113 / 0.2);
}
.hover\:bg-status-danger\/30:hover {
  background-color: rgb(248 113 113 / 0.3);
}
.hover\:bg-status-danger\/80:hover {
  background-color: rgb(248 113 113 / 0.8);
}
.hover\:bg-status-danger\/90:hover {
  background-color: rgb(248 113 113 / 0.9);
}
.hover\:bg-status-success\/20:hover {
  background-color: rgb(52 211 153 / 0.2);
}
.hover\:bg-status-warning\/20:hover {
  background-color: rgb(251 191 36 / 0.2);
}
.hover\:bg-theme-border-alt:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-border-alt) / var(--tw-bg-opacity, 1));
}
.hover\:bg-theme-hover:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-hover) / var(--tw-bg-opacity, 1));
}
.hover\:bg-theme-hover\/20:hover {
  background-color: rgb(var(--color-hover) / 0.2);
}
.hover\:bg-theme-hover\/30:hover {
  background-color: rgb(var(--color-hover) / 0.3);
}
.hover\:bg-theme-hover\/50:hover {
  background-color: rgb(var(--color-hover) / 0.5);
}
.hover\:bg-theme-panel:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-panel) / var(--tw-bg-opacity, 1));
}
.hover\:bg-theme-panel\/70:hover {
  background-color: rgb(var(--color-panel) / 0.7);
}
.hover\:text-accent:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--color-accent) / var(--tw-text-opacity, 1));
}
.hover\:text-accent-hover:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--color-accent-hover) / var(--tw-text-opacity, 1));
}
.hover\:text-accent\/80:hover {
  color: rgb(var(--color-accent) / 0.8);
}
.hover\:text-amber-300:hover {
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / var(--tw-text-opacity, 1));
}
.hover\:text-amber-400:hover {
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}
.hover\:text-blue-300:hover {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}
.hover\:text-blue-400:hover {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1));
}
.hover\:text-emerald-300:hover {
  --tw-text-opacity: 1;
  color: rgb(110 231 183 / var(--tw-text-opacity, 1));
}
.hover\:text-red-300:hover {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.hover\:text-red-400:hover {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.hover\:text-red-500:hover {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}
.hover\:text-slate-300:hover {
  --tw-text-opacity: 1;
  color: rgb(203 213 225 / var(--tw-text-opacity, 1));
}
.hover\:text-status-danger:hover {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.hover\:text-theme-primary:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--color-text-primary) / var(--tw-text-opacity, 1));
}
.hover\:text-theme-secondary:hover {
  --tw-text-opacity: 1;
  color: rgb(var(--color-text-secondary) / var(--tw-text-opacity, 1));
}
.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.hover\:text-yellow-300:hover {
  --tw-text-opacity: 1;
  color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}
.hover\:underline:hover {
  text-decoration-line: underline;
}
.hover\:no-underline:hover {
  text-decoration-line: none;
}
.hover\:opacity-100:hover {
  opacity: 1;
}
.hover\:opacity-80:hover {
  opacity: 0.8;
}
.hover\:opacity-90:hover {
  opacity: 0.9;
}
.hover\:shadow-lg:hover {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-emerald-500\/25:hover {
  --tw-shadow-color: rgb(16 185 129 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.focus\:border-accent:focus {
  --tw-border-opacity: 1;
  border-color: rgb(var(--color-accent) / var(--tw-border-opacity, 1));
}
.focus\:border-accent\/50:focus {
  border-color: rgb(var(--color-accent) / 0.5);
}
.focus\:border-transparent:focus {
  border-color: transparent;
}
.focus\:underline:focus {
  text-decoration-line: underline;
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-1:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-accent:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(var(--color-accent) / var(--tw-ring-opacity, 1));
}
.focus\:ring-accent\/40:focus {
  --tw-ring-color: rgb(var(--color-accent) / 0.4);
}
.focus\:ring-accent\/50:focus {
  --tw-ring-color: rgb(var(--color-accent) / 0.5);
}
.focus\:ring-emerald-500\/40:focus {
  --tw-ring-color: rgb(16 185 129 / 0.4);
}
.focus\:ring-red-500\/40:focus {
  --tw-ring-color: rgb(239 68 68 / 0.4);
}
.focus\:ring-status-danger:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity, 1));
}
.active\:bg-emerald-700:active {
  --tw-bg-opacity: 1;
  background-color: rgb(4 120 87 / var(--tw-bg-opacity, 1));
}
.active\:bg-theme-hover:active {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-hover) / var(--tw-bg-opacity, 1));
}
.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}
.disabled\:cursor-wait:disabled {
  cursor: wait;
}
.disabled\:opacity-30:disabled {
  opacity: 0.3;
}
.disabled\:opacity-40:disabled {
  opacity: 0.4;
}
.disabled\:opacity-50:disabled {
  opacity: 0.5;
}
.disabled\:opacity-60:disabled {
  opacity: 0.6;
}
.disabled\:hover\:scale-100:hover:disabled {
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.disabled\:hover\:shadow-none:hover:disabled {
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.group:hover .group-hover\:translate-x-0\.5 {
  --tw-translate-x: 0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.group:hover .group-hover\:scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.group:hover .group-hover\:bg-black\/40 {
  background-color: rgb(0 0 0 / 0.4);
}
.group:hover .group-hover\:text-theme-primary {
  --tw-text-opacity: 1;
  color: rgb(var(--color-text-primary) / var(--tw-text-opacity, 1));
}
.group:hover .group-hover\:text-theme-secondary {
  --tw-text-opacity: 1;
  color: rgb(var(--color-text-secondary) / var(--tw-text-opacity, 1));
}
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}
.group:active .group-active\:bg-black\/40 {
  background-color: rgb(0 0 0 / 0.4);
}
.group:active .group-active\:opacity-100 {
  opacity: 1;
}
.dark\:bg-amber-900\/30:is(.dark *) {
  background-color: rgb(120 53 15 / 0.3);
}
.dark\:bg-gray-700:is(.dark *) {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.dark\:bg-red-900\/30:is(.dark *) {
  background-color: rgb(127 29 29 / 0.3);
}
.dark\:bg-red-900\/50:is(.dark *) {
  background-color: rgb(127 29 29 / 0.5);
}
.dark\:text-amber-400:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(251 191 36 / var(--tw-text-opacity, 1));
}
.dark\:text-gray-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.dark\:text-red-300:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}
.dark\:text-red-400:is(.dark *) {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
@media (min-width: 640px) {
  .sm\:bottom-auto {
    bottom: auto;
  }
  .sm\:left-auto {
    left: auto;
  }
  .sm\:right-4 {
    right: 1rem;
  }
  .sm\:top-4 {
    top: 1rem;
  }
  .sm\:mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .sm\:block {
    display: block;
  }
  .sm\:hidden {
    display: none;
  }
  .sm\:w-80 {
    width: 20rem;
  }
  .sm\:w-\[420px\] {
    width: 420px;
  }
  .sm\:max-w-lg {
    max-width: 32rem;
  }
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sm\:items-center {
    align-items: center;
  }
  .sm\:gap-2 {
    gap: 0.5rem;
  }
  .sm\:rounded-2xl {
    border-radius: 1rem;
  }
  .sm\:rounded-lg {
    border-radius: 0.5rem;
  }
  .sm\:p-4 {
    padding: 1rem;
  }
  .sm\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sm\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .sm\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .sm\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .sm\:text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  .md\:hidden {
    display: none;
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .md\:flex-row {
    flex-direction: row;
  }
}
@media (min-width: 1024px) {
  .lg\:w-\[480px\] {
    width: 480px;
  }
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1536px) {
  .\32xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
