/* ==========================================================================
   assets/shared/story-viewer/viewer.css — the Success Stories viewer (viewer.js)     2026-10-13

   The panel = [fixed top: "Success Stories." over the client strip and its ☰ menu]
               [ONE feed of closed white sheets, the ☰ menu sliding in over it]
               [fixed foot: the two-line Live Proof CTA]
   Desktop (≥1024px): from the right, clamp(420px, 32vw, 620px) wide; phones and tablets: a sheet to 88 % of the
   screen. Slow and calm, transform only; the big round × outside the panel.
   Colours by rule: tints of #0760C6 — #E6EFF9 room, #D8E4F6 pressed / hover, #C8DCF2 edges; deep #004594;
   ink #0B0D12 / #0E1E35, slate #5A606A, label #4C525C; boxes #F1F3F7 / #E8EAEE; the page frame #E1E8F1.
   Light only; chosen = pressed in or joined, never grows; no counts.
   Everything is scoped to .sv-shell / .sv-panel; the resets keep page-wide element rules out of the panel.
   ========================================================================== */

/* ------------------------------------------------------------ the shell */
html.sv-lock, html.sv-lock body { overflow: hidden !important; }
.sv-shell { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; --sv-w: clamp(420px, 32vw, 620px); }
.sv-shell[hidden] { display: none; }
.sv-scrim {
  position: absolute; inset: 0; background: rgba(11, 13, 18, .36); opacity: 0; pointer-events: auto;
  transition: opacity 760ms cubic-bezier(.33, .08, .2, 1);
}
.sv-shell.is-open .sv-scrim { opacity: 1; }
.sv-shell.is-closing .sv-scrim { opacity: 0; transition-duration: 560ms; }
.sv-panel {
  position: absolute; overflow: hidden; pointer-events: auto; will-change: transform; contain: layout paint;
  box-shadow: 0 0 0 1px rgba(11, 13, 18, .06), 0 18px 60px rgba(11, 13, 18, .22);
  transition: transform 760ms cubic-bezier(.33, .08, .2, 1);
}
.sv-shell.is-closing .sv-panel { transition-duration: 560ms; transition-timing-function: cubic-bezier(.55, .06, .68, .19); }
.sv-shell.is-drawer .sv-panel {
  top: 0; right: 0; bottom: 0; width: var(--sv-w); max-width: 100vw; transform: translate3d(100%, 0, 0); border-radius: 18px 0 0 18px;
}
.sv-shell.is-sheet .sv-panel {
  left: 0; right: 0; bottom: 0; height: 88vh; height: 88dvh; transform: translate3d(0, 100%, 0); border-radius: 20px 20px 0 0;
}
.sv-shell.is-open:not(.is-closing) .sv-panel { transform: translate3d(0, 0, 0); }
/* the round × outside the panel: halfway down its left edge on desktops, centred above the sheet on phones; it slides with the panel */
.sv-x {
  position: absolute; z-index: 3; box-sizing: border-box; width: 56px; height: 56px; margin: 0; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: #0B0D12; cursor: pointer; pointer-events: auto; display: grid; place-items: center;
  box-shadow: 0 6px 22px rgba(11, 13, 18, .28), 0 0 0 1px rgba(11, 13, 18, .06);
  transition: transform 760ms cubic-bezier(.33, .08, .2, 1), background .15s; -webkit-tap-highlight-color: transparent;
}
.sv-x:hover { background: #F4F7FC; }
.sv-x:focus { outline: none; }
.sv-x:focus-visible { outline: 3px solid #0760C6; outline-offset: 3px; }
.sv-x svg { display: block; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.sv-shell.is-closing .sv-x { transition-duration: 560ms; transition-timing-function: cubic-bezier(.55, .06, .68, .19); }
.sv-shell.is-drawer .sv-x {
  top: 50%; right: calc(min(var(--sv-w), 100vw) + 18px); transform: translate3d(calc(min(var(--sv-w), 100vw) + 96px), -50%, 0);
}
.sv-shell.is-drawer.is-open:not(.is-closing) .sv-x { transform: translate3d(0, -50%, 0); }
.sv-shell.is-sheet .sv-x {
  left: 50%; bottom: calc(88vh + 14px); bottom: calc(88dvh + 14px); transform: translate3d(-50%, calc(88vh + 90px), 0);
}
.sv-shell.is-sheet.is-open:not(.is-closing) .sv-x { transform: translate3d(-50%, 0, 0); }
@media (max-height: 600px) { .sv-shell.is-sheet .sv-x { width: 48px; height: 48px; bottom: calc(88vh + 8px); bottom: calc(88dvh + 8px); } }
@media (prefers-reduced-motion: reduce) { .sv-scrim, .sv-panel, .sv-x { transition: none !important; } }

/* ------------------------------------------------------------ the panel, and the resets inside it */
.sv-panel {
  --room: #E6EFF9; --t16: #D8E4F6; --t22: #C8DCF2; --deep: #004594; --cta: #0760C6;
  --ink: #0B0D12; --ink2: #3A414C; --ink3: #5B6472; --edge: #DCE3EC; --line: #E5EAF1; --frame: #E1E8F1;
  --c-ink: #0E1E35; --c-slate: #5A606A; --c-label: #4C525C; --c-box: #F1F3F7; --c-now: #E8EAEE;
  --c-btn: linear-gradient(180deg, #FFFFFF 0, #F5F7FB 100%);
  --c-btnh: linear-gradient(180deg, #F5F7FB 0, #EDF0F4 100%);
  --c-btnsh: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(0, 40, 86, .11), 0 1px 2px rgba(0, 40, 86, .08), 0 6px 12px -9px rgba(0, 40, 86, .24);
  --ease: cubic-bezier(.33, .08, .2, 1);
  --gap: 28px;              /* the room between two stories */
  --fl: 28px; --fr: 84px;   /* the strip's soft fades (viewer.js keeps the chosen tab clear of them) */
  display: flex; flex-direction: column; background: var(--room); color: var(--ink);
  font: 400 16px/1.45 -apple-system, "system-ui", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-align: left; letter-spacing: normal; text-transform: none;
}
.sv-panel *, .sv-panel *::before, .sv-panel *::after { box-sizing: border-box; }
.sv-panel :where(h2, h3, p, ul, ol, li, section, article, aside, em, b, i) {
  margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-transform: none;
}
.sv-panel :where(button) {
  font: inherit; color: inherit; background: none; border: 0; border-radius: 0; margin: 0; padding: 0; min-width: 0; min-height: 0;
  box-shadow: none; cursor: pointer; text-align: inherit; letter-spacing: normal; text-transform: none; -webkit-tap-highlight-color: transparent;
}
.sv-panel :where(a) { text-decoration: none; }
.sv-panel :where(img) { max-width: none; }
.sv-panel :where(svg) {
  display: block; flex: 0 0 auto; width: 18px; height: 18px; max-width: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.sv-panel :where(:focus) { outline: none; }
.sv-panel.sv-panel :focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
.sv-panel.sv-panel .sv-name:focus, .sv-panel.sv-panel .sv-name:focus-visible { outline: none; }
.sv-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* a label that keeps its width when it turns heavier (pressed in, never grows) */
.sv-st { display: inline-grid; }
.sv-st > span { grid-area: 1 / 1; }
.sv-st > span + span { visibility: hidden; font-weight: 800; }

/* ------------------------------------------------------------ the fixed top: the title over the client strip */
.sv-top { position: relative; z-index: 7; order: 1; flex: 0 0 auto; padding: 14px 0 0; background: var(--room); }
/* under the strip the story fades out (white → clear) while content passes, so the chosen tab stays joined to it */
.sv-top::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; pointer-events: none;
  background: linear-gradient(#fff 0, #fff 2px, rgba(255, 255, 255, 0)); opacity: 0; transition: opacity .3s ease;
}
.sv-top.sv-under::after { opacity: 1; }
.sv-eye {
  display: none; margin: 0 0 3px; padding-left: .2em; text-align: center;
  font: 500 11.5px/14px ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .2em; text-transform: uppercase; color: #3A414C;
}
.sv-h {
  margin: 0 16px 12px; text-align: center; text-wrap: balance;
  font-size: 26px; line-height: 30px; font-weight: 800; letter-spacing: -.034em; color: #0B0D12;
}
.sv-h i { font-style: normal; color: #0760C6; }

/* the client strip: every item, its own surface; the tab of the item in view is white and open into the story below
   (two inverse flares, no edge between them). It scrolls / swipes sideways with soft fades where more tabs lie. */
.sv-strip {
  position: relative; display: flex; align-items: center; background: #F1F3F7; border-radius: 16px 16px 0 0;
  box-shadow: 0 0 0 1px rgba(0, 40, 86, .07), 0 -1px 2px rgba(0, 40, 86, .05);
  clip-path: inset(-6px 0 0 0);                 /* the ring on the top and the sides only: no edge between the strip and the story */
}
.sv-tabs {
  position: relative; flex: 1 1 auto; min-width: 0; align-self: stretch; display: flex;
  padding: 5px 62px 0 10px; scroll-padding: 0 62px 0 10px;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.sv-tabs::-webkit-scrollbar { display: none; }
/* the open surface under the chosen tab: white, a rounded top, two inverse flares into the story */
.sv-open {
  position: absolute; z-index: 0; left: 0; top: 5px; bottom: 0; width: 0; background: #fff; border-radius: 12px 12px 0 0;
  pointer-events: none; will-change: transform;
  filter: drop-shadow(0 0 .5px rgba(0, 40, 86, .16)) drop-shadow(0 -1px 3px rgba(0, 40, 86, .07));
  clip-path: inset(-8px -24px 0 -24px);
}
.sv-open::before, .sv-open::after { content: ""; position: absolute; bottom: 0; width: 10px; height: 10px; }
.sv-open::before { right: 100%; background: radial-gradient(circle at 0 0, transparent 9.5px, #fff 10px); }
.sv-open::after { left: 100%; background: radial-gradient(circle at 100% 0, transparent 9.5px, #fff 10px); }
/* a tab: transparent on the strip, content width, the mark over the name (two lines at most) */
.sv-tab {
  position: relative; z-index: 1; flex: 0 0 auto; min-width: 92px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 6px 10px 7px; border-radius: 12px 12px 0 0; text-align: center; color: #3A414C;
}
.sv-tab::before {   /* hover on another tab: the box tint, inside the tab */
  content: ""; position: absolute; z-index: -1; inset: 2px 2px 4px; border-radius: 10px; background: #E8EAEE; opacity: 0;
  transition: opacity .2s ease;
}
@media (hover: hover) { .sv-tab:not([aria-current="true"]):hover::before { opacity: 1; } }
.sv-tm {
  position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 54px; height: 28px; border-radius: 7px; overflow: hidden;
  color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .02em;
}
.sv-tm.sv-plate { display: block; padding: 3px 5px; background: var(--lb, #fff); box-shadow: inset 0 0 0 1px rgba(0, 40, 86, .1); }
.sv-tn {
  display: flex; flex-direction: column; justify-content: center; min-height: 28px;
  font-size: 12.5px; line-height: 14px; font-weight: 650; letter-spacing: -.01em; color: #3A414C;
}
.sv-tl { display: block; white-space: nowrap; }
.sv-tab[aria-current="true"] .sv-tn { color: #0E1E35; }
.sv-tab[aria-current="true"] .sv-tl .sv-st > span:first-child { font-weight: 800; }
.sv-panel.sv-panel .sv-tab:focus-visible { outline: 2px solid #0E1E35; outline-offset: -3px; }
.sv-strip.sv-fr .sv-tabs {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--fr)), rgba(0, 0, 0, .12) calc(100% - 10px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - var(--fr)), rgba(0, 0, 0, .12) calc(100% - 10px), transparent);
}
.sv-strip.sv-fl .sv-tabs {
  -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .12) 8px, #000 var(--fl));
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .12) 8px, #000 var(--fl));
}
.sv-strip.sv-fl.sv-fr .sv-tabs {
  -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .12) 8px, #000 var(--fl), #000 calc(100% - var(--fr)), rgba(0, 0, 0, .12) calc(100% - 10px), transparent);
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .12) 8px, #000 var(--fl), #000 calc(100% - var(--fr)), rgba(0, 0, 0, .12) calc(100% - 10px), transparent);
}
/* the ☰ menu: a round white disc pinned at the strip's right end, pressed in while the menu is open */
.sv-menu {
  position: absolute; z-index: 3; right: 10px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: #0E1E35; display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 40, 86, .1), 0 1px 2px rgba(0, 40, 86, .08), 0 4px 10px -5px rgba(0, 40, 86, .25);
}
@media (hover: hover) { .sv-menu:hover { background: #F6F8FA; } }
.sv-menu[aria-expanded="true"] { background: #E8EAEE; box-shadow: inset 0 2px 5px -1px rgba(0, 40, 86, .2), inset 0 0 0 1px rgba(0, 40, 86, .1); }
.sv-bars { position: relative; z-index: 2; display: block; width: 18px; height: 14px; }
.sv-bars i {
  position: absolute; left: 1px; width: 16px; height: 2px; border-radius: 2px; background: #0E1E35;
  transition: transform .42s cubic-bezier(.33, .08, .2, 1);
}
.sv-bars i:nth-child(1) { top: 1px; } .sv-bars i:nth-child(2) { top: 6px; } .sv-bars i:nth-child(3) { top: 11px; }
.sv-menu[aria-expanded="true"] .sv-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.sv-menu[aria-expanded="true"] .sv-bars i:nth-child(2) { transform: scaleX(0); }
.sv-menu[aria-expanded="true"] .sv-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.sv-panel.sv-panel .sv-menu:focus-visible { outline: 2px solid #0E1E35; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .sv-bars i { transition: none; } }

/* ------------------------------------------------------------ the stage: the feed, and the menu over it */
.sv-stage { position: relative; order: 2; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.sv-feed {
  position: relative; flex: 1 1 auto; min-height: 0; display: block; padding: 0; background: var(--room);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; overflow-anchor: none; scrollbar-width: none;
}
.sv-feed::-webkit-scrollbar { display: none; }
/* one story = one closed white sheet: a square top (it meets the strip flush), a rounded closed end, a room-colour gap */
.sv-ch {
  position: relative; background: #fff; padding: 20px 24px 24px; color: var(--c-ink); border-radius: 0 0 16px 16px;
  box-shadow: 0 0 0 1px rgba(0, 40, 86, .05), 0 1px 2px rgba(0, 40, 86, .05);
}
/* off-screen outlines are skipped by the browser's layout and paint (their height is explicit, so offsets stay exact) */
.sv-feed > .sv-ch { content-visibility: auto; contain-intrinsic-size: auto none; }
.sv-gap { height: var(--gap); }
/* the story body is its own block (its height adds to the identity part exactly) */
.sv-body { display: flow-root; }
.sv-ph { background: #fff; }
.sv-measure { position: absolute; left: 0; top: 0; z-index: -1; visibility: hidden; pointer-events: none; }
/* the end of the feed: the way back into the menu */
.sv-end { display: flex; align-items: center; justify-content: center; height: 80px; padding: 0 16px; }
.sv-endb {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px;
  background: var(--c-btn); box-shadow: var(--c-btnsh); font-size: 15px; line-height: 20px; font-weight: 700; color: #0E1E35;
  transition: background .2s ease;
}
.sv-endb:hover { background: var(--c-btnh); }
.sv-endb svg { width: 18px; height: 18px; }
.sv-endb circle { fill: currentColor; stroke: none; }

/* ---- the identity row: the mark, the business line and the website (the name is in the strip above) */
.sv-who { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.sv-tt { display: flex; flex-direction: column; min-width: 0; }
.sv-name { font-size: 22px; line-height: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--c-ink); }
.sv-trade { font-size: 15px; line-height: 20px; font-weight: 600; color: #3A414C; }
.sv-site { margin-top: 1px; font-size: 14px; line-height: 18.9px; font-weight: 600; color: var(--c-slate); }
.sv-wl {
  position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 56px; height: 42px; border-radius: 10px; overflow: hidden;
  color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .02em;
}
.sv-wl.sv-plate, .sv-rl.sv-plate { padding: 3px 4px; background: var(--lb, #fff); box-shadow: inset 0 0 0 1px rgba(0, 40, 86, .1); }
.sv-wl.sv-plate { padding: 4px 5px; }
.sv-plate img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sv-plate.sv-pic { padding: 0; background: #E1E8F1; }
.sv-plate.sv-pic img { object-fit: cover; }
/* a video: its full title, heavy, over "Google Ads audit video" */
.sv-who-vid .sv-vname { font-size: 17px; line-height: 22px; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }

/* ---- the boxes: Google Ads Focus (a heavy heading over the lighter items), Before / After, and a page's facts */
.sv-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sv-s {
  display: flex; flex-direction: column; padding: 14px 16px 15px; border-radius: 12px; background: var(--c-box);
  box-shadow: inset 0 1px 3px -1px rgba(0, 40, 86, .12), inset 0 0 0 1px rgba(0, 40, 86, .04);
  font-size: 16px; line-height: 19.2px; letter-spacing: -.01em; color: var(--c-label);
}
.sv-s-txt { grid-column: 1 / -1; }
.sv-s-now {
  background: var(--c-now);
  box-shadow: inset 0 2px 5px -1px rgba(0, 40, 86, .2), inset 0 1px 1px rgba(0, 40, 86, .09), inset 0 0 0 1px rgba(0, 40, 86, .07);
}
.sv-s em { font-style: normal; font-size: 13px; line-height: 16px; font-weight: 700; color: var(--c-label); }
.sv-s b { margin-top: 4px; font-size: 30px; line-height: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.sv-s i { margin-top: 5px; font-style: normal; font-size: 13px; line-height: 15.6px; font-weight: 500; color: var(--c-label); }
.sv-s-txt em { font-size: 17px; line-height: 22px; font-weight: 800; letter-spacing: -.015em; color: var(--c-ink); }
.sv-s-txt b { margin-top: 6px; font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0; color: var(--c-label); }
.sv-part + .sv-facts { margin-top: 16px; }

/* ---- a part of the story: the landing page / website / creative / video, after a hairline */
.sv-part { display: flex; flex-direction: column; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.sv-body > .sv-part:first-child { margin-top: 8px; }
.sv-parthead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; margin-bottom: 12px; }
.sv-parth { flex: 1 1 220px; min-width: 0; font-size: 19.5px; line-height: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--c-ink); text-wrap: balance; }
/* 📱 Mobile / 💻 Desktop: a compact segmented switch on the room tint; the chosen segment is white, deep blue, pressed */
.sv-views { flex: 0 0 auto; display: inline-flex; gap: 2px; padding: 2px; border-radius: 10px; background: var(--room); }
.sv-view {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink3); white-space: nowrap;
}
.sv-view:hover { color: var(--ink2); }
.sv-view[aria-pressed="true"] { background: #fff; color: var(--deep); box-shadow: 0 0 0 1px var(--t22), inset 0 1px 2px rgba(0, 69, 148, .12); }
.sv-view .sv-st > span + span { font-weight: 700; }
.sv-view[aria-pressed="true"] .sv-st > span:first-child { font-weight: 700; }
.sv-emo { font-size: 15px; line-height: 1; }
/* the framed window: the page scrolls inside it, the section's own 6 px track beside it */
.sv-bed { flex: 0 0 auto; display: flex; justify-content: center; margin: 0 10px; padding: 8px; background: var(--frame); border-radius: 12px; }
.sv-screen { position: relative; height: 100%; width: 100%; padding-right: 16px; }
.sv-win {
  width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 6px; scrollbar-width: none;
}
.sv-win::-webkit-scrollbar { display: none; }
.sv-win img { display: block; width: 100%; height: auto; max-width: none; }
.sv-panel.sv-panel .sv-win:focus-visible { outline-offset: -2px; }
.sv-is-m .sv-screen { width: min(100%, 356px); }
.sv-is-m .sv-win { border-radius: 18px; border: 5px solid #fff; box-shadow: 0 0 0 1px var(--edge); }
.sv-track { position: absolute; z-index: 2; right: 2px; top: 4px; bottom: 4px; width: 6px; border-radius: 6px; background: #CAD3DF; cursor: pointer; touch-action: none; }
.sv-track i { position: absolute; left: 0; right: 0; top: 0; border-radius: 6px; background: #6F819B; cursor: grab; touch-action: none; }
.sv-track:hover i, .sv-track i:active { background: #004594; }
.sv-track i:active { cursor: grabbing; }
.sv-track[hidden] { display: none; }
/* Explore full page: a quiet row in the card's button style, aligned with the window */
.sv-explore {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin: 12px 10px 0; padding: 12px 16px; border-radius: 12px;
  background: var(--c-btn); box-shadow: var(--c-btnsh); color: var(--c-ink); font-size: 15px; line-height: 22px; font-weight: 700;
  transition: background .2s ease;
}
.sv-explore:hover { background: var(--c-btnh); }
.sv-explore svg { width: 16px; height: 16px; }
/* a creative or a video: the same frame, the work at its own shape */
.sv-bed.sv-media { align-items: flex-start; }
.sv-creative { position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #fff; }
.sv-creative img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.sv-play { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #fff; }
.sv-play iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.sv-playb { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.sv-playb img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.sv-pl {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: #0760C6;
  box-shadow: 0 0 0 1px rgba(0, 40, 86, .1), 0 6px 18px rgba(11, 13, 18, .28); transition: background .2s ease;
}
.sv-pl svg { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; stroke: none; }
.sv-playb:hover .sv-pl { background: #F4F7FC; }
.sv-dur {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: #fff; color: #0E1E35;
  font-size: 12.5px; line-height: 18px; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: 0 1px 3px rgba(11, 13, 18, .2);
}
.sv-panel.sv-panel .sv-playb:focus-visible { outline: 3px solid #0760C6; outline-offset: -3px; }
.sv-vinfo { margin: 10px 10px 0; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--c-slate); }

/* ------------------------------------------------------------ the ☰ menu: slides in from the left over the feed */
.sv-ix {
  position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; background: #fff;
  transform: translate3d(-100%, 0, 0); transition: transform .6s var(--ease); will-change: transform;
  box-shadow: 16px 0 32px -22px rgba(0, 40, 86, .5);
}
.sv-ix[hidden] { display: none; }
.sv-ix.is-in { transform: translate3d(0, 0, 0); }
.sv-ix.is-out { transition-duration: .52s; transition-timing-function: cubic-bezier(.55, .06, .68, .19); }
@media (prefers-reduced-motion: reduce) { .sv-ix { transition: none; } }
.sv-ixlist { position: relative; flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 24px; }
/* an industry: its heading (sticky while its rows pass) opens the rows under it */
.sv-sec + .sv-sec { border-top: 1px solid #fff; }
.sv-sh {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px;
  padding: 0 16px 0 14px; background: var(--room); color: #0E1E35; text-align: left; transition: background .2s ease;
}
@media (hover: hover) { .sv-sh:hover { background: var(--t16); } }
.sv-sh > svg { width: 18px; height: 18px; stroke-width: 2.4; color: #3A414C; transition: transform .42s var(--ease); }
.sv-sec.is-open .sv-sh > svg { transform: rotate(90deg); }
.sv-shn { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 19px; font-weight: 800; letter-spacing: -.01em; }
.sv-sp { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .42s var(--ease), visibility 0s linear .42s; }
.sv-sec.is-open .sv-sp { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .42s var(--ease), visibility 0s; }
.sv-spi { min-height: 0; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sv-sp, .sv-sec.is-open .sv-sp, .sv-sh > svg { transition: none; } }
.sv-panel.sv-panel .sv-sh:focus-visible { outline: 2px solid #0E1E35; outline-offset: -3px; }
/* a row: the mark, the whole name over the business line */
.sv-row {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 8px 12px 8px 14px;
  background: #fff; text-align: left; color: #0E1E35; transition: background .2s ease;
}
.sv-row + .sv-row { box-shadow: inset 0 1px 0 #EDF0F4; }
@media (hover: hover) { .sv-row:not([aria-current="true"]):hover { background: #F4F7FC; } }
.sv-row[aria-current="true"] + .sv-row { box-shadow: none; }
.sv-row[aria-current="true"] {
  background: var(--t16); cursor: default;
  box-shadow: inset 0 2px 5px -1px rgba(0, 40, 86, .2), inset 0 1px 1px rgba(0, 40, 86, .09), inset 0 0 0 1px rgba(0, 40, 86, .07);
}
.sv-rl {
  position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 30px; border-radius: 7px; overflow: hidden;
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em;
}
.sv-rl.sv-pic { width: 53px; }
.sv-rt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sv-rnm { font-size: 15px; line-height: 19px; font-weight: 700; letter-spacing: -.01em; color: #0E1E35; }
.sv-rtr { font-size: 13px; line-height: 17px; color: #5A606A; }
.sv-ra { flex: 0 0 auto; color: #7D8796; }
.sv-ra svg { width: 16px; height: 16px; stroke-width: 2.2; }
.sv-row[aria-current="true"] .sv-ra { visibility: hidden; }
.sv-panel.sv-panel .sv-row:focus-visible { outline: 2px solid #0E1E35; outline-offset: -3px; }

/* ------------------------------------------------------------ the fixed foot: one full-width link, the two lines together */
.sv-foot { position: relative; z-index: 7; order: 3; flex: 0 0 auto; background: var(--room); transition: box-shadow .2s ease; }
.sv-foot.sv-more { box-shadow: 0 -10px 22px -16px rgba(0, 40, 86, .34), 0 -3px 8px -6px rgba(0, 40, 86, .12); }
.sv-go {
  display: flex; align-items: center; gap: 12px; min-height: 72px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)) 24px;
  color: #0E1E35 !important; text-decoration: none; cursor: pointer; transition: background .2s ease; -webkit-tap-highlight-color: transparent;
}
.sv-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sv-sup { font-size: 13px; line-height: 17px; font-weight: 500; color: #4C525C; }
.sv-main { font-size: 16.5px; line-height: 21px; font-weight: 700; letter-spacing: -.012em; color: #0E1E35; }
/* the arrow disc: light (the 16 % tint), the arrow in the primary blue */
.sv-disc {
  flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #D8E4F6; color: #0760C6; box-shadow: inset 0 0 0 1px rgba(0, 69, 148, .12);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.sv-disc svg { width: 19px; height: 19px; stroke-width: 2.2; }
.sv-go:hover { background: var(--t16); }
.sv-go:hover .sv-disc { background: #C8DCF2; color: #064F9F; }
.sv-go:active { background: var(--t16); box-shadow: inset 0 2px 5px -1px rgba(0, 40, 86, .16); }
.sv-go:active .sv-disc {
  background: #C8DCF2; color: #064F9F;
  box-shadow: inset 0 2px 5px -1px rgba(0, 40, 86, .2), inset 0 1px 1px rgba(0, 40, 86, .09), inset 0 0 0 1px rgba(0, 69, 148, .14);
}
.sv-panel.sv-panel .sv-go:focus-visible { outline: 2px solid #0E1E35; outline-offset: -4px; }

/* ------------------------------------------------------------ desktops */
@media (min-width: 1024px) and (min-height: 860px) { .sv-eye { display: block; } .sv-top { padding-top: 16px; } }
@media (min-width: 1024px) and (max-height: 759.98px) {
  .sv-top { padding-top: 12px; }
  .sv-h { margin-bottom: 9px; font-size: 24px; line-height: 28px; }
  .sv-go { min-height: 64px; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .sv-tab { padding: 5px 9px 6px; gap: 3px; }
  .sv-tm { width: 50px; height: 26px; }
  .sv-tn { min-height: 27px; font-size: 12px; line-height: 13.5px; }
}
/* ------------------------------------------------------------ touch layouts (< 1024): 40 px switch segments */
@media (max-width: 1023.98px) { .sv-views { padding: 0; } .sv-view { height: 40px; } }
/* ------------------------------------------------------------ tablets: the sheet's 20 px side space */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .sv-ch { padding: 18px 20px 22px; }
  .sv-go { padding-left: 20px; }
}
/* ------------------------------------------------------------ phones: 16 px inner space, a slimmer foot (50 px) */
@media (max-width: 767.98px) {
  .sv-panel { --gap: 24px; --fl: 22px; --fr: 66px; }
  .sv-top { padding-top: 8px; }
  .sv-h { margin-bottom: 6px; font-size: 21px; line-height: 24px; }
  .sv-strip { border-radius: 14px 14px 0 0; }
  .sv-tabs { padding: 3px 54px 0 8px; scroll-padding: 0 54px 0 8px; }
  .sv-open { top: 3px; border-radius: 10px 10px 0 0; }
  .sv-open::before, .sv-open::after { width: 8px; height: 8px; }
  .sv-open::before { background: radial-gradient(circle at 0 0, transparent 7.5px, #fff 8px); }
  .sv-open::after { background: radial-gradient(circle at 100% 0, transparent 7.5px, #fff 8px); }
  .sv-tab { min-width: 78px; gap: 2px; padding: 3px 7px 3px; border-radius: 10px 10px 0 0; }
  .sv-tab::before { inset: 2px 2px 3px; border-radius: 9px; }
  .sv-tm { width: 50px; height: 22px; border-radius: 6px; font-size: 11.5px; }
  .sv-tm.sv-plate { padding: 2px 4px; }
  .sv-tm.sv-pic { padding: 0; }
  .sv-tn { min-height: 25px; font-size: 11.5px; line-height: 12.5px; letter-spacing: -.012em; }
  .sv-menu { width: 40px; height: 40px; right: 8px; }
  .sv-ch { padding: 14px 16px 18px; border-radius: 0 0 14px 14px; }
  .sv-who { margin-bottom: 14px; }
  .sv-name { font-size: 19px; line-height: 24px; }
  .sv-trade { font-size: 14.5px; line-height: 19px; }
  .sv-wl { width: 50px; height: 38px; border-radius: 9px; font-size: 15px; }
  .sv-who-vid .sv-vname { font-size: 16px; line-height: 21px; }
  .sv-facts { gap: 8px; }
  .sv-s b { font-size: 26px; line-height: 30px; }
  .sv-s-txt em { font-size: 16px; line-height: 21px; }
  .sv-s-txt b { font-size: 13.5px; line-height: 19px; }
  .sv-part { margin-top: 20px; padding-top: 18px; }
  .sv-body > .sv-part:first-child { margin-top: 6px; }
  .sv-part + .sv-facts { margin-top: 14px; }
  .sv-parth { font-size: 18px; line-height: 23px; }
  .sv-is-m .sv-screen { width: 100%; }
  .sv-end { height: 76px; }
  .sv-sh { padding: 0 12px 0 10px; }
  .sv-row { gap: 10px; padding: 8px 10px; }
  .sv-go { min-height: 50px; gap: 10px; padding: 5px 12px calc(5px + env(safe-area-inset-bottom, 0px)) 16px; }
  .sv-txt { gap: 1px; }
  .sv-sup { font-size: 12.5px; line-height: 15px; }
  .sv-main { font-size: 15.5px; line-height: 19px; white-space: nowrap; }
  .sv-disc { width: 36px; height: 36px; }
  .sv-disc svg { width: 17px; height: 17px; }
}
/* the narrowest phones (< 360): the foot's two lines keep their full words */
@media (max-width: 359.98px) {
  .sv-tabs { padding-left: 6px; scroll-padding-left: 6px; }
  .sv-open::before, .sv-open::after { width: 6px; height: 6px; }
  .sv-open::before { background: radial-gradient(circle at 0 0, transparent 5.5px, #fff 6px); }
  .sv-open::after { background: radial-gradient(circle at 100% 0, transparent 5.5px, #fff 6px); }
  .sv-tab { min-width: 72px; padding: 3px 6px 3px; }
  .sv-tn { font-size: 11px; letter-spacing: -.02em; }
  .sv-tm { width: 46px; }
  .sv-go { padding-left: 14px; padding-right: 10px; gap: 8px; }
  .sv-sup { font-size: 12px; line-height: 15px; }
  .sv-main { font-size: 14.5px; line-height: 19px; }
  .sv-disc { width: 34px; height: 34px; }
}
