/* CM (PM 20261101-0235Z §B): the marketing-funnel items' layout. Linked from /services/3d-printing, /start and the quote page; rules
   apply only to CM's own classes (and to the EXISTING "email me this quote" form, U6), so a page without them is unchanged. Tokens only
   (tokens.css): no new colour, no inline style anywhere. */

/* U2: the price-anchor line (/services/3d-printing hero, /start intro) */
.cm-anchor { margin: var(--s-2) 0 0; font-size: var(--fs-small); color: var(--c-on-glass-2); }
.svc-hero .cm-anchor { margin-bottom: var(--s-4); }

/* PM 20261102-0351Z §2 placements: the /services hero's strip of three tiles (U3, U2, C2 line 2), the C2 lines, the STEP line */
/* UX1 (the owner 2026-11-07, PM 20261107-1721Z / 1813Z): the tiles take the site's glass card (the .holo fill and its soft orange
   edge, theme tokens only) instead of the light-theme --c-line border on a brown fill, with room above and below */
.cm-tiles { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0; padding: 0; list-style: none; }
.cm-tile { flex: 1 1 10rem; margin: 0; padding: var(--s-2) var(--s-3); border: var(--bw-1) solid var(--c-holo-edge-soft);
           border-radius: var(--r-2); background-color: var(--c-glass-flat);
           background-image: linear-gradient(180deg, var(--c-glass-tint), transparent 60%); font-size: var(--fs-small); color: var(--c-on-glass); }
.cm-tile.cm-anchor { margin: 0; }
.cm-tile__label { display: block; font-size: var(--fs-label); color: var(--c-on-glass-2); }
.cm-tile__value { display: block; font-weight: var(--fw-semibold); }
.cm-hero-line { margin: var(--s-2) 0 0; color: var(--c-on-glass-2); }
.cm-step-line { margin: var(--s-2) 0 0; font-size: var(--fs-small); color: var(--c-on-glass-2); }

/* U4: the sample button under the drop box; the sample quote's note in place of the payment button */
.cm-sample-row { margin: var(--s-2) 0 0; }
.cm-sample-note { margin: var(--s-3) 0 0; }
.cm-sample-note a { color: var(--c-orange-on-glass); }

/* U5: the released lines repeated under the total (the guarantee, the location) */

/* U6: "Email me this quote" (BE-E3, unchanged bytes) sits right under the total card as its own panel */
.t4 .t4c-right > .be3-qmail { margin: 0 0 var(--s-4); padding: var(--s-4) var(--s-5); border: var(--bw-2) solid var(--c-orange);
                              border-radius: var(--r-2); background: var(--c-glass-raised); box-shadow: var(--glow-1); }
.t4 .t4c-right > .be3-qmail .t4c-label { color: var(--c-on-glass); font-size: var(--fs-body); font-weight: var(--fw-semibold); }
.t4 .t4c-right > .be3-qmail .btn { width: 100%; }

/* U7: the exit card, bottom right (bottom, full width on a phone); hidden until static/cm-exit.js shows it */
.cm-exit { position: fixed; right: var(--s-5); bottom: var(--s-5); z-index: var(--z-fab-menu); width: min(26rem, calc(100vw - 2 * var(--s-5)));
           box-shadow: var(--shadow-3);
           /* UX1 (PM 20261107-1813Z): (1) take the pointer back: quote-t4c.css lets clicks pass through main / .t4c to the 3D room at
              1100 px and wider, and this card is not one of the parts it gives them back to, so every button was dead on a desktop;
              (2) an OPAQUE fill (the menu token: things that sit over content), so the lines under it are never shown through it */
           pointer-events: auto; background-color: var(--c-glass-menu); }
.cm-exit[hidden] { display: none; }
.cm-exit-opts { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-3) 0; }
.cm-exit-thanks { margin: 0 0 var(--s-3); }
/* UX1 (PM ruling pending on CC 20261108-1111Z, option (a); Legal's never-collapse rule): below 1100 px the page is one stacked
   column, so a fixed card would sit over the price lines or the 14-day line. There the card joins the page flow instead: it shows
   after the price column (its place in the markup), aligned to the page's column (the .wrap gutters: --gutter on a phone, the side
   rail from 761 px, so it never enters the menu button's lane), and can never cover anything. PM 20261108-1223Z: its bottom margin is
   the menu button's clear zone (as .t4c's, quote-flow.css), so at the very end of the page no answer sits under the menu button. */
@media (max-width: 1099.98px) { .cm-exit { position: static; right: auto; bottom: auto; width: auto;
  margin: var(--s-5) max(var(--gutter), calc((100% - var(--w-max)) / 2)) calc(var(--fab-size) + var(--s-6)); } }
@media (min-width: 761px) and (max-width: 1099.98px) { .cm-exit { margin-inline: max(calc(var(--rail) + var(--s-3)), calc((100% - var(--w-max)) / 2)); } }
/* UX1 (3): at 1100 px and wider the card sits centred at the bottom, in the 3D room's gap between the parts and the price column
   (that gap is at least 20rem wide there), never over the price lines or the 14-day line; phones keep the placement above */
@media (min-width: 1100px) { .cm-exit { right: auto; left: 50%; transform: translateX(-50%); width: min(20rem, 28vw); } }
