/* ==========================================================
   MOSTLY MONEY — brand theme
   Load this LAST so it overrides the older stylesheets.
   Colors sampled straight from img/mostlymoney-logo.png
   ========================================================== */

:root {
  --mm-olive:       #A09F57;  /* logo background */
  --mm-olive-dark:  #86853F;
  --mm-olive-light: #E4E3C8;
  --mm-green:       #15711A;  /* logo lettering */
  --mm-green-dark:  #0E5212;
  --mm-gold:        #F2BC1A;  /* coin */
  --mm-gold-light:  #FFF176;  /* coin highlight */
  --mm-cream:       #F6F4E6;  /* page background */
  --mm-ink:         #1F2A12;  /* body text */
}

html, body {
  background-color: var(--mm-cream) !important;
  color: var(--mm-ink);
}

body {
  font-family: 'Dosis', 'Segoe UI', Arial, sans-serif;
}

a { color: var(--mm-green); }
a:hover, a:focus { color: var(--mm-green-dark); }

/* ---------- HEADER (index.html) ---------- */
.mm-header {
  background-color: var(--mm-olive);
  text-align: center;
  padding: 18px 16px 14px;
  border-bottom: 6px solid var(--mm-gold);
}
.mm-header a { text-decoration: none; display: inline-block; }
.mm-header img.mm-logo {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
}
.mm-tagline {
  margin: 6px 0 0;
  color: var(--mm-green-dark);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- PAGE LAYOUT (index.html) ----------
   Header on top, frame fills the rest of the screen and scrolls on its own.
   Footer stays hidden until you reach the bottom of the frame. */
html.mm-shell, html.mm-shell body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}
body.mm-shell-body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}
.mm-shell-body .mm-header { flex: 0 0 auto; padding: 16px 16px 0; border-bottom: 0; }
.mm-shell-body .mm-header img.mm-logo { max-width: 320px; }
/* Even rhythm: 12px logo -> tagline, 12px tagline -> nav */
.mm-shell-body .mm-tagline { font-size: 13px; line-height: 1.2; margin: 12px 0 0; }
.mm-shell-body .mm-nav { padding-top: 12px; }
.mm-shell-body .mm-nav { flex: 0 0 auto; }

#myiframe {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
  background: var(--mm-cream);
}

/* ---------- NAV BAR (frame.content.html) + FOOTER BUTTONS (index.html) ---------- */
/* Nav sits directly under the header's gold bar, no gap. Scrolls sideways on small phones. */
.mm-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 6px 8px 8px;
  background-color: var(--mm-olive);
  border-bottom: 1px solid var(--mm-olive-dark);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
/* Wide screens: wrap onto a second row. Phones/tablets: one row that scrolls sideways. */
@media (min-width: 901px) { .mm-nav { flex-wrap: wrap; row-gap: 2px; } }
@media (max-width: 900px) { .mm-nav { justify-content: flex-start; } }

/* Plain links: icon on top, label underneath, no button styling */
.mm-navlink {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 8px;
  color: var(--mm-green-dark) !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  border-bottom: 3px solid transparent;
  transition: border-color .15s, color .15s;
}
.mm-navlink img { width: 36px; height: 36px; }
.mm-navlink:hover, .mm-navlink:focus {
  color: #000 !important;
  border-bottom-color: var(--mm-gold);
}
@media (max-width: 600px) {
  .mm-navlink { font-size: 11px; padding: 4px 6px; }
  .mm-navlink img { width: 26px; height: 26px; }
}

/* one icon per screen size (desktop / tablet / mobile) */
.nav-img { vertical-align: middle; margin-right: 4px; }
.nav-img-tablet, .nav-img-mobile { display: none; }
@media (max-width: 1024px) {
  .nav-img-desktop { display: none; }
  .nav-img-tablet  { display: inline; }
}
@media (max-width: 600px) {
  .nav-img-tablet  { display: none; }
  .nav-img-mobile  { display: inline; }
}

/* ---------- SIDE WHITESPACE (frame.content.html) ---------- */
.mm-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 64px);
  box-sizing: border-box;
}

