/* ---------------------------------------------------------------------------
   pages.css — styles for the hand-written content pages (FAQs,
   Whitepaper, Terms, Privacy, Audit Reports) and for the proof-of-reserves
   block on the home page.

   Deliberately written in rem, not em. index.html sets `body { font-size:
   1.1111vw }` so every `em` in the Webflow stylesheet is viewport-relative;
   that cascade is fine for the exported page but unmanageable for long-form
   text. These pages opt out of it and use the brand tokens directly.
--------------------------------------------------------------------------- */

:root {
  --mx-ink: #202020;
  --mx-ink-soft: #55555c;
  --mx-ink-faint: #86868d;
  --mx-paper: #fff;
  --mx-paper-alt: #f6f7f9;
  --mx-dark: #181719;
  --mx-dark-soft: #232224;
  --mx-line: #e6e7ea;
  --mx-line-dark: #333136;
  --mx-green: #13a96a;
  --mx-green-bright: #38e19a;
  --mx-green-deep: #0d8150;
  --mx-white: #f6f9fc;
  --mx-sans: "DM Sans", sans-serif;
  --mx-body: Urbanist, sans-serif;
  --mx-shell: 72rem;
}

/* --- page shell ---------------------------------------------------------- */

.mx-page {
  background: var(--mx-paper);
  color: var(--mx-ink);
  font-family: var(--mx-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mx-shell {
  width: 100%;
  max-width: var(--mx-shell);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mx-page :where(h1, h2, h3, h4) {
  font-family: var(--mx-sans);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

/* Buttons are excluded: `.mx-page a` outranks `.mx-btn` on specificity and
   would otherwise paint button text green-on-green. */
.mx-page a:not(.mx-btn) { color: var(--mx-green-deep); }

.mx-grad {
  background: linear-gradient(91.75deg, #38e19a 26.16%, #13a96a 44.98%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- header -------------------------------------------------------------- */

.mx-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fffffff2;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mx-line);
}

.mx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.25rem;
}

.mx-logo {
  flex: none;
  width: 8.25rem;
  height: 2.25rem;
  background: url("../assets/67d5a91e8afefdbeb35e3bea_mexas-logo.webp") 0 50% / contain no-repeat;
  text-indent: -9999px;
  overflow: hidden;
}

.mx-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.mx-nav a:not(.mx-btn) {
  color: #0e0e0e;
  font-size: 1rem;
  text-decoration: none;
  padding: .5rem .75rem;
  border-radius: 6px;
  transition: color .2s, background-color .2s;
}

.mx-nav a:not(.mx-btn):hover { color: var(--mx-green); background: var(--mx-paper-alt); }
.mx-nav a[aria-current="page"] { color: var(--mx-green); font-weight: 600; }

.mx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--mx-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.33;
  color: var(--mx-white);
  text-decoration: none;
  padding: .75rem 1.35rem;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(93.26deg, #0d8150 20.16%, #13a96a 68.75%, #0d8150 115.98%);
  background-size: 200% 200%;
  transition: background-position .3s ease-in-out;
}

.mx-btn:hover { background-position: right center; }
.mx-btn:active { background-position: center center; }

.mx-btn-ghost {
  background: none;
  color: var(--mx-ink);
  border: 1px solid var(--mx-line);
}

.mx-btn-ghost:hover { border-color: var(--mx-green); color: var(--mx-green); }

.mx-burger {
  display: none;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: none;
  border: 1px solid var(--mx-line);
  border-radius: 8px;
  cursor: pointer;
}

.mx-burger span,
.mx-burger span::before,
.mx-burger span::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0 auto;
  background: var(--mx-ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.mx-burger span { position: relative; }
.mx-burger span::before,
.mx-burger span::after { content: ""; position: absolute; left: 0; }
.mx-burger span::before { top: -6px; }
.mx-burger span::after { top: 6px; }

.mx-burger[aria-expanded="true"] span { background: transparent; }
.mx-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.mx-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- hero ---------------------------------------------------------------- */

.mx-hero {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--mx-line);
}

.mx-eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mx-green);
  margin: 0 0 1rem;
}

.mx-hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }

