/* Admin dashboard only. Everything is scoped to .nxc (the dashboard) and .nxc-layer (its drawers and dialogs),
   so the public site is unaffected. Colours are the Nexcha brand: orange first, green second. */
.nxc, .nxc-layer {
  /* Surfaces and text */
  --c-frame: #ece6dd; --c-bg: #f6f2ec; --c-card: #ffffff; --c-raised: #fbf8f4; --c-ink: #1c1c1c; --c-ink-2: #3d3833; --c-muted: #857d73; --c-line: #ebe4da;
  /* Nexcha orange, from the site's Login and Sign In buttons, and the header wordmark */
  --c-brand: #e8590c; --c-brand-dark: #cf4f0a; --c-brand-2: #f57c00; --c-brand-soft: #fdede2; --c-brand-ink: #b5470a;
  /* Nexcha green */
  --c-good: #2f7d4f; --c-good-2: #3e9d65; --c-good-soft: #e5f2ea; --c-good-ink: #26653f;
  /* Negative, caution and supporting accents */
  --c-bad: #c53a2d; --c-bad-soft: #fbe8e5; --c-warn: #b97900; --c-warn-soft: #fdf1d6;
  --c-teal: #0f7f80; --c-teal-soft: #dff1f0; --c-purple: #6e57c2; --c-purple-soft: #ece7f9; --c-amber: #c98500; --c-amber-soft: #fcf0d4;
  --c-wordmark: #f57c00; --c-wordmark-dot: #2e7d32;
  --c-shadow: 0 6px 24px rgba(60, 40, 20, 0.07); --c-radius: 16px;
  font-family: Manrope, 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--c-ink);
  font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; text-align: left;
}
/* Dark mode follows the site's own dark setting. */
body.dark .nxc, body.dark .nxc-layer {
  --c-frame: #121110; --c-bg: #1a1816; --c-card: #24211e; --c-raised: #2b2824; --c-ink: #f3efe8; --c-ink-2: #d9d2c8; --c-muted: #a59e95; --c-line: #38332d;
  --c-brand: #f06a1f; --c-brand-dark: #e8590c; --c-brand-2: #ff8a1f; --c-brand-soft: rgba(240, 106, 31, 0.16); --c-brand-ink: #ff9a5c;
  --c-good: #3e9d65; --c-good-2: #52b67a; --c-good-soft: rgba(62, 157, 101, 0.18); --c-good-ink: #7fd1a1;
  --c-bad: #e5574a; --c-bad-soft: rgba(229, 87, 74, 0.17); --c-warn: #e0a42e; --c-warn-soft: rgba(224, 164, 46, 0.16);
  --c-teal: #3cb6b5; --c-teal-soft: rgba(60, 182, 181, 0.16); --c-purple: #a08ce8; --c-purple-soft: rgba(160, 140, 232, 0.16); --c-amber: #e8ac35; --c-amber-soft: rgba(232, 172, 53, 0.16);
  --c-wordmark: #ff8a1f; --c-wordmark-dot: #52b67a;
  --c-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.nxc { position: fixed; inset: 0; z-index: 1000; display: flex; background: var(--c-frame); }
.nxc *, .nxc *::before, .nxc *::after, .nxc-layer *, .nxc-layer *::before, .nxc-layer *::after { box-sizing: border-box; }
.nxc button, .nxc input, .nxc select, .nxc textarea, .nxc-layer button, .nxc-layer input, .nxc-layer select, .nxc-layer textarea { font: inherit; color: inherit; }
.nxc a, .nxc-layer a { color: var(--c-brand); text-decoration: none; }
.nxc-btn.brand, .nxc-btn.primary, .nxc-btn.danger.solid { color: #fff !important; }
.nxc [hidden], .nxc-layer [hidden] { display: none !important; }
.nxc :focus-visible, .nxc-layer :focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }
body.nxc-on { overflow: hidden; }
body.nxc-on > nav, body.nxc-on #mobileMenu, body.nxc-on .floating-cart, body.nxc-on .dark-toggle,
body.nxc-on .mk-help-button, body.nxc-on .nx-chat-button, body.nxc-on .nx-chat-panel, body.nxc-on #siteMetaSection { display: none !important; }
body.nxc-on .nx-sheet, body.nxc-on .nx-backdrop { z-index: 1300 !important; }
body.nxc-on .toast-container { z-index: 1400 !important; }

/* Sidebar */
.nxc-side { width: 248px; flex-shrink: 0; background: var(--c-card); display: flex; flex-direction: column; padding: 26px 18px 20px; overflow-y: auto; border-right: 1px solid var(--c-line); }
.nxc-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0 12px 26px; text-decoration: none; }
/* The same wordmark as the site header: Inter bold, Nexcha orange with a green dot. Text, so it stays sharp at any size. */
.nxc-wordmark { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: -0.5px; color: var(--c-wordmark); }
.nxc-wordmark span { color: var(--c-wordmark-dot); }
.nxc-logo small { display: block; font-size: 11px; font-weight: 700; color: var(--c-muted); letter-spacing: 0.08em; text-transform: uppercase; padding-left: 2px; }
.nxc-menu-label { font-size: 12px; color: var(--c-muted); padding: 0 12px 10px; }
.nxc-nav { display: flex; flex-direction: column; gap: 4px; }
/* The menu is a <nav>, so undo the site header's own nav styling (it paints a dark bar in dark mode). */
.nxc nav.nxc-nav { background: transparent !important; box-shadow: none !important; border: 0 !important; position: static !important; padding: 0 !important; height: auto !important; backdrop-filter: none !important; }
.nxc-nav button { display: flex; align-items: center; gap: 13px; width: 100%; padding: 12px 16px; border: 0; background: none; border-radius: 999px; font-weight: 600; cursor: pointer; text-align: left; color: var(--c-ink-2); transition: background .15s, color .15s; }
.nxc-nav button i { width: 18px; text-align: center; color: var(--c-muted); transition: color .15s; }
.nxc-nav button:hover { background: var(--c-brand-soft); color: var(--c-brand-ink); }
.nxc-nav button:hover i { color: var(--c-brand); }
.nxc-nav button.active { background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2)); color: #fff; box-shadow: 0 10px 24px rgba(232, 89, 12, 0.32); }
.nxc-nav button.active i { color: #fff; }
.nxc-badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--c-brand); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.nxc-nav button.active .nxc-badge { background: rgba(255,255,255,.28); }
.nxc-side-foot { margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--c-line); }
.nxc-side-foot button:hover { background: var(--c-bad-soft); color: var(--c-bad); }
.nxc-side-foot button:hover i { color: var(--c-bad); }