/* ---------- INTRO + SECTION HEADERS ---------- */
.cardGroupHeader,
.cardGroupH {
  background-color: #fff !important;
  background-image: none !important;
  border-top: 6px solid var(--mm-green);
  border-radius: 14px;
  box-shadow: 0 2px 0 var(--mm-olive-light);
  color: var(--mm-ink);
}
/* "It is passive income" box: solid olive-green fill, no border */
.cardGroupHeader {
  background-color: #C4C38A !important; /* lighter shade of the logo olive */
  border: 0 !important;
  box-shadow: none !important;
  padding: 24px clamp(16px, 3vw, 40px);
}
.cardGroupHeader h3,
.cardGroupHeader p { color: var(--mm-green-dark) !important; }
.cardGroupHeader h3,
.cardGroupH h3 {
  color: var(--mm-green) !important;
  letter-spacing: .06em;
}
.cardGroupHeader p {
  color: var(--mm-green-dark);
  font-weight: 700;
  margin-bottom: 4px;
}
/* Section headers match the passive-income box: solid olive fill, no borders */
.cardGroupH {
  background-color: #C4C38A !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 20px clamp(16px, 3vw, 40px);
}
.cardGroupH h3 { color: var(--mm-green-dark) !important; }

/* ---------- PRODUCT CARDS: grid of clickable squares ---------- */
.cardGroup {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  padding: 24px 0 40px;
  width: 100%;
}
.cardGroup .column {
  display: block !important;   /* also beats any old "hide until filtered" rule */
  float: none !important;
  flex: 0 0 215px;
  width: 215px !important;
  max-width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}