.mx-hero .mx-lede {
  max-width: 44rem;
  margin: 1.25rem 0 0;
  font-size: 1.1875rem;
  color: var(--mx-ink-soft);
}

.mx-meta {
  margin: 1.5rem 0 0;
  font-size: .9375rem;
  color: var(--mx-ink-faint);
}

/* --- generic section ----------------------------------------------------- */

.mx-section { padding: 3.5rem 0; }
.mx-section + .mx-section { border-top: 1px solid var(--mx-line); }
.mx-section > h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; }

/* --- long-form prose (legal pages, whitepaper) ---------------------------- */

.mx-prose { max-width: 46rem; }
.mx-prose h2 { font-size: 1.5rem; margin: 3rem 0 1rem; scroll-margin-top: 6rem; }
.mx-prose h3 { font-size: 1.125rem; margin: 2rem 0 .5rem; }
.mx-prose > :first-child { margin-top: 0; }
.mx-prose p, .mx-prose li { color: var(--mx-ink-soft); }
.mx-prose p { margin: 0 0 1rem; }
.mx-prose ul, .mx-prose ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.mx-prose li { margin-bottom: .5rem; }
.mx-prose strong { color: var(--mx-ink); font-weight: 600; }

.mx-prose blockquote {
  margin: 1.5rem 0;
  padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid var(--mx-green);
  color: var(--mx-ink-soft);
  font-style: italic;
}

/* Unfilled legal/whitepaper slots. Loud on purpose — these must not ship
   silently. `npm`-free check: grep for "mx-todo" before publishing. */
.mx-todo {
  display: inline-block;
  padding: .1em .5em;
  border: 1px dashed #c2410c;
  border-radius: 4px;
  background: #fff7ed;
  color: #c2410c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .875em;
  font-style: normal;
  font-weight: 600;
}

.mx-callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--mx-paper-alt);
  border: 1px solid var(--mx-line);
  border-left: 3px solid var(--mx-green);
  border-radius: 8px;
}

.mx-callout p:last-child { margin-bottom: 0; }

.mx-callout-warn { border-left-color: #c2410c; background: #fff7ed; border-color: #fed7aa; }

/* --- table of contents --------------------------------------------------- */

.mx-toc {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--mx-paper-alt);
  border-radius: 8px;
}

.mx-toc h2 {
  font-size: .8125rem !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mx-ink-faint);
  margin: 0 0 .75rem !important;
}

.mx-toc ol { margin: 0; padding-left: 1.25rem; }
.mx-toc li { margin-bottom: .375rem; }
.mx-toc a { text-decoration: none; }
.mx-toc a:hover { text-decoration: underline; }

/* --- FAQ accordion ------------------------------------------------------- */

.mx-faq-group { margin-bottom: 3rem; }

.mx-faq-group > h2 {
  font-size: 1.25rem;
  padding-bottom: .75rem;
  margin-bottom: .5rem;
  border-bottom: 1px solid var(--mx-line);
}

.mx-faq {
  border-bottom: 1px solid var(--mx-line);
}

.mx-faq > summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 0;
  font-family: var(--mx-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--mx-ink);
  cursor: pointer;
  list-style: none;
}

.mx-faq > summary::-webkit-details-marker { display: none; }

.mx-faq > summary::after {
  content: "";
  flex: none;
  width: .55rem;
  height: .55rem;
  margin: .45rem 0 0 auto;
  border-right: 2px solid var(--mx-green);
  border-bottom: 2px solid var(--mx-green);
  transform: rotate(45deg);
  transition: transform .2s;
}

.mx-faq[open] > summary::after { transform: rotate(-135deg); }
.mx-faq > summary:hover { color: var(--mx-green); }
.mx-faq .mx-faq-body { padding: 0 2rem 1.25rem 0; }
.mx-faq .mx-faq-body > :last-child { margin-bottom: 0; }

/* --- cards / listings ---------------------------------------------------- */