/* Main column */
.nxc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--c-card); }
.nxc-top { display: flex; align-items: center; gap: 16px; padding: 22px 32px 14px; }
.nxc-burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-ink); cursor: pointer; }
.nxc-search { flex: 1; max-width: 420px; position: relative; }
.nxc-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--c-muted); }
.nxc-search input { width: 100%; height: 44px; border: 1px solid var(--c-line); border-radius: 999px; padding: 0 18px 0 42px; background: var(--c-raised); color: var(--c-ink); outline: none; }
.nxc-search input::placeholder, .nxc-input::placeholder, .nxc textarea::placeholder, .nxc-layer textarea::placeholder { color: var(--c-muted); }
.nxc-search input:focus, .nxc-input:focus, .nxc-select:focus, .nxc textarea:focus, .nxc-layer textarea:focus, .nxc-range input[type=date]:focus { border-color: var(--c-brand); box-shadow: 0 0 0 3px var(--c-brand-soft); }
.nxc-top-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nxc-icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-card); display: grid; place-items: center; cursor: pointer; color: var(--c-ink-2); }
.nxc-icon-btn:hover { color: var(--c-brand); border-color: var(--c-brand); }
.nxc-dot { position: absolute; top: 6px; right: 6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--c-brand); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--c-card); }
.nxc-divider { width: 1px; height: 34px; background: var(--c-line); }
.nxc-me { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.nxc-me b span { color: var(--c-brand); }
.nxc-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--c-brand-2), var(--c-brand)); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; overflow: hidden; }
.nxc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nxc-avatar.sm { width: 34px; height: 34px; font-size: 13px; background: var(--c-good-soft); color: var(--c-good-ink); }
.nxc-link-btn { border: 0; background: none; color: var(--c-muted); font-weight: 600; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.nxc-link-btn:hover { color: var(--c-brand); }

.nxc-head { display: flex; align-items: center; gap: 14px; padding: 10px 32px 18px; flex-wrap: wrap; }
.nxc-head-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2)); color: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 8px 18px rgba(232, 89, 12, 0.25); }
.nxc-head h1 { font-size: 22px; font-weight: 800; margin: 0; letter-spacing: -0.01em; color: var(--c-ink); }
.nxc-head-actions { margin-left: auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.nxc-range { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nxc-range input[type=date] { height: 44px; border: 1px solid var(--c-line); border-radius: 999px; padding: 0 14px; background: var(--c-card); color: var(--c-ink); outline: none; color-scheme: light; }
body.dark .nxc-range input[type=date] { color-scheme: dark; }

.nxc-body { flex: 1; overflow-y: auto; background: var(--c-bg); margin: 0 32px 28px; border-radius: 22px; padding: 22px; }

/* Controls */
.nxc-select, .nxc-input { height: 44px; border: 1px solid var(--c-line); border-radius: 999px; padding: 0 16px; background-color: var(--c-card); color: var(--c-ink); outline: none; min-width: 0; }
.nxc-select { padding-right: 34px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23e8590c' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.nxc-select option { background: var(--c-card); color: var(--c-ink); }
.nxc textarea, .nxc-layer textarea { width: 100%; border: 1px solid var(--c-line); border-radius: 14px; padding: 12px 14px; outline: none; resize: vertical; background: var(--c-card); color: var(--c-ink); }
.nxc-btn { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-ink); font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, filter .15s; }
.nxc-btn:hover { border-color: var(--c-brand); color: var(--c-brand); }
.nxc-btn.primary { background: linear-gradient(135deg, var(--c-good-2), var(--c-good)); border-color: var(--c-good); box-shadow: 0 10px 22px rgba(47, 125, 79, 0.28); }
.nxc-btn.primary:hover { filter: brightness(1.06); }
.nxc-btn.brand { background: var(--c-brand); border-color: var(--c-brand); }
.nxc-btn.brand:hover { background: var(--c-brand-dark); border-color: var(--c-brand-dark); }
.nxc-btn.danger { color: var(--c-bad); border-color: var(--c-bad-soft); }
.nxc-btn.danger:hover { background: var(--c-bad-soft); border-color: var(--c-bad); color: var(--c-bad); }
.nxc-btn.danger.solid { background: var(--c-bad); border-color: var(--c-bad); }
.nxc-btn.danger.solid:hover { filter: brightness(1.08); }
.nxc-btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.nxc-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; filter: none; }
/* Filters sit on a lightly tinted strip, so each section has a clear head. */
.nxc-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: -4px -4px 16px; padding: 10px; border-radius: 16px; background: var(--c-raised); border: 1px solid var(--c-line); }
.nxc-card-head .nxc-toolbar { margin: 0; padding: 0; background: none; border: 0; }
.nxc-toolbar .nxc-input { flex: 1 1 220px; }

