/* Martin Monroe Creative · internal workspace
   Palette and type follow martinmonroecreative.com: near-black #000110, white text,
   accent blue #2594FF, titles in the logo's "MONROE" blue #0494FB.
   Headings: Archivo Expanded Bold (closest free match to the site's Sequel Sans 75). Body: DM Sans.
   Token names are kept from the first version so every page keeps working. */

:root {
  --navy: #000110;
  --navy-2: #0C1530;
  --sand: #FFFFFF;
  --brass: #2594FF;
  --title: #0494FB;
  --gradient: linear-gradient(190deg, #A5FECA 3.65%, #3EDCEB 31.56%, #2594FF 65.16%, #5533FF 102.22%);

  --text: var(--sand);
  --text-2: rgba(255, 255, 255, 0.75);
  --text-3: rgba(255, 255, 255, 0.55);
  --rule-in-card: rgba(255, 255, 255, 0.08);

  --serif: "Archivo", "Arial Black", sans-serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --header-h: 72px; /* sticky bars sit right below the header */
  --gutter: 32px;
  --radius: 6px;

  /* names the report script reads */
  --color-bg: var(--navy);
  --color-panel: var(--navy-2);
  --color-fg: var(--sand);
  --color-fg-muted: var(--text-3);
  --color-border-line: var(--rule-in-card);
  --color-ok: #9DC6A3;
  --color-bad: #E39C88;
  --color-warn: var(--brass);
  --cds-chart-axis: rgba(255, 255, 255, 0.3);
  --cds-chart-grid: var(--rule-in-card);
  --cds-chart-muted: rgba(255, 255, 255, 0.32);
  --cds-font-size-caption: 12px;
  --cds-surface-popover: var(--navy);
  --cds-border: var(--navy-2);
  --cds-text-secondary: var(--text-3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: var(--brass); color: var(--navy); }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 3px; }

.mm-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.mm-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0;
}

.mm-link {
  color: var(--brass);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* ---------- header ---------- */
.mm-header { position: sticky; top: 0; z-index: 20; background: var(--navy); }
.mm-header-inner {
  max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h);
}
.mm-brand { display: block; line-height: 0; }
.mm-brand img { display: block; height: 30px; width: auto; }