.mx-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.mx-card {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  padding: 1.5rem;
  background: var(--mx-paper);
  border: 1px solid var(--mx-line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s;
}

a.mx-card:hover { border-color: var(--mx-green); transform: translateY(-2px); }
.mx-card h3 { font-size: 1.125rem; }
.mx-card p { margin: 0; color: var(--mx-ink-soft); font-size: .9375rem; }

/* Stacked variant: one item per row instead of a grid (Audit Reports page). */
.mx-cards.mx-stack { grid-template-columns: 1fr; gap: 1rem; }

.mx-card-meta {
  font-size: .8125rem;
  color: var(--mx-ink-faint);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* --- empty state --------------------------------------------------------- */

.mx-empty {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--mx-paper-alt);
  border: 1px dashed var(--mx-line);
  border-radius: 12px;
}

.mx-empty h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.mx-empty p { max-width: 34rem; margin: 0 auto; color: var(--mx-ink-soft); }
.mx-empty .mx-btn { margin-top: 1.5rem; }

/* Download call-to-action: button plus a quiet file-type/size note. */
.mx-prose .mx-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  margin-bottom: 2.5rem;
}

.mx-download .mx-btn { padding: .875rem 1.5rem; box-shadow: 0 6px 18px -8px #0d815099; }
.mx-download-meta { font-size: .875rem; color: var(--mx-ink-faint); }

/* --- data table ---------------------------------------------------------- */

.mx-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.mx-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: .9375rem;
}

.mx-table th,
.mx-table td {
  padding: .875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--mx-line);
}

.mx-table th {
  font-family: var(--mx-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mx-ink-faint);
}

.mx-table td { color: var(--mx-ink-soft); }
.mx-table tr:last-child td { border-bottom: 0; }

/* --- contract address block --------------------------------------------- */

.mx-contract {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--mx-dark);
  border-radius: 12px;
  color: var(--mx-white);
  font-family: var(--mx-body);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.mx-contract-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.mx-contract-name {
  font-family: var(--mx-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--mx-white);
}

.mx-chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .25rem .625rem;
  border: 1px solid #ffffff26;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mx-green-bright);
}

.mx-addr-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  background: #ffffff0f;
  border: 1px solid #ffffff1a;
  border-radius: 8px;
}

.mx-addr {
  flex: 1 1 20rem;
  min-width: 0;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--mx-white);
  word-break: break-all;
  -webkit-user-select: all;
  user-select: all;
}

.mx-copy {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem .875rem;
  background: #ffffff14;
  border: 1px solid #ffffff26;
  border-radius: 6px;
  color: var(--mx-white);
  font-family: var(--mx-body);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}

.mx-copy:hover { background: #ffffff26; border-color: var(--mx-green); }
.mx-copy[data-copied="true"] { color: var(--mx-green-bright); border-color: var(--mx-green-bright); }

.mx-contract-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem 1.5rem;
  margin: 0;
}

.mx-contract-facts dt {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8d8d95;
  margin-bottom: .25rem;
}

.mx-contract-facts dd { margin: 0; font-size: .9375rem; color: var(--mx-white); }

.mx-contract-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.mx-contract-actions .mx-btn-ghost {
  color: var(--mx-white);
  border-color: #ffffff33;
}

.mx-contract-actions .mx-btn-ghost:hover { border-color: var(--mx-green-bright); color: var(--mx-green-bright); }

.mx-contract-note {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.55;
  color: #9a9aa1;
}

.mx-contract-note strong { color: var(--mx-green-bright); font-weight: 600; }

/* A second chip on a network card, for a deployment that exists on-chain but
   has no supply yet. Muted so it reads as a status note, not a feature. */
.mx-chip-muted { color: #8d8d95; }

/* One compact card per network, laid out as a table row:
   network | identifier | decimals | chain ID | explorer.
   The fixed column widths keep the rows aligned with each other. The
   symbol fact and the "Contract address" label are dropped here to fit a
   single line; the section intro and the FAQ answers cover both. Wraps to
   two lines on tablets and stacks on phones (see responsive). */
.mx-networks { display: flex; flex-direction: column; gap: .625rem; }

.mx-networks .mx-contract {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) 5rem 5.5rem 11rem;
  align-items: center;
  gap: .75rem 1.5rem;
  padding: .875rem 1.25rem;
  border-radius: 10px;
  font-size: 15px;
}

.mx-networks .mx-contract-head { gap: .375rem; }
.mx-networks .mx-contract-name { font-size: 1rem; width: 100%; }
.mx-networks .mx-chip { padding: .125rem .5rem; font-size: .625rem; }

