/* Storefront block — theme via CSS vars (overridable per vertical later). */
.merch {
  --m-bg: #ffffff;
  --m-fg: #14171a;
  --m-muted: #6b7280;
  --m-line: #e5e7eb;
  --m-card: #ffffff;
  --m-primary: #111827;
  --m-on-primary: #ffffff;
  --m-radius: 14px;
  --m-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 8px 24px rgba(0, 0, 0, .06);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--m-fg);
  background: var(--m-bg);
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  .merch:not([data-theme="light"]) {
    --m-bg: #0f1115; --m-fg: #e8eaed; --m-muted: #9aa0a6; --m-line: #262a30;
    --m-card: #161a20; --m-primary: #f3f4f6; --m-on-primary: #0f1115;
    --m-shadow: 0 1px 3px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.5);
  }
}
.merch * { box-sizing: border-box; }
.merch img { max-width: 100%; display: block; }

.m-wrap { max-width: 960px; margin: 0 auto; padding: 20px 16px 40px; }
.m-head { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 20px; }
.m-head h1 { font-size: 20px; margin: 0; letter-spacing: -.01em; }
.m-head .m-by { color: var(--m-muted); font-size: 13px; }
.m-carticon { margin-left: auto; position: relative; background: none; border: 1px solid var(--m-line); border-radius: 10px; width: 40px; height: 38px; font-size: 18px; cursor: pointer; color: var(--m-fg); }
.m-cartbadge { position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 700; }