/* Cards */
.nxc-card { background: var(--c-card); border-radius: var(--c-radius); padding: 20px; box-shadow: var(--c-shadow); min-width: 0; border: 1px solid var(--c-line); }
.nxc-card + .nxc-card { margin-top: 18px; }
.nxc-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -20px -20px 16px; padding: 16px 20px; flex-wrap: wrap; border-bottom: 1px solid var(--c-line); border-radius: var(--c-radius) var(--c-radius) 0 0; background: linear-gradient(90deg, var(--c-brand-soft), transparent 70%); }
.nxc-card-head h3 { margin: 0; font-size: 15px; font-weight: 800; color: var(--c-ink); }
.nxc-card-head p { margin: 2px 0 0; color: var(--c-muted); font-size: 12px; }
.nxc-grid { display: grid; gap: 18px; }
.nxc-stats { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 18px; }
.nxc-two { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.nxc-halves { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Stat cards: each has its own colour, with a faint wash of it behind. */
.nxc-stat { --tone: var(--c-brand); --tone-soft: var(--c-brand-soft); display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, var(--tone-soft) 0%, var(--c-card) 58%); border-radius: var(--c-radius); padding: 18px; box-shadow: var(--c-shadow); border: 1px solid var(--c-line); text-align: left; cursor: default; color: var(--c-ink); }
.nxc-stat[data-go] { cursor: pointer; transition: transform .15s, border-color .15s; }
.nxc-stat[data-go]:hover { border-color: var(--tone); transform: translateY(-1px); }
.nxc-stat-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--tone-soft); color: var(--tone); display: grid; place-items: center; font-size: 17px; flex-shrink: 0; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 18%, transparent); }
.tone-orange { --tone: var(--c-brand); --tone-soft: var(--c-brand-soft); }
.tone-green { --tone: var(--c-good); --tone-soft: var(--c-good-soft); }
.tone-teal { --tone: var(--c-teal); --tone-soft: var(--c-teal-soft); }
.tone-purple { --tone: var(--c-purple); --tone-soft: var(--c-purple-soft); }
.tone-amber { --tone: var(--c-amber); --tone-soft: var(--c-amber-soft); }
.tone-red { --tone: var(--c-bad); --tone-soft: var(--c-bad-soft); }
.nxc-stat-label { color: var(--c-muted); font-size: 12px; font-weight: 600; }
.nxc-stat-value { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.nxc-stat-value strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--c-ink); }
.nxc-trend { font-size: 12px; font-weight: 700; white-space: nowrap; padding: 2px 8px; border-radius: 999px; }
.nxc-trend.up { color: var(--c-good); background: var(--c-good-soft); }
.nxc-trend.down { color: var(--c-bad); background: var(--c-bad-soft); }
.nxc-trend.flat { color: var(--c-muted); background: var(--c-raised); }