.mm-nav { display: flex; gap: 8px; }
.mm-nav-link {
  font: 500 14px/1 var(--sans); color: var(--text); text-decoration: none; white-space: nowrap;
  background: var(--navy-2); border: 1px solid var(--navy-2); border-radius: 999px; padding: 10px 18px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.mm-nav-link:hover { border-color: var(--brass); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
.mm-nav-link:active { transform: translateY(0); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
.mm-nav-link.is-current { background: var(--sand); border-color: var(--sand); color: var(--navy); }

/* ---------- home ---------- */
.hm-hero { padding: 96px 0 72px; }
.hm-logo { display: block; height: 56px; width: auto; margin-bottom: 40px; }
.hm-hero h1 { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 48px; line-height: 1.1; letter-spacing: 0; margin: 16px 0 24px; max-width: 18ch; }
.hm-hero p:not(.mm-label) { margin: 0 0 14px; max-width: 62ch; font-size: 17px; color: var(--text-2); }
.hm-band { background: var(--navy-2); padding: 72px 0 88px; }
.hm-band h2 { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 32px; line-height: 1.2; letter-spacing: 0; margin: 12px 0 36px; }
.hm-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.hm-card { background: var(--navy); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.hm-num { font-size: 12px; letter-spacing: 0.12em; color: var(--brass); }
.hm-card h3 { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 32px; line-height: 1.15; letter-spacing: 0; margin: 0; }
.hm-card p { margin: 0; color: var(--text-2); }
.hm-card ul { margin: 0; padding-left: 1.1em; color: var(--text-2); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.hm-card ul li::marker { color: var(--brass); }
.hm-card .mm-btn { align-self: flex-start; margin-top: auto; }
.hm-audits { padding: 56px 0 96px; }
.hm-audits p:not(.mm-label) { margin: 8px 0 0; max-width: 62ch; color: var(--text-2); font-size: 17px; }

/* ---------- report ---------- */
.rp-hero { padding: 64px 0 40px; }
.rp-hero h1 {
  font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 48px; line-height: 1.1;
  letter-spacing: 0; margin: 16px 0 8px;
}
.rp-hero .rp-sub { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 28px; line-height: 1.25; letter-spacing: 0; margin: 0 0 20px; color: var(--text-2); }
.rp-hero .rp-meta { margin: 0; font-size: 14px; color: var(--text-3); max-width: 70ch; }

.tf-tabs-bar { position: sticky; top: var(--header-h); z-index: 10; background: var(--navy); }
.tf-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 14px 0; }
.tf-tabs::-webkit-scrollbar { display: none; }
.tf-tab {
  font: 500 14px/1 var(--sans); color: var(--text);
  background: var(--navy-2); border: 1px solid var(--navy-2); border-radius: 999px;
  padding: 11px 18px; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.tf-tab:hover { border-color: var(--brass); }
.tf-tab[aria-selected="true"] { background: var(--sand); border-color: var(--sand); color: var(--navy); }

.rp-body { padding: 40px 0 96px; }
.tf { display: block; }
.tf-page { display: flex; flex-direction: column; gap: 32px; }

.tf-lede { font-family: var(--sans); font-size: 22px; line-height: 1.5; color: var(--text-2); max-width: 40em; margin: 0; }
.tf-lede b { color: var(--text); font-weight: 700; }

/* number strip */
.tf-kpis {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px; background: var(--navy-2); border-radius: var(--radius); padding: 32px;
}
.tf-kpi { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tf-kpi-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.tf-kpi-value { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 32px; line-height: 1.2; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.tf-kpi-sub { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.tf-good { color: var(--color-ok); } .tf-bad { color: var(--color-bad); } .tf-warn { color: var(--brass); }

.tf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.tf-card {
  background: var(--navy-2); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.tf-card-title { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 23px; line-height: 1.25; letter-spacing: 0; margin: 0; }
.tf-card-note { font-size: 13px; color: var(--text-3); margin: 0 0 6px; line-height: 1.55; max-width: 70ch; }
.tf-chart { position: relative; min-height: 240px; margin-top: 6px; }
.tf-chart svg { display: block; overflow: visible; }
.tf-chart text { font-family: var(--sans); }
.tf-scroll { overflow-x: auto; }

.tf-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.tf-table th, .tf-table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--rule-in-card); white-space: nowrap; }
.tf-table th:first-child, .tf-table td:first-child { text-align: left; padding-left: 0; }
.tf-table th:last-child, .tf-table td:last-child { padding-right: 0; }
.tf-table th { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); background: var(--navy-2); }
.tf-table tbody tr:last-child td { border-bottom: 0; }

.tf-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 18px 12px; margin-top: 8px; }
.tf-step { display: flex; flex-direction: column; gap: 4px; padding-left: 12px; border-left: 1px solid var(--brass); }
.tf-step > span:first-child { font-size: 12px; color: var(--text-3); line-height: 1.4; }
.tf-step > span:last-child { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tf-steps + .tf-steps { padding-top: 16px; }
.tf-steps + .tf-steps .tf-step { border-left-color: var(--rule-in-card); }

.tf-tip {
  position: absolute; pointer-events: none; z-index: 5;
  background: var(--navy); border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,.35);
  padding: 8px 10px; font-size: 12px; line-height: 1.5; white-space: nowrap;
}
.tf-tip .tf-tip-k { color: var(--text-3); }
.tf-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--text-3); }
.tf-sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

.tf-notes { margin: 0; padding-left: 1.1em; font-size: 15px; color: var(--text-2); line-height: 1.6; display: flex; flex-direction: column; gap: 8px; max-width: 80ch; }
.tf-notes li::marker { color: var(--brass); }
.tf-notes b { font-weight: 500; color: var(--text); }

.tf-concl { margin: 0; padding: 0; list-style: none; counter-reset: concl; display: flex; flex-direction: column; gap: 28px; max-width: 72ch; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.tf-concl li { counter-increment: concl; position: relative; padding-left: 52px; }
.tf-concl li::before { content: counter(concl, decimal-leading-zero); position: absolute; left: 0; top: 3px; font-size: 12px; letter-spacing: 0.1em; color: var(--brass); }
.tf-concl b { display: block; font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 23px; line-height: 1.3; letter-spacing: 0; color: var(--text); margin-bottom: 6px; }

.tf-shots { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 8px; }
.tf-shots figure { margin: 0; display: flex; flex-direction: column; gap: 8px; width: min(100%, 280px); }
.tf-shots img { width: 100%; height: auto; border-radius: 4px; display: block; }
.tf-shots figcaption { font-size: 12px; color: var(--text-3); }

.tf-recs { display: flex; flex-direction: column; gap: 48px; counter-reset: rec; }
.tf-recs h2 { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 32px; line-height: 1.2; letter-spacing: 0; margin: 0 0 18px; }
.tf-recs > div:not(:first-child):not(.tf-impact) { max-width: 76ch; }
.tf-recs ol.tf-rec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.tf-recs ol.tf-rec-list > li { counter-increment: rec; position: relative; padding-left: 52px; }
.tf-recs ol.tf-rec-list > li::before { content: counter(rec, decimal-leading-zero); position: absolute; left: 0; top: 4px; font-size: 12px; letter-spacing: 0.1em; color: var(--brass); }
.tf-recs ul { margin: 8px 0 0; padding-left: 1.1em; color: var(--text-3); font-size: 15px; }
.tf-recs ul li::marker { color: var(--text-3); }
.tf-recs .tf-pending { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 8px; line-height: 1.6; color: var(--text-2); font-size: 16px; }
.tf-recs .tf-pending li::marker { color: var(--brass); }
.tf-recs .tf-table td, .tf-recs .tf-table th { white-space: normal; }
.tf-impact .tf-table { table-layout: fixed; min-width: 640px; }
.tf-impact .tf-table th, .tf-impact .tf-table td { text-align: left; vertical-align: top; }
.tf-impact .tf-table th:nth-child(1) { width: 26%; }
.tf-impact .tf-table th:nth-child(2) { width: 22%; }
.tf-impact .tf-table th:nth-child(3) { width: 18%; }
.tf-impact .tf-table td:first-child { color: var(--text); }
.tf-impact .tf-table td:not(:first-child) { color: var(--text-2); }
.tf-recs .tf-table tr.tf-total td { font-weight: 500; color: var(--text); }
.tf-recs > p.tf-card-note { font-size: 14px; }

.tf-fail { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: inherit; color: var(--text-3); font-size: 12px; }

/* ---------- clients & verticals ---------- */
.mm-filters { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 20px; }
.mm-filters label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text-3); min-width: 180px; flex: 0 1 240px; }
.mm-filters select {
  font: 400 14px/1.3 var(--sans); color: var(--text); background: var(--navy-2);
  border: 1px solid var(--navy-2); border-radius: 4px; padding: 10px 12px; cursor: pointer;
}
.mm-filters select:focus { outline: none; border-color: var(--brass); }
.mm-table-card { padding: 8px 28px; }
.mm-clients { table-layout: fixed; }
.mm-clients th, .mm-clients td { text-align: left; vertical-align: middle; white-space: normal; padding-block: 12px; }
.mm-clients th:nth-child(1) { width: 13%; }
.mm-clients th:nth-child(2) { width: 13%; }
.mm-clients th:nth-child(3) { width: 12%; }
.mm-clients th:nth-child(4) { width: 19%; }
.mm-clients th:nth-child(5) { width: 18%; }
.mm-clients th:nth-child(6) { width: 16%; }
.mm-clients th:nth-child(7) { width: 9%; }
.mm-clients td:nth-child(5) { color: var(--text-2); }
.mm-clients .mm-tag { white-space: normal; align-items: flex-start; }
.mm-clients .mm-tag-dot { margin-top: 5px; }
.mm-clients .mm-site { flex-wrap: wrap; gap: 2px 8px; }
.mm-clients .mm-link { overflow-wrap: anywhere; }
.mm-ams { display: flex; flex-wrap: wrap; gap: 4px; }
.mm-ams .mm-tag-am { padding: 3px 10px; background: var(--navy); border: 1px solid rgba(184, 155, 94, 0.45); }
.mm-clients .mm-tag { border-radius: 10px; }
.mm-client-name { color: var(--text); text-decoration: none; font-weight: 500; }
.mm-client-name:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.mm-tag {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  background: var(--tag-bg); color: #1A1A1A; border-radius: 999px;
  padding: 3px 10px 3px 8px; font-size: 12px; line-height: 1.4; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.mm-tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tag-dot); flex: none; }
a.mm-tag:hover { box-shadow: 0 0 0 1px var(--tag-dot); }
.mm-site { display: inline-flex; align-items: baseline; gap: 8px; }
.mm-site-note { font-size: 11px; color: var(--text-3); }
.mm-empty { margin: 0; padding: 20px 0; color: var(--text-3); font-size: 14px; }

.mm-back { color: var(--brass); text-decoration: none; }
.mm-back::before { content: "← "; }
.mm-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.mm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mm-tags .mm-tag { font-size: 13px; padding: 4px 12px 4px 10px; }
.mm-tag-am { background: var(--navy-2); color: var(--text); padding-left: 12px !important; }
.mm-tag-k { color: var(--text-3); font-weight: 400; }
.mm-client { display: flex; flex-direction: column; gap: 40px; }
.mm-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px 32px; }
.mm-fact { min-width: 0; }
.mm-fact dt { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.mm-fact dd { margin: 0; font-size: 15px; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.mm-audits h2 { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 40px; line-height: 1.2; letter-spacing: 0; margin: 0 0 16px; }
.mm-audit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mm-audit { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mm-audit div { display: flex; flex-direction: column; gap: 4px; }
.mm-audit-title { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 22px; line-height: 1.25; }
.mm-audit-date { font-size: 13px; color: var(--text-3); }
.mm-btn { font: 500 14px/1 var(--sans); color: var(--navy); background: var(--sand); border-radius: 4px; padding: 12px 18px; text-decoration: none; white-space: nowrap; }
.mm-btn:hover { background: #E3F0FF; }

/* verticals */
.mm-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.mm-cat-card { border-top: 2px solid var(--cat); gap: 16px; }
.mm-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mm-cat-head .mm-tag { font-size: 14px; padding: 5px 14px 5px 10px; }
.mm-cat-count { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.mm-sub-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mm-sub-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule-in-card); }
.mm-sub-list a { color: var(--text); text-decoration: none; font-size: 15px; }
.mm-sub-list a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; }
.mm-sub-count { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 18px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.mm-vertical { display: flex; flex-direction: column; gap: 28px; }
.mm-bench-note { margin: 0; max-width: 80ch; font-size: 13px; line-height: 1.6; color: var(--text-3); }
.mm-sub-section { display: flex; flex-direction: column; gap: 14px; }
.mm-sub-section + .mm-sub-section { margin-top: 24px; }
.mm-sub-section h2 { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 36px; line-height: 1.2; letter-spacing: 0; margin: 0; }
.mm-sub-section h2 a { color: var(--text); text-decoration: none; }
.mm-sub-section h2 a:hover { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.mm-sub-section h3 { margin: 8px 0 0; }
.mm-bench { min-width: 860px; }
.mm-bench th, .mm-bench td { text-align: left; vertical-align: top; white-space: normal; }
.mm-bench td:first-child { color: var(--text); font-weight: 500; width: 18%; }
.mm-bench td:nth-child(2) { color: var(--text-2); width: 26%; }
.mm-bench td:nth-child(3) { color: var(--text); width: 24%; }
.mm-bench td:nth-child(4) { color: var(--text-2); width: 11%; }
.mm-bench td:nth-child(5) { width: 21%; font-size: 13px; }
.mm-bench tr.is-none td:nth-child(3) { color: var(--text-3); font-style: italic; }
.mm-src { display: block; }
.mm-src + .mm-src { margin-top: 6px; }
.mm-client-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mm-client-list a { display: inline-block; background: var(--navy-2); border-radius: 4px; padding: 8px 14px; font-size: 14px; }

.mm-bm-cat { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.mm-bm-cat + .mm-bm-cat { margin-top: 32px; }
.mm-bm-cat > .mm-tag { font-size: 15px; padding: 6px 16px 6px 12px; }
.mm-bm-cat > .mm-sub-section { align-self: stretch; }

/* ---------- login ---------- */
.lg { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 32px 16px; }
.lg-logo { height: 34px; width: auto; }
.lg-card { width: min(100%, 380px); background: var(--navy-2); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.lg-card h1 { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 30px; line-height: 1.2; letter-spacing: 0; margin: 0 0 4px; }
.lg-card label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text-3); }
.lg-card input {
  font: 400 16px/1.4 var(--sans); color: var(--text);
  background: var(--navy); border: 1px solid var(--navy); border-radius: 4px; padding: 11px 12px;
}
.lg-card input:focus { outline: none; border-color: var(--brass); }
.lg-card button {
  font: 500 15px/1 var(--sans); color: var(--navy); background: var(--sand);
  border: 0; border-radius: 4px; padding: 14px; margin-top: 6px; cursor: pointer;
}
.lg-card button:hover { background: #E3F0FF; }
.lg-error { margin: 0; font-size: 14px; color: var(--color-bad); }

/* clients table becomes one card per client on narrow screens */
@media (max-width: 960px) {
  /* clients table becomes one card per client */
  .mm-clients, .mm-clients tbody, .mm-clients tr, .mm-clients td { display: block; width: auto !important; }
  .mm-clients thead { display: none; }
  .mm-clients tr { padding: 16px 0; border-bottom: 1px solid var(--rule-in-card); }
  .mm-clients tr:last-child { border-bottom: 0; }
  .mm-clients td { border: 0; padding: 4px 0; display: grid; grid-template-columns: 128px 1fr; gap: 10px; align-items: center; justify-items: start; }
  .mm-clients td::before { content: attr(data-label); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
  .mm-clients td:first-child { display: block; padding-bottom: 8px; font-size: 18px; }
  .mm-clients td:first-child::before { content: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  :root { --header-h: 96px; }
  .mm-header-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
  .mm-brand img { height: 22px; }
  .mm-nav-link { font-size: 13px; padding: 8px 14px; }
  .mm-nav { gap: 6px; }
  .mm-table-card { padding: 4px 16px; }
  .rp-hero h1 { font-size: 40px; }
  .hm-hero { padding: 48px 0 48px; }
  .hm-logo { height: 36px; margin-bottom: 28px; }
  .hm-hero h1 { font-size: 40px; }
  .hm-band { padding: 48px 0 56px; }
  .hm-band h2 { font-size: 30px; }
  .hm-card { padding: 24px; }
  .hm-card h3 { font-size: 26px; }
  .mm-sub-section h2 { font-size: 28px; }
  .rp-hero { padding: 40px 0 28px; }
  .rp-hero .rp-sub { font-size: 21px; }
  .tf-lede { font-size: 20px; }
  .tf-kpis { padding: 22px; gap: 20px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tf-kpi-value { font-size: 28px; }
  .tf-card { padding: 20px; }
  .tf-card-title { font-size: 19px; }
  .tf-concl b { font-size: 19px; }
  .tf-concl li, .tf-recs ol.tf-rec-list > li { padding-left: 36px; }
  .tf-recs h2 { font-size: 24px; }
}

/* ---------- titles in the logo's MONROE blue ---------- */
.rp-hero h1, .hm-hero h1, .hm-band h2, .hm-card h3, .mm-audits h2, .tf-recs h2, .tf-card-title, .lg-card h1,
.mm-sub-section h2, .mm-sub-section h2 a, .mm-audit-title { color: var(--title); }

/* ---------- account managers: one color each ---------- */
.mm-tag-am { --am: var(--brass); background: color-mix(in srgb, var(--am) 16%, transparent) !important; border: 1px solid color-mix(in srgb, var(--am) 70%, transparent) !important; color: var(--text) !important; }
.mm-tag-am::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--am); flex: none; }
.mm-clients .mm-tag-am { align-items: center; }

/* ---------- winning creatives ---------- */
.mm-creatives { display: flex; flex-direction: column; gap: 16px; }
.mm-creatives-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mm-creatives-head h2 { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 32px; line-height: 1.2; margin: 0; color: var(--title); }
.mm-btn { border: 0; cursor: pointer; font-family: var(--sans); }
.mm-btn:disabled { opacity: .6; cursor: progress; }
.mm-link-btn { background: none; border: 0; padding: 0; font: 500 14px var(--sans); color: var(--brass); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mm-upload { gap: 18px; }
.mm-drop {
  position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 120px; padding: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.25); border-radius: var(--radius); color: var(--text-2); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.mm-drop:hover, .mm-drop.is-over { border-color: var(--brass); background: rgba(37, 148, 255, 0.06); }
.mm-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mm-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px 16px; }
.mm-form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--text-3); }
.mm-form-grid .mm-span-2 { grid-column: 1 / -1; }
.mm-form-grid input, .mm-form-grid select, .mm-form-grid textarea {
  font: 400 15px/1.4 var(--sans); color: var(--text); background: var(--navy); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px; padding: 10px 12px; width: 100%; resize: vertical;
}
.mm-form-grid input:focus, .mm-form-grid select:focus, .mm-form-grid textarea:focus { outline: none; border-color: var(--brass); }
.mm-more summary { cursor: pointer; color: var(--brass); font-size: 14px; margin-bottom: 14px; }
.mm-form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mm-form-status { font-size: 14px; color: var(--text-2); }
.mm-creative-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.mm-creative { padding: 0; overflow: hidden; gap: 0; }
.mm-creative-media { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #000; }
.mm-creative-meta { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.mm-creative-status { align-self: flex-start; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--text-2); }
.mm-creative-status.is-analyzed, .mm-creative-status.is-reviewed { background: rgba(165, 254, 202, 0.15); color: #A5FECA; }
.mm-creative-status.is-error { background: rgba(255, 138, 61, 0.15); color: #FF8A3D; }
.mm-creative-name { font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.mm-creative-sub { font-size: 13px; color: var(--text-3); }
.mm-creative-del { align-self: flex-start; font-size: 13px; margin-top: 4px; }
@media (max-width: 720px) { .mm-creatives-head h2 { font-size: 24px; } }

/* ---------- creative analysis ---------- */
.mm-creative-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.mm-creative-actions .mm-creative-del { margin-top: 0; }
.mm-btn-sm { padding: 8px 12px; font-size: 13px; }
.mm-creative-progress { font-size: 13px; color: var(--brass); }
.mm-creative-error { font-size: 13px; color: #FF8A3D; }
.mm-creative-status.is-analyzing { background: rgba(37, 148, 255, 0.15); color: var(--brass); }
.mm-dialog {
  width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--radius);
  background: var(--navy-2); color: var(--text); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}
.mm-dialog::backdrop { background: rgba(0, 1, 16, 0.75); }
.mm-dialog-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; background: var(--navy-2); border-bottom: 1px solid var(--rule-in-card); }
.mm-dialog-head h3 { margin: 0; font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 20px; color: var(--title); }
.mm-dialog-body { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px; padding: 24px; align-items: start; }
.mm-dialog-media { width: 100%; border-radius: 4px; background: #000; position: sticky; top: 84px; }
.mm-tax { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.mm-tax-group h4 { margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); }
.mm-tax-group dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px 20px; }
.mm-tax-group dt { font-size: 12px; color: var(--text-3); }
.mm-tax-group dd { margin: 2px 0 0; font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.mm-tax-group.is-read dl { grid-template-columns: 1fr; }
.mm-tax-group.is-read dd { font-size: 15px; color: var(--text-2); line-height: 1.6; }
@media (max-width: 720px) {
  .mm-dialog-body { grid-template-columns: 1fr; padding: 16px; }
  .mm-dialog-media { position: static; max-height: 50vh; object-fit: contain; }
}

/* ---------- home: creative taxonomy ---------- */
.hm-tax { padding: 8px 0 80px; }
.hm-tax h2 { font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 32px; line-height: 1.2; margin: 12px 0 16px; color: var(--title); }
.hm-tax-lede { margin: 0 0 36px; max-width: 64ch; font-size: 17px; color: var(--text-2); }
.hm-steps { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.hm-steps li { background: linear-gradient(var(--navy-2), var(--navy-2)) padding-box, var(--gradient) border-box; border: 0; border-top: 2px solid transparent; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.hm-steps h3 { margin: 0; font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--text); }
.hm-steps p { margin: 0; font-size: 15px; color: var(--text-2); }
.hm-tax-sub { margin: 0 0 16px; font-family: var(--serif); font-stretch: 125%; font-weight: 700; font-size: 22px; color: var(--title); }
.hm-groups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 32px; }
.hm-groups li { padding: 14px 0; border-top: 1px solid var(--rule-in-card); font-size: 15px; color: var(--text-2); }
.hm-groups b { display: block; margin-bottom: 2px; font-weight: 500; color: var(--text); }
.hm-tax-note { margin: 28px 0 0; max-width: 64ch; font-size: 14px; color: var(--text-3); }
@media (max-width: 720px) { .hm-tax { padding: 0 0 56px; } .hm-tax h2 { font-size: 24px; } }