/* cart lines */
.m-cartline { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--m-line); }
.m-cartthumb { width: 64px; height: 64px; border-radius: 10px; background: #f3f4f6 center/cover no-repeat; border: 1px solid var(--m-line); }
.m-cartinfo .m-title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.m-cartinfo .m-price { color: var(--m-muted); font-size: 12px; margin-bottom: 6px; }
.m-cartright { text-align: right; font-weight: 600; font-size: 14px; }
.m-qty-sm button { width: 30px; height: 30px; font-size: 15px; }
.m-qty-sm span { min-width: 30px; font-size: 13px; }
.m-remove { display: block; margin-top: 8px; background: none; border: 0; color: var(--m-muted); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 0; }
.m-remove:hover { color: #ef4444; }

/* grid */
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.m-card {
  background: var(--m-card); border: 1px solid var(--m-line); border-radius: var(--m-radius);
  overflow: hidden; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.m-card:hover { transform: translateY(-2px); box-shadow: var(--m-shadow); }
.m-card .m-thumb { aspect-ratio: 1 / 1; background: #f3f4f6 center/cover no-repeat; }
@media (prefers-color-scheme: dark) { .merch:not([data-theme="light"]) .m-card .m-thumb { background-color: #1b2027; } }
.m-card .m-info { padding: 10px 12px 14px; }
.m-card .m-title { font-size: 14px; font-weight: 600; margin: 0 0 3px; }
.m-card .m-price { color: var(--m-muted); font-size: 13px; }

/* product detail */
.m-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 680px) { .m-detail { grid-template-columns: 1fr; gap: 18px; } }
.m-gallery img { width: 100%; border: 1px solid var(--m-line); border-radius: var(--m-radius); background: #f3f4f6; }
.m-detail h2 { font-size: 22px; margin: 0 0 6px; letter-spacing: -.01em; }
.m-detail .m-bigprice { font-size: 20px; font-weight: 600; margin: 2px 0 18px; }
.m-field { margin: 0 0 16px; }
.m-field label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--m-muted); margin: 0 0 7px; }
.m-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.m-opt {
  min-width: 44px; padding: 8px 12px; border: 1px solid var(--m-line); border-radius: 10px;
  background: var(--m-card); color: var(--m-fg); cursor: pointer; font: inherit; font-size: 14px;
}
.m-opt[aria-pressed="true"] { border-color: var(--m-primary); background: var(--m-primary); color: var(--m-on-primary); }
.m-opt:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.m-qty { display: inline-flex; align-items: center; border: 1px solid var(--m-line); border-radius: 10px; overflow: hidden; }
.m-qty button { width: 38px; height: 38px; border: 0; background: var(--m-card); color: var(--m-fg); font-size: 18px; cursor: pointer; }
.m-qty span { min-width: 40px; text-align: center; font-size: 15px; }

/* forms */
.m-input { width: 100%; padding: 10px 12px; border: 1px solid var(--m-line); border-radius: 10px; font: inherit; font-size: 14px; background: var(--m-card); color: var(--m-fg); }
.m-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-form-grid { display: grid; gap: 10px; max-width: 520px; margin-bottom: 14px; }
/* One coherent checkout column: form, totals, and button share the same width
   instead of the button bleeding to the full wrap width. */
.m-checkout-col { max-width: 520px; }

/* buttons */
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--m-primary); background: var(--m-primary); color: var(--m-on-primary); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.m-btn:disabled { opacity: .5; cursor: not-allowed; }
.m-btn.m-ghost { background: transparent; color: var(--m-fg); border-color: var(--m-line); font-weight: 500; }
.m-btn.m-block { width: 100%; }
.m-link { background: none; border: 0; color: var(--m-muted); font: inherit; font-size: 13px; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 14px; }
.m-link:hover { color: var(--m-fg); }

/* summary / totals */
.m-summary { border: 1px solid var(--m-line); border-radius: var(--m-radius); padding: 14px 16px; margin: 6px 0 16px; background: var(--m-card); }
.m-line { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.m-line.m-total { font-weight: 700; font-size: 16px; border-top: 1px solid var(--m-line); margin-top: 6px; padding-top: 10px; }

/* states */
.m-note { color: var(--m-muted); font-size: 13px; }
.m-error { color: #b91c1c; font-size: 13px; margin: 8px 0; }
.m-center { text-align: center; padding: 48px 16px; color: var(--m-muted); }
.m-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.m-check { width: 54px; height: 54px; border-radius: 50%; background: #ecfdf5; color: #047857; display: grid; place-items: center; font-size: 28px; margin: 0 auto 14px; border: 1px solid #a7f3d0; }
.m-spin { width: 22px; height: 22px; border: 2px solid var(--m-line); border-top-color: var(--m-primary); border-radius: 50%; animation: mspin .7s linear infinite; display: inline-block; }
@keyframes mspin { to { transform: rotate(360deg); } }
.m-powered { text-align: center; color: var(--m-muted); font-size: 11px; margin-top: 28px; }


/* ── Mobile ───────────────────────────────────────────────────────────────
   The buyer flow is the most mobile-critical surface we ship — a linktree
   visitor is on a phone by default.

   The checkout inputs were 14px, so iOS zoomed the page on EVERY field while
   someone typed a shipping address. 16px is the threshold and is load-bearing.
   Everything else brings tap targets to the 44px minimum (Apple HIG / WCAG
   2.5.5); the desktop sizes land at 37-40px.                                */
@media (max-width: 560px) {
  .m-wrap { padding: 16px 12px 32px; }

  .m-input { min-height: 44px; font-size: 16px; } /* iOS zoom threshold — do not lower */
  .m-btn { min-height: 48px; font-size: 16px; }

  /* Size/colour chips were 44x37. */
  .m-opt { min-height: 44px; min-width: 44px; }

  /* Quantity stepper was 38x38. */
  .m-qty button { width: 44px; height: 44px; }
  .m-qty span { min-width: 44px; }

  /* Cart icon was 40x38. */
  .m-carticon { width: 44px; height: 44px; }

  /* Back links rendered ~13px tall. Set the height explicitly rather than
     deriving it from padding — padding math left them at 39px. The extra is
     absorbed by trimming the existing bottom margin so nothing shifts. */
  .m-link { min-height: 44px; padding: 11px 2px; margin-bottom: 4px; }

  /* "Remove" sat at 47x14 under the line's price. */
  .m-remove { min-height: 44px; padding: 12px 2px; }

  /* The compact cart stepper: 38px by default, and 40px is still short. */
  .m-qty-sm button { width: 44px; height: 44px; font-size: 17px; }
  .m-qty-sm span { min-width: 38px; font-size: 14px; }

  /* Address fields: two-up is too narrow at 375px for City/State/ZIP. */
  .m-row2 { grid-template-columns: 1fr; }

  /* Cart line: 64px thumb + copy + controls is cramped; let the right column
     drop under the copy instead of squeezing both. */
  .m-cartline { grid-template-columns: 56px 1fr; row-gap: 10px; }
  .m-cartthumb { width: 56px; height: 56px; }
  .m-cartright { grid-column: 2; text-align: left; }
}


/* ── Carried from the Clutch Studio system ───────────────────────────────────
   Structure only — borders, hover, focus, motion. Colours still come from the
   per-vertical theme tokens, so this stays neutral for any other tenant. */

/* Buttons lift into their own shadow instead of just changing colour: the same
   feedback the marketing pages use, and it reads on a warm ground where a hover
   tint barely registers. */
.m-btn { transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, background .18s, border-color .18s; }
.m-btn:hover:not(:disabled) { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--m-primary); }
.m-btn:active:not(:disabled) { transform: none; box-shadow: none; }
.m-btn.m-ghost:hover:not(:disabled) { box-shadow: 3px 3px 0 var(--m-line); }

/* Keyboard focus was relying on the UA ring, which is low-contrast on a filled
   button. Brand-independent and only for keyboard users. */
.m-btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible { outline: 3px solid var(--m-primary); outline-offset: 2px; border-radius: 8px; }

/* Motion here is decoration, never meaning — honour the OS setting. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .m-btn:hover:not(:disabled) { transform: none !important; }
}

/* Checkout: persistent, visible labels above each field (the form was
   placeholder-only, which vanishes on the first keystroke). */
.m-fld { display: grid; gap: 6px; min-width: 0; }
.m-fld label { font-size: 13px; font-weight: 600; color: var(--m-fg); }
select.m-input { cursor: pointer; }

/* Store logo beside the name. Fixed height, natural width, so a wide wordmark
   and a square badge both sit on the same baseline row without resizing it. */
.m-logo { height: 36px; width: auto; max-width: 160px; object-fit: contain; align-self: center; border-radius: 6px; }
@media (max-width: 560px) { .m-logo { height: 30px; max-width: 110px; } }

/* ── Order mode (design it, order it yourself) ───────────────────────────────
   Quantities by size: one cell per size, typed rather than stepped, because an
   event order is 12 M and 20 L, not +1 +1 +1. */
a.m-link { text-decoration: none; }
.m-sizegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.m-sizecell { display: flex; flex-direction: column; gap: 4px; }
.m-sizecell label { font-size: 13px; font-weight: 600; color: var(--m-fg); text-transform: none; letter-spacing: 0; margin: 0; }
.m-sizecell input { text-align: center; padding: 10px 6px; }
.m-sizeprice { font-size: 12px; color: var(--m-muted); text-align: center; }
.m-bigprice small { font-size: 13px; font-weight: 400; color: var(--m-muted); margin-left: 4px; }
.m-preparing { aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 10px;
  border: 1px solid var(--m-line); border-radius: var(--m-radius); background: var(--m-card); }

/* Live line under the size grid: count, per-unit, volume savings, next tier. */
.m-gridsum { display: grid; gap: 6px; margin: 4px 0 14px; }
.m-gridsum:empty { display: none; }
.m-gridline { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--m-fg); }
.m-gridline b { font-weight: 600; }
/* Savings: a tint of the store's own primary, so it reads as good news in any theme. */
.m-save { font-size: 13px; color: var(--m-fg); padding: 8px 10px; border-radius: 8px;
  background: color-mix(in srgb, var(--m-primary) 9%, transparent);
  border-left: 3px solid var(--m-primary); margin: 8px 0; }
.m-assure { font-size: 12.5px; color: var(--m-muted); text-align: center; margin: 10px 0 0; }

/* Delivery speed + dates at checkout. */
.m-ship { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; display: grid; gap: 8px; }
.m-ship legend { font-size: 13px; font-weight: 600; color: var(--m-fg); padding: 0; margin-bottom: 8px; }
.m-shiprow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 44px;
  border: 1px solid var(--m-line); border-radius: var(--m-radius); background: var(--m-card); cursor: pointer; }
.m-shiprow.on { border-color: var(--m-primary); }
.m-shiprow input { margin: 0; accent-color: var(--m-primary); }
.m-shipname { display: grid; gap: 2px; flex: 1; min-width: 0; font-size: 14px; color: var(--m-fg); }
.m-shipname b { font-weight: 600; }
.m-shipname small { font-size: 12.5px; color: var(--m-muted); }
.m-shipprice { font-size: 14px; font-weight: 600; color: var(--m-fg); white-space: nowrap; }

/* Order-mode promo code field at checkout. */
.m-promo { margin: 14px 0 0; }
.m-promo label { display: block; font-size: 13px; font-weight: 600; color: var(--m-fg); margin: 0 0 6px; }
.m-promorow { display: flex; gap: 8px; }
.m-promorow .m-input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.m-promorow .m-btn { flex: none; }
.m-promo-ok { font-size: 13px; color: var(--m-fg); margin: 6px 0 0; }

/* Names & numbers (order mode): toggle, ink swatches, roster, back preview. */
.m-nn { margin: 18px 0 0; border: 1px solid var(--m-line); border-radius: var(--m-radius); background: var(--m-card); }
.m-nn.open { padding: 0 14px 14px; }
.m-nn-toggle { display: grid; gap: 2px; width: 100%; text-align: left; padding: 12px 14px; min-height: 52px; border: 0; background: none; color: var(--m-fg); font: inherit; cursor: pointer; }
.m-nn.open .m-nn-toggle { padding: 12px 0; }
.m-nn-toggle b { font-size: 15px; }
.m-nn-toggle span { font-size: 13px; color: var(--m-muted); }
.m-nn-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 520px) { .m-nn-body { grid-template-columns: 1fr; } .m-nn-preview { max-width: 160px; } }
.m-nn-preview { border-radius: 10px; padding: 10px; display: grid; justify-items: center; gap: 6px; }
.m-nn-preview canvas { width: 100%; height: auto; outline: 1px dashed rgba(127,127,127,.5); }
.m-nn-preview small { font-size: 11px; color: #9aa0a6; }
.m-nn-label { font-size: 13px; font-weight: 600; color: var(--m-fg); margin: 0 0 6px; }
.m-nn-inks { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.m-nn-ink { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; min-height: 36px; border-radius: 999px; border: 1px solid var(--m-line); background: var(--m-bg); color: var(--m-fg); font: inherit; font-size: 12.5px; cursor: pointer; }
.m-nn-ink span { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); }
.m-nn-ink[aria-pressed="true"] { border-color: var(--m-primary); box-shadow: 0 0 0 1px var(--m-primary) inset; }
.m-nn-rows { display: grid; gap: 6px; }
.m-nn-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px 84px 36px; gap: 6px; align-items: center; border-radius: 8px; }
.m-nn-row.sel { box-shadow: -3px 0 0 var(--m-primary); }
.m-nn-row .m-input { padding: 9px 10px; min-width: 0; }
.m-nn-num { text-align: center; }
.m-nn-del { width: 36px; height: 36px; border: 1px solid var(--m-line); border-radius: 8px; background: var(--m-bg); color: var(--m-muted); font-size: 18px; cursor: pointer; }
.m-nn-actions { display: flex; gap: 10px; align-items: center; margin: 8px 0 0; }
.m-nn-pastebox { width: 100%; margin-top: 8px; font-family: inherit; }
@media (max-width: 560px) {
  .m-nn-row { grid-template-columns: minmax(0, 1fr) 58px 74px 44px; }
  .m-nn-del, .m-nn-ink { min-height: 44px; }
  .m-nn-del { width: 44px; height: 44px; }
}

/* buyer reviews — stars are a clipped overlay so 4.6 shows 4.6 */
.merch { --m-star: #b7791f; --m-star-off: #d8dce2; }
@media (prefers-color-scheme: dark) { .merch:not([data-theme="light"]) { --m-star: #f0b429; --m-star-off: #3a4049; } }
.m-stars { position: relative; display: inline-block; font-size: 14px; line-height: 1; letter-spacing: 1px; color: var(--m-star-off); vertical-align: -1px; }
.m-stars::before { content: "\2605\2605\2605\2605\2605"; }
.m-stars > span { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--m-star); }
.m-stars > span::before { content: "\2605\2605\2605\2605\2605"; }
.m-rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--m-muted); margin: 0 0 3px; }
.m-torv { background: none; border: 0; padding: 0; min-height: 32px; cursor: pointer; font: inherit; font-size: 13.5px; color: var(--m-muted); margin: -2px 0 4px; }
.m-torv:hover span { text-decoration: underline; }
.m-reviews { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--m-line); }
.m-reviews h3 { font-size: 18px; margin: 0 0 10px; letter-spacing: -.01em; }
.m-rvsum { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 6px; }
.m-rvsum .m-stars { font-size: 18px; }
.m-rvavg { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.m-blankrating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.m-rvlist { list-style: none; margin: 10px 0 0; padding: 0; }
.m-review { padding: 14px 0; border-top: 1px solid var(--m-line); }
.m-rvhead { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.m-verified { font-size: 11.5px; font-weight: 600; color: #1f7a4d; background: #e8f5ee; border-radius: 999px; padding: 2px 8px; }
@media (prefers-color-scheme: dark) { .merch:not([data-theme="light"]) .m-verified { color: #7ee2a8; background: #15291f; } }
.m-rvdate { color: var(--m-muted); font-size: 12.5px; margin-left: auto; }
.m-rvbody { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.m-rvphoto { display: inline-block; margin-top: 8px; }
.m-rvphoto img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; border: 1px solid var(--m-line); }

/* Embed looks (look=light|dark from the owner's snippet). Light is the base
   palette above; dark is the same palette the OS-driven dark mode uses. */
.merch { min-height: 100vh; }
.merch[data-theme="light"] { color-scheme: light; }
.merch[data-theme="dark"] {
  color-scheme: dark;
  --m-bg: #0f1115; --m-fg: #e8eaed; --m-muted: #9aa0a6; --m-line: #262a30;
  --m-card: #161a20; --m-primary: #f3f4f6; --m-on-primary: #0f1115;
  --m-shadow: 0 1px 3px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.5);
  --m-star: #f0b429; --m-star-off: #3a4049;
}
.merch[data-theme="dark"] .m-card .m-thumb { background-color: #1b2027; }
.merch[data-theme="dark"] .m-verified { color: #7ee2a8; background: #15291f; }
.m-seeall { display: flex; justify-content: center; margin: 16px 0 0; }
/* Blend with the host page (bg=transparent): the frame is see-through, so the
   owner's own background shows; cards, inputs and buttons keep their surfaces. */
.merch[data-bg="transparent"] { background: transparent; }
/* Outline-only controls would sit straight on the host's background; give them a surface. */
.merch[data-bg="transparent"] .m-btn.m-ghost, .merch[data-bg="transparent"] .m-carticon { background: var(--m-card); }
/* The owner's product description (plain text; line breaks kept). */
.m-desc { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--m-line); font-size: 14.5px; line-height: 1.6; color: var(--m-fg); white-space: pre-line; overflow-wrap: anywhere; }
/* Size guide (Printful's, per product type) + product details */
.m-sgbtn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; margin: -6px 0 14px; min-height: 36px; font: inherit; font-size: 13.5px; color: var(--m-fg); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.m-sg { border: 1px solid var(--m-line); border-radius: var(--m-radius); background: var(--m-card); padding: 14px; margin: 0 0 16px; }
.m-sg-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.m-sg-tabs { display: inline-flex; border: 1px solid var(--m-line); border-radius: 10px; overflow: hidden; }
.m-sg-tabs button { font: inherit; font-size: 13px; min-height: 36px; padding: 6px 12px; border: 0; background: transparent; color: var(--m-fg); cursor: pointer; }
.m-sg-tabs button + button { border-left: 1px solid var(--m-line); }
.m-sg-tabs button[aria-pressed="true"] { background: var(--m-primary); color: var(--m-on-primary); font-weight: 600; }
.m-sg-note { margin: 0 0 8px; font-size: 13.5px; line-height: 1.5; white-space: pre-line; }
.m-sg-scroll { overflow-x: auto; }
.m-sg-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.m-sg-table th, .m-sg-table td { padding: 7px 8px; text-align: left; border-bottom: 1px solid var(--m-line); white-space: nowrap; }
.m-sg-table thead th { font-size: 12px; color: var(--m-muted); font-weight: 600; }
.m-sg-table tr.on { background: color-mix(in srgb, var(--m-primary) 10%, transparent); }
.m-sg-how { margin: 10px 0 0; font-size: 13.5px; }
.m-sg-how summary, .m-about summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.m-sg-how img { display: block; max-width: 320px; width: 100%; margin: 8px 0; border-radius: 8px; background: #fff; }
.m-sg-howto { margin: 6px 0 0; white-space: pre-line; line-height: 1.5; color: var(--m-muted); }
.m-about { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--m-line); font-size: 14px; }
.m-about-body { margin: 8px 0 0; white-space: pre-line; line-height: 1.6; color: var(--m-fg); }