.mx-networks .mx-id-label,
.mx-networks .mx-contract-facts > div:first-child { display: none; }

.mx-networks .mx-addr-row { flex-wrap: nowrap; gap: .5rem; padding: .375rem .375rem .375rem .75rem; }
.mx-networks .mx-addr { flex: 1 1 auto; font-size: .8125rem; }
.mx-networks .mx-copy { padding: .375rem .625rem; font-size: .8125rem; }

/* Let the remaining facts (decimals, chain ID) sit in their own columns. */
.mx-networks .mx-contract-facts { display: contents; }
.mx-networks .mx-contract-facts dt { margin-bottom: .125rem; }
.mx-networks .mx-contract-facts dd { font-size: .875rem; }

.mx-networks .mx-contract-actions { justify-content: flex-end; }
.mx-networks .mx-contract-actions .mx-btn { padding: .5rem .875rem; font-size: .8125rem; }

@media (max-width: 1024px) {
  .mx-networks .mx-contract { grid-template-columns: minmax(0, 1fr) 5rem 5.5rem auto; }
  .mx-networks .mx-contract-head { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .mx-networks .mx-contract-name { width: auto; }
}

.mx-id-label {
  margin: 0;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8d8d95;
}

/* Home page hosts the block inside Webflow's vw-scaled `.width` container,
   so the wrapper needs its own font context back. */
.mx-contract-mount { margin: 4rem 0 0; font-size: 16px; }

/* The network list on the FAQ page sits in its own full-width section, not
   inside .mx-prose: that column is too narrow for the network rows, and
   `.mx-prose p` would recolour the dark cards' text. */
.mx-contract-intro { max-width: 46rem; margin-bottom: 2rem; }
.mx-contract-intro h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.mx-contract-intro p { margin: 0; color: var(--mx-ink-soft); }
.mx-networks + .mx-contract-note { margin-top: 1.25rem; }
#contract { scroll-margin-top: 4rem; }

/* --- footer -------------------------------------------------------------- */

.mx-footer {
  margin-top: 4rem;
  padding: 3.5rem 0 2rem;
  background: var(--mx-dark);
  color: var(--mx-white);
}

.mx-footer-top {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) 2fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}

.mx-footer-blurb { max-width: 20rem; margin: 1.25rem 0 0; font-size: .875rem; color: #989898; }

.mx-footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 2rem;
}

.mx-footer-col h4 {
  font-family: var(--mx-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #4b4b4b;
  margin-bottom: 1.25rem;
}

.mx-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }

.mx-footer-col a {
  color: var(--mx-white);
  font-size: 1rem;
  text-decoration: none;
  transition: color .2s;
}

.mx-footer-col a:hover { color: var(--mx-green-bright); }

.mx-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mx-line-dark);
}

