/* D-085 Rohit's Loom follow-ups, customers area (docs/feedback/rohit-loom-2026-10-29.md). Loaded last on every route except /book-call. */

/* /customers (10:32): the featured story holds its place while the right-hand column of stories scrolls past it.
   Desktop only; the photo gives up height on short windows so the title and button stay on screen. */
@media (min-width: 992px) {
  html body:not(#zl) .z-customers-grid { align-items: start; }
  html body:not(#zl) .z-customers-grid > .z-cards-component:first-child { position: sticky; top: 96px; align-self: start; }
  html body:not(#zl) .z-customers-grid > .z-cards-component:first-child .z-customer-image-wrapper { max-height: calc(100vh - 260px); }
  html body:not(#zl) .z-customers-grid > .z-cards-component:first-child .z-customers-featured-image { object-fit: cover; }
}

/* Story pages (10:42): the hero joins the warm field of the other heroes (D-037 article/split, D-052 v4 grounds):
   black heading, ink breadcrumbs, the customer's own colour logo, and a Zamp product card beside the copy (10:58). */
html body:not(#zl) .z-hb.zl-story { background-color: var(--z3-warm, #f6f5f3) !important; color: var(--ds-ink, #000); border-bottom: 1px solid var(--z3-rule, #e6e1da); background-image: none !important; }
html body:not(#zl) .zl-story :is(h1, .z-crumbs a) { color: var(--ds-ink, #000) !important; }
html body:not(#zl) .zl-story .z-crumbs, html body:not(#zl) .zl-story .z-crumbs [aria-current="page"] { color: var(--ds-ink-secondary, #323232) !important; }
html body:not(#zl) .zl-story .z-crumbs li + li::before { color: var(--z3-rule-2, #c8bfb1) !important; }
html body:not(#zl) .zl-story .z-crumbs a:focus-visible { outline-color: var(--ds-ink, #000); }
html body:not(#zl) .zl-story::before, html body:not(#zl) .zl-story::after { display: none !important; }
html body:not(#zl) .zl-story .zl-story__logo { max-height: 40px; width: auto; max-width: 220px; object-fit: contain; }
html body:not(#zl) .zl-story .zl-story__logo--ink { filter: brightness(0); }
html body:not(#zl) .zl-story__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
html body:not(#zl) .zl-story__grid > .text-component { max-width: 36rem !important; }
html body:not(#zl) .zl-story__media { width: 100%; max-width: 560px; }
@media (min-width: 992px) {
  html body:not(#zl) .zl-story__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; }
  html body:not(#zl) .zl-story__media { justify-self: end; }
}

/* Story pages (11:09): the published results (headline stats) in a beige-grey side panel beside the article; the
   customer quote above takes the full width. Below 1280px the panel stays in flow, before the article. */
html body:not(#zl) .c_post_tes_grid.zl-quote-only { display: block !important; }
html body:not(#zl) .c_post_tes_grid.zl-quote-only .c_post_tes_right { max-width: 52rem; min-height: 0 !important; justify-content: flex-start !important; gap: 32px !important; padding-left: 0 !important; }
html body:not(#zl) .zl-results { margin: 0 0 40px; background: var(--ds-ground-beige, #f6f5f3); border: 1px solid var(--ds-border, #e6e1da); padding: 28px; }
html body:not(#zl) .zl-results__h { margin: 0 0 4px; font: 500 12px/1.4 var(--z-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ds-ink-secondary, #323232); }
html body:not(#zl) .zl-results .c_post_tes_stats_wrap { display: block !important; height: auto !important; padding: 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; }
html body:not(#zl) .zl-results .c_post_stat_item { padding: 20px 0 !important; margin: 0 !important; }
html body:not(#zl) .zl-results .c_post_stat_item:last-child { padding-bottom: 0 !important; }
html body:not(#zl) .zl-results .c_post_stat_divider { margin: 0 !important; width: 100% !important; height: 1px; background: var(--ds-border, #e6e1da) !important; }
html body:not(#zl) .zl-results .c_post_stat_title { font: 400 var(--t-subsection, 2rem)/1.15 var(--z-font-heading) !important; letter-spacing: -.01em; color: var(--ds-ink, #000) !important; }
html body:not(#zl) .zl-results .c_post_stat_desc { margin-top: 6px; font: 400 14px/1.45 var(--z-font-body) !important; color: var(--ds-ink-secondary, #323232) !important; }
@media (min-width: 1280px) { /* below this the article column would drop under ~500px, so the panel stays in flow */
  html body:not(#zl) .zl-story-body { display: grid !important; grid-template-columns: minmax(0, 1fr) 256px; column-gap: 48px; align-items: start; }
  html body:not(#zl) .zl-story-body__main { grid-column: 1; grid-row: 1; min-width: 0; }
  html body:not(#zl) .zl-results { grid-column: 2; grid-row: 1; margin: 0; position: sticky; top: 96px; }
}

/* /events (12:50): "where we'll be", upcoming events above the recordings. Rendered only when one is upcoming. */
html body:not(#zl) .zl-ev { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--ds-border, #e6e1da); }
html body:not(#zl) .zl-ev__item { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 24px; align-items: center; margin: 0; padding: 24px 0; border-bottom: 1px solid var(--ds-border, #e6e1da); font-size: inherit; }
html body:not(#zl) .zl-ev__item::before { content: none; }
html body:not(#zl) .zl-ev__date { display: grid; place-items: center; width: 72px; height: 72px; background: var(--ds-ground-beige, #f6f5f3); border: 1px solid var(--ds-border, #e6e1da); text-align: center; }
html body:not(#zl) .zl-ev__date span { font: 500 12px/1 var(--z-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ds-ink-secondary, #323232); align-self: end; }
html body:not(#zl) .zl-ev__date b { font: 400 32px/1 var(--z-font-heading); font-weight: 400; color: var(--ds-ink, #000); align-self: start; padding-top: 4px; }
html body:not(#zl) .zl-ev__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 6px; font: 400 14px/1.45 var(--z-font-body); color: var(--ds-ink-secondary, #323232); }
html body:not(#zl) .zl-ev__type { display: inline-block; padding: 2px 8px; background: var(--ds-mint, #afecdb); color: var(--ds-forest, #183e3d); font: 500 12px/1.4 var(--z-font-body); }
html body:not(#zl) .zl-ev__name { margin: 0; font: 400 var(--t-card, 1.5rem)/1.2 var(--z-font-heading); letter-spacing: -.01em; color: var(--ds-ink, #000); }
html body:not(#zl) .zl-ev__name a { color: inherit; text-decoration: none; }
html body:not(#zl) .zl-ev__name a::after { content: ""; position: absolute; inset: 0; }
html body:not(#zl) .zl-ev__name a:focus-visible { outline: none; }
html body:not(#zl) .zl-ev__item:has(a:focus-visible) { outline: 2px solid var(--ds-ink, #000); outline-offset: 4px; }
html body:not(#zl) .zl-ev__sub { margin: 8px 0 0; max-width: 46rem; font: 400 16px/1.55 var(--z-font-body); color: var(--ds-ink-secondary, #323232); }
html body:not(#zl) .zl-ev__go { font: 500 16px/1 var(--z-font-body); color: var(--ds-ink, #000); white-space: nowrap; }
html body:not(#zl) .zl-ev__item:hover .zl-ev__name a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  html body:not(#zl) .zl-ev__item { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
  html body:not(#zl) .zl-ev__date { width: 56px; height: 56px; }
  html body:not(#zl) .zl-ev__date b { font-size: 24px; }
  html body:not(#zl) .zl-ev__name { font-size: 20px; }
  html body:not(#zl) .zl-ev__go { display: none; }
}

/* /compare/zamp-vs-avalara "Who you talk to" (12:29): Amy's published portrait; on wide-short phone frames the crop
   rises so the message bubble sits below her face, not across it. */
html body:not(#zl) .zv-mini--talk img { object-position: 50% 45%; }