.cardGroup .column > a { display: block; height: 100%; }
.cardGroup .column a > br { display: none; }  /* old spacer tags inside each card link */
.card {
  box-sizing: border-box;
  width: 100% !important;
  min-height: 270px;
  height: 100%;
  margin: 0 !important;
  padding: 18px 16px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  /* Warm white: brand logos are designed for white, and this sits softly on the cream page */
  background-color: #FFFEF9 !important;
  border: 0 !important;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(31, 42, 18, .06), 0 4px 14px rgba(31, 42, 18, .07);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.card .card__description { width: 100%; }
/* Logo area: same height on every card so names and offers line up */
.card .cardpic {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card .cardpic img { display: block; height: auto; width: auto; object-fit: contain; }
.card .cardpic img.mm-logo-wordmark { max-width: 180px !important; max-height: 64px; }
.card .cardpic img.mm-logo-icon {
  width: 88px !important; height: 88px; max-width: none !important;
  border-radius: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
/* Hover / keyboard focus: the whole card fills with soft gold */
.column a:hover .card,
.column a:focus-visible .card {
  background-color: #FCE68B !important;
  box-shadow: 0 2px 4px rgba(31, 42, 18, .08), 0 8px 22px rgba(31, 42, 18, .12);
}
.column a:focus-visible { outline: none; }
@media (max-width: 520px) {
  .cardGroup .column { flex-basis: 100%; width: 100% !important; }
  .card { min-height: 0; }
}
.column a { text-decoration: none; display: block; border-radius: 16px; }
.card__descriptionText {
  color: var(--mm-ink) !important;
  font-weight: 800;
  font-size: 1.05em;
}
.card__price { color: var(--mm-ink) !important; }
/* Offer line: same size and weight as the name, in the logo's green so the money stands out */
.card__price.mm-offer {
  color: var(--mm-green) !important;
  font-weight: 800;
  font-size: 1.05em;
  margin: 4px 0 2px;
}

/* ---------- SIGN-OFF STRIP ---------- */
.mm-signoff {
  text-align: center;
  background-color: var(--mm-cream);
  color: var(--mm-green);
  font-weight: 700;
  padding: 20px 0;
}
.mm-signoff .mainbtn {
  background-color: transparent !important;
  border: 0;
}

/* ---------- FOOTER (index.html) ----------
   Compact bar pinned to the bottom of the screen, tucked away until
   the visitor scrolls to the end of the frame (index.html toggles .mm-show). */
.mm-footer {
  position: fixed !important;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background-color: var(--mm-olive) !important;
  color: var(--mm-green-dark);
  text-align: center;
  padding: 12px 10px 10px;
  transform: translateY(110%);
  transition: transform .25s ease;
}
.mm-footer.mm-show { transform: translateY(0); }
.mm-footlinks { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; }
.mm-footer .mm-navlink { font-size: 12px; padding: 2px 10px; }
.mm-footer .mm-navlink img { width: 28px; height: 28px; }
.mm-footer a { color: var(--mm-green-dark); font-weight: 700; text-decoration: none; }
.mm-credits {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
}
.mm-credits img { vertical-align: middle; }
.mm-credits .mm-studio { height: 20px; width: auto; }

/* ---------- CARDS INSIDE THEIR SECTION BOX ---------- */
.cardGroupH { padding: 22px clamp(14px, 2.5vw, 32px) 28px !important; margin-bottom: 36px; }
.cardGroupH .cardGroup {
  border-top: 1px solid rgba(14, 82, 18, .18);
  margin-top: 6px;
  padding: 24px 0 0 !important;
  gap: 18px;
}

/* ---------- NAV JUMPS (frame.content.html) ---------- */
html { scroll-behavior: smooth; }
.cardGroupH { scroll-margin-top: 28px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- CARD GRID: 4 equal columns that fill the box ----------
   Cards stretch to share the full width; a short last row stays left-aligned. */
.cardGroupH .cardGroup {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.cardGroupH .cardGroup .column {
  width: auto !important;
  flex: none;
  max-width: none;
  min-width: 0;
}
@media (max-width: 900px) { .cardGroupH .cardGroup { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cardGroupH .cardGroup { grid-template-columns: 1fr; } }

/* ---------- TABLET & PHONE ---------- */
/* Nav scrolls sideways on smaller screens: fade the right edge so it's obvious there's more */
@media (max-width: 900px) {
  .mm-nav {
    padding-right: 48px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent);
    scrollbar-width: none;
  }
  .mm-nav::-webkit-scrollbar { display: none; }
}
/* Phones: shorter header, more compact cards */
@media (max-width: 520px) {
  .mm-shell-body .mm-header { padding-top: 12px; }
  .mm-shell-body .mm-header img.mm-logo { max-width: 240px; }
  .mm-shell-body .mm-tagline { font-size: 11px; margin-top: 8px; letter-spacing: .08em; }
  .mm-shell-body .mm-nav { padding-top: 8px; padding-bottom: 6px; }

  .mm-main { padding: 0 12px; }
  .cardGroupH { padding: 18px 14px 20px !important; margin-bottom: 24px; }
  .cardGroupH .cardGroup { gap: 12px; padding-top: 18px !important; }
  .card { padding: 14px 14px !important; }
  .card .cardpic { height: 68px; margin-bottom: 10px; }
  .card .cardpic img.mm-logo-wordmark { max-height: 44px; max-width: 170px !important; }
  .card .cardpic img.mm-logo-icon { width: 60px !important; height: 60px; border-radius: 14px; }
  .card .card__price { font-size: .95em; }
  .card .card__price[style] { padding: 6px 4px !important; }

  .mm-footer .mm-navlink { font-size: 11px; padding: 2px 6px; }
  .mm-footer .mm-navlink img { width: 24px; height: 24px; }
  .mm-credits { font-size: 11px; }
}

/* index.html: olive behind the header/nav so the nav's edge fade blends in (the frame keeps its own cream) */
html.mm-shell body.mm-shell-body { background-color: var(--mm-olive) !important; }

/* Referral code shown on cards for apps that use a code instead of a link */
.mm-code {
  display: block;
  margin-top: 8px;
  font-size: .92em;
  color: var(--mm-ink);
}
.mm-code strong {
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: .04em;
  background: var(--mm-olive-light);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Footer: Studio Toys logo + small credit line */
.mm-studio-link { display: inline-block; line-height: 0; }
.mm-studio-logo { width: 180px; height: auto; display: block; margin: 0 auto; }
.mm-footer .mm-credits { margin-top: 6px; font-size: 12px; }
@media (max-width: 520px) { .mm-studio-logo { width: 150px; } }

/* ---------- MOBILE-FRIENDLY NAV + CARDS (overrides the rules above) ----------
   Every nav link stays visible at all sizes: no sideways scrolling.
   Tablet: links wrap and shrink. Phone: a 7-column grid in two rows. */
@media (max-width: 900px) {
  .mm-nav {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    white-space: normal;
    row-gap: 2px;
    padding: 6px 8px 8px;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .mm-navlink { font-size: 11.5px; padding: 3px 6px; }
  .mm-navlink img { width: 28px; height: 28px; }
}
@media (max-width: 600px) {
  .mm-shell-body .mm-header { padding: 10px 10px 0; }
  .mm-shell-body .mm-header img.mm-logo { max-width: 200px; }
  .mm-shell-body .mm-tagline { font-size: 12px; margin-top: 6px; }
  .mm-shell-body .mm-nav,
  .mm-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 0;
    padding: 6px 2px 6px;
  }
  /* phones: a 4 x 3 grid of 12 links. Community is hidden here only;
     its section is still at the bottom of the page and shows on tablets and desktops */
  .mm-navlink { flex: 0 0 25%; box-sizing: border-box; }
  .mm-navlink[href*="#community"] { display: none; }
  .mm-navlink {
    min-width: 0;
    padding: 4px 2px 5px;
    font-size: 12px;
    line-height: 1.1;
    letter-spacing: -.01em;
    text-align: center;
    border-bottom-width: 2px;
  }
  .mm-navlink img { width: 26px; height: 26px; }
  .mm-navlink span { display: block; white-space: normal; overflow-wrap: normal; }
}

@media (max-width: 360px) {
  .mm-navlink { font-size: 11.5px; }
  .mm-navlink img { width: 24px; height: 24px; }
}

/* Phone cards: two smaller cards per row instead of one big one */
@media (max-width: 600px) {
  .cardGroupH .cardGroup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mm-main { padding: 0 8px; }
  .cardGroupH { padding: 14px 10px 16px !important; margin-bottom: 18px; }
  .card { padding: 10px 8px !important; border-radius: 12px; }
  .column a { border-radius: 12px; }
  .card .cardpic { height: 52px; margin-bottom: 8px; }
  .card .cardpic img.mm-logo-wordmark { max-height: 34px; max-width: 120px !important; }
  .card .cardpic img.mm-logo-icon { width: 46px !important; height: 46px; border-radius: 11px; }
  .card__descriptionText { font-size: 13px; line-height: 1.2; }
  .card .card__price { font-size: 12px; line-height: 1.3; }
  .card .card__price[style] { font-size: 11px; padding: 4px 2px !important; }
  .mm-code { font-size: 11px; }
  .mm-code strong { padding: 1px 4px; overflow-wrap: anywhere; }
}
/* Phone section headers: smaller title and intro text so the cards show up sooner */
@media (max-width: 600px) {
  .cardGroupH h3 { font-size: 20px !important; margin-bottom: 8px; }
  .cardGroupH p { font-size: 15px !important; line-height: 1.45; }
  .cardGroupH > img, .cardGroupH > div > img, .cardGroupH img[width="45"] { width: 36px; height: 36px; }
}
/* Very narrow phones: back to one card per row */
@media (max-width: 330px) {
  .cardGroupH .cardGroup { grid-template-columns: 1fr; }
}
/* Tablets: three cards per row */
@media (min-width: 601px) and (max-width: 900px) {
  .cardGroupH .cardGroup { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .card { padding: 14px 12px !important; }
}

/* "No money needed" badge: offers with no deposit or purchase required */
.mm-free {
  display: inline-block;
  margin: 6px auto 0;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--mm-olive-light);
  color: var(--mm-green-dark);
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .02em;
  white-space: nowrap;
}
em .mm-free { margin: 0 2px; font-size: .9em; }
@media (max-width: 600px) { .mm-free { font-size: 10.5px; padding: 1px 7px; } }

/* Nav labels in uppercase (matches the tagline), on every screen size */
.mm-navlink span { text-transform: uppercase; letter-spacing: .03em; }

/* =====================================================================
   DEEP GREEN THEME (Nov 21, 2026)
   Money-green background, cream text, gold only for the slogan.
   To go back to the olive look, delete everything from this comment to
   the end of the file (a full copy of the olive version is in
   Backup/2026-11-21/mostlymoney-olive.css), and point the logo in
   index.html back to img/mostlymoney-logo.png.
   ===================================================================== */
:root {
  --mm-felt:       #1D5C3A;  /* header, nav, footer */
  --mm-felt-dark:  #174E31;  /* page behind the boxes */
  --mm-felt-light: #23693F;  /* intro and section boxes */
  --mm-on-felt:    #F6F4E6;  /* cream text on green */
}
html, body { background-color: var(--mm-felt-dark) !important; }
html.mm-shell body.mm-shell-body { background-color: var(--mm-felt) !important; }
.mm-header,
.mm-shell-body .mm-header,
.mm-nav,
.mm-shell-body .mm-nav { background-color: var(--mm-felt) !important; border-color: var(--mm-felt-dark) !important; }
.mm-header { border-bottom: 0 !important; }
.mm-tagline { color: var(--mm-gold) !important; }
.mm-navlink, .mm-navlink span { color: var(--mm-on-felt) !important; }
.mm-navlink:hover, .mm-navlink:focus,
.mm-navlink:hover span, .mm-navlink:focus span { color: #fff !important; border-bottom-color: var(--mm-on-felt); }

.cardGroupHeader,
.cardGroupH { background-color: var(--mm-felt-light) !important; color: var(--mm-on-felt) !important; }
.cardGroupHeader h3,
.cardGroupH h3,
.cardGroupHeader p,
.cardGroupH p,
.cardGroupHeader em { color: var(--mm-on-felt) !important; }
.cardGroupHeader > a, .cardGroupH > a,
.cardGroupHeader p a, .cardGroupH p a { color: var(--mm-on-felt) !important; text-decoration: underline; }

.mm-footer { background-color: var(--mm-felt) !important; color: var(--mm-on-felt) !important; }
.mm-footer a, .mm-credits, .mm-credits a { color: var(--mm-on-felt) !important; }
.mm-signoff { background-color: var(--mm-felt-dark) !important; color: var(--mm-on-felt) !important; }

/* CARD FRAME (Nov 21, 2026): a thin green line inside each card and a soft shadow.
   To remove it, delete this block. The version before this is in Backup/2026-11-21/mostlymoney-green-before-cardframe.css. */
.cardGroup .card { position: relative; box-shadow: 0 3px 10px rgba(0,0,0,.22) !important; }
.cardGroup .card::before { content: ""; position: absolute; inset: 6px; border: 1.5px solid rgba(21,113,26,.30); border-radius: 10px; pointer-events: none; }
@media (max-width:600px){ .cardGroup .card::before { inset: 4px; border-width: 1px; border-radius: 9px; } }

/* NAV SPACING + INTRO BADGE (Nov 21, 2026): a little more room between the slogan and the nav,
   and the "No Money Needed" pill in the intro sits on the text line like a word.
   To undo, delete this block. The version before this is in Backup/2026-11-21/mostlymoney-before-navspacing.css. */
.mm-shell-body .mm-nav { padding-top: 20px !important; }
@media (max-width:900px){ .mm-shell-body .mm-nav { padding-top: 14px !important; } }
@media (max-width:600px){ .mm-shell-body .mm-nav, .mm-nav { padding-top: 12px !important; } }
em .mm-free { vertical-align: baseline; line-height: 1.25; padding: 0 7px; margin: 0 2px; position: relative; top: -1px; }

/* CHURNING SPREADSHEET CARD (Nov 22, 2026): one wide card that looks like a file, not an offer.
   To remove it, delete this block and the CHURNING SPREADSHEET section in frame.content.html. */
.cardGroupH .cardGroup .mm-sheet-col { grid-column: 1 / -1; }
.mm-sheet-card { flex-direction: row !important; align-items: center !important; gap: 28px; text-align: left !important; min-height: 0 !important; padding: 24px 26px !important; }
.mm-sheet-preview { flex: 1 1 52%; min-width: 0; background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 6px 18px rgba(0,0,0,.10); font-family: 'Segoe UI', Arial, sans-serif; transform: rotate(-1deg); }
.mm-sp-bar { background: #188038; color: #fff; padding: 7px 10px; font-size: 12px; display: flex; align-items: center; gap: 5px; }
.mm-sp-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); }
.mm-sp-bar b { margin-left: 6px; font-weight: 600; letter-spacing: .02em; }
.mm-sp-grid { display: grid; grid-template-columns: 1.5fr .8fr 1.2fr .8fr; font-size: 12.5px; color: #263238; }
.mm-sp-grid > div { padding: 7px 9px; border-bottom: 1px solid #E8EBEE; border-right: 1px solid #E8EBEE; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-sp-grid > div:nth-child(4n) { border-right: 0; }
.mm-sp-h { background: #FCE7DB; color: #E65100; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.mm-sp-n { text-align: center; font-weight: 800; }
.mm-sp-r { text-align: right; }
.mm-sp-ok { background: #E8F5E9; color: #2E7D32; }
.mm-sp-hot { background: #FFEBEE; color: #C62828; }
.mm-sp-keep { background: #E3F2FD; color: #1565C0; }
.mm-sp-wait { background: #ECEFF1; color: #546E7A; }
.mm-sp-pill { font-style: normal; font-weight: 700; font-size: 11px; padding: 2px 7px; border-radius: 999px; }
.mm-sp-hit { background: #FFF8E1; color: #F57F17; }
.mm-sp-keepp { background: #E3F2FD; color: #1565C0; }
.mm-sp-waitp { background: #ECEFF1; color: #546E7A; }
.mm-sheet-info { flex: 1 1 48%; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.mm-sheet-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--mm-gold); color: var(--mm-ink); font-weight: 800; font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.mm-sheet-info .card__descriptionText { font-size: 1.45em; line-height: 1.15; margin-bottom: 8px; }
.mm-sheet-list { margin: 0 0 14px; padding-left: 18px; color: var(--mm-ink); font-size: 1em; line-height: 1.45; }
.mm-sheet-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mm-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; font-weight: 800; text-decoration: none !important;
  border: 2px solid var(--mm-green); color: var(--mm-green) !important; background: #fff; transition: background-color .15s ease; }
.mm-btn:hover, .mm-btn:focus-visible { background: #FCE68B; }
.mm-btn-main { background: var(--mm-green); color: #fff !important; }
.mm-btn-main:hover, .mm-btn-main:focus-visible { background: var(--mm-green-dark); color: #fff !important; }
.mm-sheet-view { margin-top: 10px; font-size: .92em; color: var(--mm-green) !important; text-decoration: underline; }
.mm-sheet-card .mm-free { margin: 10px 0 0; }
@media (max-width: 760px) {
  .mm-sheet-card { flex-direction: column !important; align-items: stretch !important; gap: 18px; padding: 16px 14px !important; }
  .mm-sheet-preview { transform: none; }
  .mm-sp-grid { font-size: 11px; }
  .mm-sp-grid > div { padding: 5px 6px; }
}
@media (max-width: 600px) {
  .mm-navlink[href*="#spreadsheet"] { display: none; }
  .mm-sheet-info .card__descriptionText { font-size: 1.2em; }
  .mm-sheet-list { font-size: 12.5px; }
  .mm-btn { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 600px) { .mm-sp-grid { font-size: 10.5px; } .mm-sp-pill { font-size: 9.5px; padding: 1px 5px; } }