/* Tables */
.nxc-table-wrap { overflow-x: auto; margin: 0 -4px; }
.nxc-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.nxc-table th { text-align: left; font-size: 12px; color: var(--c-muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--c-line); white-space: nowrap; background: var(--c-raised); }
.nxc-table th:first-child { border-radius: 10px 0 0 10px; }
.nxc-table th:last-child { border-radius: 0 10px 10px 0; }
.nxc-table td { padding: 12px; border-bottom: 1px solid var(--c-line); vertical-align: middle; color: var(--c-ink); }
.nxc-table tr:last-child td { border-bottom: 0; }
.nxc-table tr[data-row] { cursor: pointer; }
.nxc-table tr[data-row]:hover td { background: var(--c-brand-soft); }
.nxc-who { display: flex; gap: 10px; align-items: center; min-width: 0; }
.nxc-who b { display: block; font-weight: 700; }
.nxc-who small, .nxc-sub { color: var(--c-muted); font-size: 12px; }
.nxc-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--c-raised); flex-shrink: 0; }

/* Status badges: one colour language everywhere.
   good = green (active, paid, funded, resolved, approved); bad = red (banned, rejected, reversed, open disputes, hidden);
   warn = amber (suspended, pending, expiring, in review); brand = orange (admin, open inquiry, renewal); info = teal (live, member). */
.nxc-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--c-raised); color: var(--c-ink-2); white-space: nowrap; border: 1px solid var(--c-line); }
.nxc-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.nxc-pill.good { background: var(--c-good-soft); color: var(--c-good-ink); border-color: transparent; }
.nxc-pill.bad { background: var(--c-bad-soft); color: var(--c-bad); border-color: transparent; }
.nxc-pill.warn { background: var(--c-warn-soft); color: var(--c-warn); border-color: transparent; }
.nxc-pill.brand { background: var(--c-brand-soft); color: var(--c-brand-ink); border-color: transparent; }
.nxc-pill.info { background: var(--c-teal-soft); color: var(--c-teal); border-color: transparent; }
.nxc-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.nxc-empty { text-align: center; padding: 40px 16px; color: var(--c-muted); }
.nxc-empty i { font-size: 28px; color: var(--c-brand); opacity: .45; display: block; margin-bottom: 10px; }
.nxc-empty strong { display: block; color: var(--c-ink); margin-bottom: 4px; }
.nxc-loading { padding: 60px; text-align: center; color: var(--c-muted); }
.nxc-loading i { color: var(--c-brand); }
.nxc-error { background: var(--c-bad-soft); color: var(--c-bad); padding: 10px 14px; border-radius: 12px; font-weight: 600; margin-top: 10px; }
.nxc-note { background: var(--c-good-soft); color: var(--c-good-ink); border-radius: 12px; padding: 12px 14px; font-size: 13px; }

