/* m1105a (2026-11-05): fixes from the read-only audit of the 8 native /industries/ pages (wf_7e55da72-806).
   Every rule is scoped to a page class or to an element the site footer (footer.rf) does not use. */

/* In-content footers were caught by the site-footer rules footer{padding:...!important} and footer{background:navy!important}:
   the CFO quote attribution became a navy bar, the Tax form strips grew to 92-111 px. Restore their own design. */
.case-quote footer { padding: 0 !important; background: none !important; }
/* CFO: the caption sits on the animated rust gradient; a small navy backing keeps it at 5.8:1 or more on every stop (it was 11.35:1 on the old bar). */
.page-fractional-cfo .case-quote footer { display: inline-block; padding: 3px 8px !important; background: rgba(13,31,60,0.45) !important; border-radius: 4px; }
footer.tx-paid { padding: 7px 10px !important; background: #0D1F3C !important; border-top: 0; }

/* In-page anchors land below the fixed header, the rule PM, STR, Med Spa and Dental already ship. */
.page-fractional-cfo section[id], .page-tax section[id] { scroll-margin-top: 96px; }

/* The footer legal items are plain text and the site has no privacy or terms page; desktop already hides them. */
footer.rf .rf-legal { display: none !important; }

/* CTA video frame (CFO, ISP): the poster still shows before the video arms and under reduced motion. */
.cfo-cta-media video { background: #0D1F3C; }

/* ISP How we partner: a step number and a line icon inside each rising bar; the four bars share one top line. */
.page-isp .vm { align-items: start; }
.page-isp .vm-bar { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 14px; box-sizing: border-box; }
.page-isp .vm-n, .page-isp .vm-ic { position: relative; z-index: 1; }
.page-isp .vm-n { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--pg-ink); color: var(--pg-2);
  font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; font-weight: 500; line-height: 1; box-shadow: 0 0 0 1px rgba(92,242,194,0.35); }
.page-isp .vm-ic { width: 30px; height: 30px; color: var(--pg-ink); }
.page-isp .vm-ic svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { .page-isp .vm-bar { align-items: center; padding: 0 14px; } }

/* MSP guarantee seal: the Day Zero Invoice caption on a navy pill (it measured 1.2 to 2.0:1 on the blue seal). */
.page-msp .seal-label { display: inline-block; margin-top: 0.3rem; padding: 0.2rem 0.5rem; border-radius: 7px; background: var(--pg-ink, #0B1730);
  color: #F0C255 !important; font-size: 0.6rem !important; letter-spacing: 0.12em !important; line-height: 1.3; }

/* MSP task matrix: the empty Account lead cells say what they mean, with a matching legend key. */
.page-msp .ms-c--none .ms-sym::before, .page-msp .ms-key-none::before { content: ''; display: inline-block; width: 12px; height: 2px; border-radius: 1px; background: #7b8499; vertical-align: middle; }
/* the matrix labels (Owns, Prepares, Not involved) read at 4.8:1 on white (they were 3.1:1) */
.page-msp .ms-matrix .ms-lab { color: #6B7280; }
/* the dash and its label wrap together (a no-break space alone did not hold them at 480 px) */
.page-msp .ms-key .ms-key-n { margin-left: 0.4rem; white-space: nowrap; }

/* MSP FAQ: the same +/minus marker the other summary components use instead of the browser triangle. */
.page-msp .vfs-item summary { list-style: none; position: relative; padding-right: 1.8rem; }
.page-msp .vfs-item summary::-webkit-details-marker { display: none; }
.page-msp .vfs-item summary::after { content: '+'; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%); color: var(--pg); font-weight: 500; font-size: 1.15rem; line-height: 1; }
.page-msp .vfs-item[open] summary::after { content: '\2212'; }

/* MSP swimlane: lane names stay in view while it scrolls sideways, the Engineer lane gets its own band, and a hint says it scrolls. */
.page-msp .ms-lane-label { position: sticky; left: 0; z-index: 3; }
.page-msp .ms-grid::after { content: ''; grid-column: 2 / -1; grid-row: 3; border-radius: 12px; background: rgba(242,163,58,0.06); border: 1px dashed rgba(196,122,18,0.35); }
.page-msp .ms-hint { display: block; }
.page-msp .ms-hint[hidden] { display: none; }

/* Tax: the navy role card gets a gold chip it can be read on (gold text sat on the light-gold chip). */
.page-tax .tx-role.navy .detail-btn { background: rgba(240,194,85,0.14) !important; border-color: rgba(240,194,85,0.55) !important; box-shadow: none !important; color: #F0C255 !important; }
.page-tax .tx-role.navy .detail-btn:focus-visible { background: linear-gradient(180deg, #e8d5a8, var(--gold)) !important; color: #0D1F3C !important; }
@media (hover: hover) { .page-tax .tx-role.navy .detail-btn:hover { background: linear-gradient(180deg, #e8d5a8, var(--gold)) !important; color: #0D1F3C !important; } }

/* CFO: the hiring-process link in the guarantee card, styled as on the other pages. */
.page-fractional-cfo:not(.six-page) .closing-line .tx-src { color: #17467B; font-weight: 600; white-space: nowrap; }
/* Tax: the same link stays in one piece instead of breaking after "See". */
.page-tax .closing-line .tx-src { white-space: nowrap; }

/* PM, STR, Med Spa, Dental: stacked glance labels use the full card width on phones. */
@media (max-width: 640px) { .page-pm .pm-glance .glance-table th { width: 100%; } }

/* STR: a flat context on the tilted card so a mouse click reaches the Rosa message (the tilt stays). */
.page-str .str-turn-in { transform-style: flat; }

/* Mobile menu open (class set by spni-m1105a-js): the page behind it does not scroll (UX-1013 overlay rule), the panel scrolls
   on its own without handing the swipe to the page, and the scrollbar gutter stays so nothing shifts sideways.
   Only html, like the page's own locks (html.spk-lock, html:has(>body.ui-locked)): hiding body too made body a scroll
   container, and the sticky sidebars (CFO software panel, MSP .vfs-side) dropped their stuck offset under the panel. */
html.spni-menu-lock { overflow: hidden !important; overscroll-behavior: none !important; scrollbar-gutter: stable; }
.rh-wrap .rh-nav { overscroll-behavior: contain; }

/* Eyebrows that wrap on a phone (class set by spni-m1105a-js): no trailing rule; if still two lines, the leading rule sits on the first line. */
.section-eyebrow.eb-noline .eline, .hero-eyebrow.eb-noline .eline { display: none !important; }
.section-eyebrow.eb-wrap2 .eyebrow-rule, .hero-eyebrow.eb-wrap2 .eyebrow-rule { align-self: flex-start; margin-top: 0.6em; }