.mx-footer-bottom p { margin: 0; font-size: .875rem; color: #989898; }
.mx-socials { display: flex; gap: 1rem; }
.mx-socials a { width: 1.5rem; height: 1.5rem; opacity: .8; transition: opacity .2s; }
.mx-socials a:hover { opacity: 1; }
.mx-socials img { width: 100%; height: 100%; display: block; }

/* --- responsive ---------------------------------------------------------- */

@media (max-width: 860px) {
  .mx-footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 767px) {
  .mx-burger { display: block; }

  .mx-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.5rem 1.25rem;
    background: var(--mx-paper);
    border-bottom: 1px solid var(--mx-line);
  }

  .mx-nav[data-open="true"] { display: flex; }
  .mx-nav a:not(.mx-btn) { padding: .875rem .25rem; border-radius: 0; }
  .mx-nav a + a:not(.mx-btn) { border-top: 1px solid var(--mx-line); }
  .mx-nav .mx-btn { margin-top: 1rem; justify-content: center; }

  .mx-header-inner { position: relative; }
  .mx-hero { padding: 3rem 0 2.5rem; }
  .mx-section { padding: 2.5rem 0; }
  .mx-contract { padding: 1.5rem; }
  .mx-contract-mount { margin-top: 3rem; }

  .mx-networks .mx-contract { grid-template-columns: 1fr 1fr; padding: 1rem; }
  .mx-networks .mx-addr-row { grid-column: 1 / -1; }
  .mx-networks .mx-contract-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

@media print {
  .mx-header, .mx-footer, .mx-toc, .mx-burger { display: none !important; }
  .mx-page { font-size: 11pt; }
  .mx-prose { max-width: none; }
}

/* ── Glossary ─────────────────────────────────────────────────────────────
   Definition list used by the whitepaper. Terms hang above their definition
   rather than beside it: a two-column layout wraps badly on phones once a
   term runs long, and these do. */
.mx-glossary { margin: 0 0 1rem; }
.mx-glossary dt {
  font-weight: 600;
  color: var(--mx-ink);
  margin-top: 1.25rem;
}
.mx-glossary dt:first-child { margin-top: 0; }
.mx-glossary dd {
  margin: .25rem 0 0;
  color: var(--mx-ink-soft);
}

/* ── Proof of reserves ────────────────────────────────────────────────────
   Home page summary card (reuses the dark .mx-contract block) and the
   quarterly table on the Audit Reports page. */
.mx-por-mount { max-width: 56rem; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.mx-por-intro { margin: 0; color: #c9c9ce; }
.mx-contract-facts .mx-por-coverage { color: var(--mx-green-bright); font-weight: 700; }

.mx-por-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
}

.mx-por-list a {
  display: inline-block;
  padding: .375rem .75rem;
  border: 1px solid #ffffff26;
  border-radius: 6px;
  color: var(--mx-white);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}

.mx-por-list a:hover { border-color: var(--mx-green-bright); color: var(--mx-green-bright); }

.mx-por-table th,
.mx-por-table td { padding: .75rem .625rem; }

.mx-por-table td:nth-child(3),
.mx-por-table td:nth-child(4),
.mx-por-table td:nth-child(5) { font-variant-numeric: tabular-nums; text-align: right; }
.mx-por-table thead th:nth-child(3),
.mx-por-table thead th:nth-child(4),
.mx-por-table thead th:nth-child(5) { text-align: right; }
.mx-por-table tbody th { color: var(--mx-ink); font-size: .9375rem; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.mx-por-table td { white-space: nowrap; }

.mx-prose .mx-table-note { font-size: .8125rem; color: var(--mx-ink-faint); margin-top: .75rem; }

/* ── Network list ─────────────────────────────────────────────────────────
   Compact, light alternative to the dark .mx-contract cards, for the Audit
   Reports page: one row per network, address on its own line. */
.mx-prose .mx-netlist {
  margin: 1.5rem 0 1rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mx-line);
}

.mx-prose .mx-netlist-row {
  margin: 0;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--mx-line);
}

.mx-netlist-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .75rem;
}

.mx-netlist-name { font-family: var(--mx-sans); font-weight: 600; color: var(--mx-ink); }
.mx-netlist-meta { font-size: .8125rem; color: var(--mx-ink-faint); }

.mx-netlist-tag {
  padding: .0625rem .5rem;
  border: 1px solid var(--mx-line);
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mx-ink-faint);
}

.mx-page .mx-netlist-link {
  margin-left: auto;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}

.mx-page .mx-netlist-link:hover { text-decoration: underline; }

.mx-netlist-addr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin-top: .5rem;
}

.mx-netlist-label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mx-ink-faint);
}

.mx-netlist-addr code {
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .875rem;
  color: var(--mx-ink);
  word-break: break-all;
  -webkit-user-select: all;
  user-select: all;
}

/* .mx-copy is styled for the dark cards; restyle it for a light row. */
.mx-netlist .mx-copy {
  padding: .25rem .625rem;
  background: var(--mx-paper-alt);
  border-color: var(--mx-line);
  color: var(--mx-ink-soft);
  font-size: .8125rem;
}

.mx-netlist .mx-copy:hover { background: var(--mx-paper); border-color: var(--mx-green); color: var(--mx-green-deep); }
.mx-netlist .mx-copy[data-copied="true"] { color: var(--mx-green-deep); border-color: var(--mx-green); }

.mx-prose .mx-netlist-note { font-size: .875rem; color: var(--mx-ink-faint); }
.mx-netlist-note strong { color: var(--mx-ink-soft); }