/* Charts */
.nxc-chart svg { width: 100%; height: 220px; display: block; overflow: visible; }
.nxc-chart .grid line { stroke: var(--c-line); }
.nxc-chart .axis text { fill: var(--c-muted); font-size: 11px; }
.nxc-chart-total { font-size: 26px; font-weight: 800; color: var(--c-ink); }
.nxc-gauge { display: flex; flex-direction: column; align-items: center; }
.nxc-gauge svg { width: 100%; max-width: 300px; height: auto; }
.nxc-gauge-value { margin-top: -66px; text-align: center; }
.nxc-gauge-value strong { font-size: 28px; font-weight: 800; display: block; color: var(--c-ink); }
.nxc-gauge-foot { display: flex; justify-content: space-between; gap: 12px; width: 100%; margin-top: 22px; font-size: 13px; color: var(--c-muted); flex-wrap: wrap; }
.nxc-gauge-foot b { color: var(--c-ink); margin-left: 6px; }
.nxc-gauge-foot .in { color: var(--c-good); font-weight: 700; }
.nxc-gauge-foot .out { color: var(--c-bad); font-weight: 700; }

/* Drawer and modal */
.nxc-scrim { position: fixed; inset: 0; background: rgba(28, 20, 12, 0.4); z-index: 1100; opacity: 0; transition: opacity .2s; }
.nxc-scrim.open { opacity: 1; }
.nxc-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--c-card); z-index: 1101; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(20, 12, 4, .2); }
.nxc-drawer.open { transform: none; }
.nxc-drawer-head { padding: 22px 24px 16px; border-bottom: 1px solid var(--c-line); display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(90deg, var(--c-brand-soft), transparent 75%); }
.nxc-drawer-head h2 { margin: 0; font-size: 18px; font-weight: 800; color: var(--c-ink); }
.nxc-drawer-body { padding: 20px 24px; overflow-y: auto; flex: 1; color: var(--c-ink); }
.nxc-close { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-ink); cursor: pointer; flex-shrink: 0; }
.nxc-close:hover { border-color: var(--c-brand); color: var(--c-brand); }
.nxc-section-title { font-size: 12px; font-weight: 800; color: var(--c-brand-ink); text-transform: uppercase; letter-spacing: .05em; margin: 22px 0 10px; }
.nxc-section-title:first-child { margin-top: 0; }
.nxc-kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.nxc-kv div { background: var(--c-raised); border: 1px solid var(--c-line); border-radius: 12px; padding: 10px 12px; }
.nxc-kv span { display: block; font-size: 11px; color: var(--c-muted); font-weight: 600; }
.nxc-kv strong { font-size: 15px; word-break: break-word; }
.nxc-list-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.nxc-list-row:last-child { border-bottom: 0; }
.nxc-modal { position: fixed; z-index: 1102; left: 50%; top: 50%; transform: translate(-50%, -46%); opacity: 0; transition: all .2s; width: min(480px, calc(100% - 32px)); max-height: calc(100% - 40px); overflow-y: auto; background: var(--c-card); color: var(--c-ink); border-radius: 20px; padding: 24px; box-shadow: 0 30px 80px rgba(20, 12, 4, .3); border: 1px solid var(--c-line); }
.nxc-modal.open { opacity: 1; transform: translate(-50%, -50%); }
.nxc-modal h2 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.nxc-modal p { color: var(--c-ink-2); margin: 0 0 14px; }
.nxc-modal label { display: block; font-weight: 700; font-size: 13px; margin: 12px 0 6px; }
.nxc-modal .nxc-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.nxc-modal .nxc-check input { margin-top: 3px; accent-color: var(--c-brand); }
.nxc-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.nxc-modal-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--c-brand-soft); color: var(--c-brand); display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }

/* Inquiries */
.nxc-inbox { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: 18px; min-height: 520px; }
.nxc-inbox-list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; max-height: 640px; }
.nxc-inbox-item { border: 1px solid var(--c-line); background: var(--c-raised); color: var(--c-ink); border-radius: 14px; padding: 12px 14px; text-align: left; cursor: pointer; }
.nxc-inbox-item:hover { border-color: var(--c-brand); }
.nxc-inbox-item.active { background: var(--c-brand-soft); border-color: var(--c-brand); }
.nxc-inbox-item b { display: flex; justify-content: space-between; gap: 8px; }
.nxc-msgs { display: flex; flex-direction: column; gap: 8px; max-height: 380px; overflow-y: auto; padding: 4px; margin: 12px 0; }
.nxc-msg { max-width: 80%; padding: 10px 14px; border-radius: 16px; background: var(--c-raised); border: 1px solid var(--c-line); white-space: pre-wrap; word-break: break-word; }
.nxc-msg.team { align-self: flex-end; background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.nxc-msg small { display: block; opacity: .75; font-size: 11px; margin-top: 4px; }
.nxc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.nxc-tabs button { border: 1px solid var(--c-line); background: var(--c-raised); color: var(--c-ink-2); border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; }
.nxc-tabs button:hover { border-color: var(--c-brand); color: var(--c-brand); }
.nxc-tabs button.active { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.nxc-timeline > div { border-left: 2px solid var(--c-good-soft); padding: 0 0 14px 14px; position: relative; }
.nxc-timeline > div::before { content: ''; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--c-good); }
.nxc-legacy #adminContent .stat-card-admin .number { color: var(--c-brand); }
.nxc-dropdown { position: absolute; top: 52px; right: 0; width: 280px; background: var(--c-card); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: 16px; box-shadow: 0 20px 50px rgba(20, 12, 4, .2); padding: 8px; z-index: 5; }
.nxc-dropdown button { width: 100%; display: flex; justify-content: space-between; padding: 10px 12px; border: 0; background: none; border-radius: 10px; cursor: pointer; font-weight: 600; }
.nxc-dropdown button:hover { background: var(--c-brand-soft); }

/* Phones and small tablets */
@media (max-width: 1100px) {
  .nxc-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nxc-side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 1050; transform: translateX(-100%); transition: transform .25s; box-shadow: 12px 0 40px rgba(20, 12, 4, .2); }
  .nxc.menu-open .nxc-side { transform: none; }
  .nxc.menu-open .nxc-side-scrim { position: fixed; inset: 0; z-index: 1040; background: rgba(28, 20, 12, .35); }
  .nxc-burger { display: grid; place-items: center; flex-shrink: 0; }
  .nxc-top { padding: 14px 16px 10px; gap: 10px; }
  .nxc-head { padding: 6px 16px 14px; }
  .nxc-body { margin: 0; border-radius: 22px 22px 0 0; padding: 16px; }
  .nxc-me b, .nxc-divider, .nxc-view-site span { display: none; }
  .nxc-inbox { grid-template-columns: minmax(0, 1fr); }
  .nxc-head-actions { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .nxc-search { display: none; }
  .nxc-top-right { gap: 10px; }
  .nxc-stats { grid-template-columns: minmax(0, 1fr); }
  .nxc-halves { grid-template-columns: minmax(0, 1fr); }
  .nxc-head-actions > * { flex: 1 1 auto; }
  .nxc-btn.primary { justify-content: center; }
}

/* Bar chart: listings by category */
.nxc-bars { display: flex; flex-direction: column; gap: 12px; padding: 4px 0; }
.nxc-bar-row { display: grid; grid-template-columns: minmax(80px, 130px) minmax(0, 1fr) 36px; align-items: center; gap: 12px; font-size: 13px; }
.nxc-bar-label { color: var(--c-ink-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nxc-bar-track { height: 12px; border-radius: 999px; background: var(--c-raised); border: 1px solid var(--c-line); overflow: hidden; }
.nxc-bar { display: block; height: 100%; border-radius: 999px; transition: width .6s ease; }
.nxc-bar-row b { text-align: right; color: var(--c-ink); }
.nxc-stat, .nxc-card, .nxc-btn, .nxc-pill, .nxc-inbox-item { transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease, background .15s ease, color .15s ease; }
.nxc-card:hover { box-shadow: 0 10px 30px rgba(60, 40, 20, 0.1); }
@media (prefers-reduced-motion: reduce) { .nxc *, .nxc-layer * { transition: none !important; animation: none !important; } }
