/* Hyperdesk Ads, the home page (index.html): what it adds to conduit.css. The top bar, the channels, and the product
   shots: recreations of the dashboard (leads/apps/ads) in its own tokens, scoped under .dash so they never leak into
   the page. */

/* ---------- The top bar (after venice.inc's): logo, the page's sections in a grey pill track where a white pill
   marks the one you're reading, sign in and one dark action. One row on phones too. ---------- */
.vbar { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid rgba(41, 37, 30, 0.08); }
.vbar-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; max-width: 1232px; height: 76px; margin: 0 auto; padding: 0 max(32px, env(safe-area-inset-right, 0px)) 0 max(32px, env(safe-area-inset-left, 0px)); }
.vbar-brand { justify-self: start; display: block; line-height: 0; }
.vbar-brand img { width: auto; height: 22px; }
.seg { position: relative; display: flex; align-items: center; padding: 4px; border-radius: 999px; background: #f2f2f1; }
.seg a { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; color: #7b7975; font: 500 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: color 0.2s ease; }
.seg a[aria-current] { color: #1d1b18; }
.seg:not(.js) a[aria-current] { background: #fff; box-shadow: 0 1px 2px rgba(41, 37, 30, 0.08), 0 2px 8px rgba(41, 37, 30, 0.06); }
.seg-pill { position: absolute; top: 4px; left: 0; width: 0; height: 40px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(41, 37, 30, 0.08), 0 2px 8px rgba(41, 37, 30, 0.06); }
.seg.ready .seg-pill { transition: transform 0.28s cubic-bezier(0.23, 1, 0.32, 1), width 0.28s cubic-bezier(0.23, 1, 0.32, 1); }
.seg-short { display: none; }
.vbar-end { justify-self: end; display: flex; align-items: center; gap: 20px; }
.vbar-in-link { color: #1d1b18; font: 500 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; opacity: 0.8; }
.vbar-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: #27262a; color: #fff; font: 500 16px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: background-color 0.2s ease, transform 0.12s ease-out; }
.vbar-cta:active { transform: scale(0.97); }
.seg a:focus-visible, .vbar-cta:focus-visible, .vbar-brand:focus-visible, .vbar-in-link:focus-visible { outline: 2px solid #1d1b18; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .seg a:hover { color: #1d1b18; }
  .vbar-cta:hover { background: #000; }
  .vbar-in-link:hover { opacity: 1; }
}
@media (max-width: 1000px) { .seg a.seg-wide { display: none; } }
@media (max-width: 760px) { .vbar-in-link { display: none; } }
@media (max-width: 560px) {
  .vbar-in { grid-template-columns: auto 1fr auto; gap: 8px; height: 64px; padding: 0 max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); }
  .vbar-brand { width: 22px; overflow: hidden; }
  .vbar-brand img { max-width: none; height: 20px; }
  .seg { justify-self: center; padding: 3px; }
  .seg a { height: 34px; padding: 0 10px; font-size: 13.5px; }
  .seg-pill { top: 3px; height: 34px; }
  .seg-long { display: none; }
  .seg-short { display: inline; }
  .vbar-cta { height: 38px; padding: 0 14px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .seg.ready .seg-pill, .seg a, .vbar-cta { transition: none; } }

/* ---------- Where it works: the channels, live or coming soon, set like the logo wall ---------- */
.ch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.ch { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 16px; border-left: 1px solid var(--line); text-align: center; }
.ch:first-child { border-left: 0; }
.ch b { font: 400 28px/1.15 var(--heading); letter-spacing: -0.03em; }
.ch-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--ink-muted); font: 500 12px/14px var(--body); }
.ch-pill.live { background: #e8f5ec; color: var(--success); }
.ch-pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (max-width: 900px) {
  .ch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ch:nth-child(4) { border-left: 0; }
  .ch:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .ch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch { padding: 22px 10px; }
  .ch:nth-child(4) { border-left: 1px solid var(--line); }
  .ch:nth-child(odd) { border-left: 0; }
  .ch:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ch:last-child { grid-column: 1 / -1; }
  .ch b { font-size: 22px; }
}

/* ---------- The dashboard, recreated (tokens from leads/apps/ads/components/tokens.css and kit.css) ---------- */
.dash { --t1: #29251e; --t2: #4a463f; --t3: #69655f; --ln: #d9d7d1; --ln2: #ecebe7; --chip: #f0efec; --mut: #f7f6f6; --chart: #2f6fd0;
  color: var(--t1); font: 400 13px/1.35 var(--product); letter-spacing: 0; text-align: left; -webkit-font-smoothing: antialiased; }
.dash p { margin: 0; }
.dash b { font-weight: 500; }
.dash svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dash .pill { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 8px; background: var(--chip); color: var(--t2); font: 500 12px/1 var(--product); font-style: normal; white-space: nowrap; }
.dash .pill.ok { background: #e8f5ec; color: #17833a; }
.dash .pill.warn { background: #fff3db; color: #8a5300; }
.dash .pill.info, .dash .pill.new { background: #e6f7fc; color: #0b5c75; }
.dash .pill.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dash .d-btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 12px; border: 1px solid var(--ln); border-radius: 10px; background: #fff; color: var(--t1); font: 500 13px/1 var(--product); white-space: nowrap; }
.dash .d-btn.dark { border-color: #28241e; background: #28241e; color: #fff; }
.dash .bar { display: block; height: 7px; border-radius: 4px; background: #e7e5e0; }
/* Widths and heights as classes: the site's Content-Security-Policy blocks inline style="" attributes */
.dash .bar.tall { height: 10px; }
.dash .bar.w28 { width: 28%; } .dash .bar.w34 { width: 34%; } .dash .bar.w44 { width: 44%; } .dash .bar.w52 { width: 52%; }
.dash .bar.w56 { width: 56%; } .dash .bar.w60 { width: 60%; } .dash .bar.w62 { width: 62%; } .dash .bar.w64 { width: 64%; }
.dash .bar.w68 { width: 68%; } .dash .bar.w72 { width: 72%; }
.sprite { position: absolute; }

/* The hero: the app on the page's gradient, its foot running off the stage; the Slack post straddles its left edge */
.ag-h1 { max-width: 920px; }
.ag-h1-l { display: block; }
.ag-fig { margin: 64px 0 0; }
.ag-fig figcaption { padding: 16px 0 0; color: var(--ink-muted); font-size: 12px; line-height: 14px; text-align: center; }
.ag-stage { position: relative; height: 712px; border-radius: var(--radius-2xl); overflow: hidden; isolation: isolate; }
.app { position: absolute; left: 150px; right: 40px; top: 48px; height: 760px; display: grid; grid-template-columns: 196px minmax(0, 1fr); padding: 8px; border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 20px; background: rgba(255, 255, 255, 0.45); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 1px 2px rgba(41, 37, 30, 0.05), 0 24px 64px -12px rgba(41, 37, 30, 0.22); }
.d-side { display: flex; flex-direction: column; padding: 8px 6px 0 2px; }
.d-org { padding: 4px 8px 12px; font-size: 14px; }
.d-org b { font-weight: 600; }
.d-seg { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 12px; padding: 2px; border-radius: 10px; background: rgba(255, 255, 255, 0.55); }
.d-seg span { display: grid; place-items: center; height: 26px; border-radius: 8px; color: var(--t3); font-weight: 500; }
.d-seg .on { background: #fff; color: var(--t1); box-shadow: 0 1px 2px #0000000d; }
.d-nav { display: grid; gap: 2px; }
.d-nav span { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 8px; color: var(--t3); font-weight: 500; }
.d-nav .on { background: #fff; color: var(--t1); box-shadow: 0 1px 2px #0000000d; }
.d-nav em { display: grid; place-items: center; min-width: 18px; height: 18px; margin-left: auto; padding: 0 5px; border-radius: 9px; background: #28241e; color: #fff; font: 600 11px/1 var(--product); font-style: normal; }
.d-nav .d-nav-group { margin-top: 10px; }
.d-work { min-width: 0; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(41, 37, 30, 0.06); overflow: hidden; }
.d-top { display: flex; align-items: center; gap: 18px; height: 52px; padding: 0 16px 0 20px; border-bottom: 1px solid var(--ln2); }
.d-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.d-tabs { display: flex; gap: 2px; }
.d-tabs span { display: grid; place-items: center; height: 28px; padding: 0 10px; border-radius: 8px; color: var(--t3); font-weight: 500; }
.d-tabs .on { background: var(--chip); color: var(--t1); }
.d-ask { display: inline-flex; align-items: center; gap: 6px; height: 28px; margin-left: auto; padding: 0 10px; border: 1px solid var(--ln); border-radius: 10px; font-weight: 500; }
.d-ask svg { width: 14px; height: 14px; }
.d-runbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px 10px 20px; border-bottom: 1px solid var(--ln2); color: var(--t3); }
.d-runbar > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-runbar b { color: var(--t1); }
.d-cols { display: grid; grid-template-columns: 272px minmax(0, 1fr); height: 100%; }
.d-list { padding: 14px 12px; border-right: 1px solid var(--ln2); }
.d-pills { display: flex; gap: 6px; margin: 0 0 6px 4px; }
.d-pills span { display: grid; place-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--ln); border-radius: 8px; color: var(--t2); font-weight: 500; }
.d-pills .on { border-color: #28241e; background: #28241e; color: #fff; }
.d-group { margin: 16px 0 6px 12px; color: var(--t3); font-size: 12px; font-weight: 500; }
.d-thread { position: relative; display: grid; gap: 3px; padding: 10px 12px; border-radius: 10px; }
.d-thread > span { color: var(--t3); font-size: 12px; }
.d-thread .bar { margin-top: 4px; }
.d-thread.on { background: var(--chip); }
.d-thread.on b { padding-right: 52px; }
.d-thread .pill { position: absolute; top: 9px; right: 10px; }
.d-main { min-width: 0; padding: 20px 24px; }
.d-kicker { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.d-kicker b { font-weight: 600; }
.d-via { margin: 6px 0 16px !important; color: var(--t3); }
.d-via b { color: var(--t2); }
.d-card { padding: 16px 18px; border: 1px solid var(--ln); border-radius: 16px; background: #fff; }
.d-card + .d-card { margin-top: 14px; }
.d-card-h { display: grid; gap: 3px; padding-bottom: 12px; }
.d-card-h b { font-size: 14px; font-weight: 600; }
.d-card-h span { color: var(--t3); }
.d-move { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; padding: 11px 0; border-top: 1px solid var(--ln2); }
.d-box { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: #28241e; color: #fff; }
.d-box svg { width: 12px; height: 12px; stroke-width: 2.6; }
.d-move-t { min-width: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-move-x { grid-column: 2 / -1; display: grid; gap: 10px; padding-top: 6px; }
.d-nums { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.d-nums th { height: 28px; padding: 0 10px 0 0; color: var(--t2); font-size: 12px; font-weight: 500; text-align: left; white-space: nowrap; }
.d-nums td { height: 32px; padding: 0 10px 0 0; border-top: 1px solid var(--ln2); white-space: nowrap; }
.d-what { color: var(--t2); }
.d-what b { color: var(--t1); }
.d-card-f { display: flex; justify-content: flex-end; gap: 8px; padding-top: 14px; border-top: 1px solid var(--ln2); }
.d-ghost { display: grid; gap: 12px; }

/* The Slack post (Slack's own look: white, the channel, the app's square avatar) */
.slackpost { position: absolute; left: 28px; top: 352px; width: 300px; padding: 12px 14px 14px; border: 1px solid rgba(29, 28, 29, 0.1); border-radius: 12px; background: #fff; color: #1d1c1d; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 16px 40px -10px rgba(41, 37, 30, 0.3); }
.sp-chan { display: flex; align-items: center; gap: 7px; margin: 0 0 10px !important; padding-bottom: 9px; border-bottom: 1px solid #ebeaeb; font-size: 13px; font-weight: 600; }
.sp-chan img { width: 14px; height: 14px; }
.sp-msg { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
.sp-av { width: 32px; height: 32px; border-radius: 6px; }
.sp-who { display: flex; align-items: baseline; gap: 6px; }
.sp-who b { font-size: 14px; font-weight: 700; }
.sp-app { padding: 1px 4px; border-radius: 3px; background: #ebeaeb; color: #616061; font-size: 10px; font-weight: 600; }
.sp-t { color: #616061; font-size: 12px; }
.sp-txt { margin: 3px 0 9px !important; font-size: 14px; line-height: 1.4; }
.sp-txt b { font-weight: 700; }
.sp-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid rgba(29, 28, 29, 0.3); border-radius: 6px; font-size: 13px; font-weight: 700; }
.sp-note { margin-top: 8px !important; color: #616061; font-size: 12px; }

@media (max-width: 1180px) {
  .app .d-cols { grid-template-columns: minmax(0, 1fr); }
  .app .d-list { display: none; }
}
@media (max-width: 960px) {
  .ag-stage { height: 660px; }
  .app { left: 32px; right: 32px; grid-template-columns: minmax(0, 1fr); }
  .app .d-side, .slackpost { display: none; }
}
@media (max-width: 560px) {
  .ag-fig { margin-top: 48px; }
  .ag-stage { height: 604px; border-radius: 14px; }
  .app { left: 12px; right: 12px; top: 20px; padding: 6px; border-radius: 16px; }
  .d-work { border-radius: 12px; }
  .d-top { gap: 10px; padding: 0 12px 0 14px; }
  .d-tabs span:not(.on) { display: none; }
  .d-runbar { display: none; }
  .d-main { padding: 16px 14px; }
  .d-via { display: none; }
  .d-kicker { margin-bottom: 12px !important; }
  .d-card { padding: 14px 12px; border-radius: 14px; }
  .d-nums th, .d-nums td { padding-right: 8px; font-size: 12px; }
  .d-nums th:first-child, .d-nums td:first-child { display: none; }
}

/* ---------- The product tour: tabs, the copy, and a screen on the dashboard's sky ---------- */
.tour-tabs { margin-bottom: 0; }
.tour-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-top: 32px; }
.tour-panel[hidden] { display: none; }
.tour-copy h3 { font-size: 36px; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.tour-copy p { margin: 16px 0 0; color: var(--ink-muted); font-size: 17px; line-height: 1.45; }
.tour-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.35; }
.tour-list li { padding-left: 24px; background: var(--check) left 1px / 16px 16px no-repeat; }
.tour-more { display: inline-block; margin-top: 22px; color: var(--ink); font-size: 15px; font-weight: 500; text-underline-offset: 3px; }
.tour-shot { position: relative; height: 440px; border-radius: var(--radius-2xl); overflow: hidden; isolation: isolate; background: radial-gradient(60% 60% at 0% 0%, rgba(133, 211, 252, 0.5), transparent 70%), radial-gradient(60% 60% at 100% 0%, rgba(186, 214, 255, 0.45), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(255, 207, 180, 0.55), transparent 70%), radial-gradient(60% 60% at 100% 100%, rgba(196, 236, 206, 0.55), transparent 70%), #f5f6f7; }
.tour-shot > .dash { position: absolute; left: 9%; right: 9%; top: 40px; }

/* Inbox: the approval step, over the thread it came from */
.shot-approve { bottom: -40px; }
.sa-behind { position: absolute; inset: 0; display: grid; align-content: start; gap: 16px; padding: 28px 24px; border-radius: 20px; background: #fff; }
.shot-approve::after { content: ""; position: absolute; inset: 0; border-radius: 20px; background: rgba(41, 37, 30, 0.12); }
.sa-dialog { position: absolute; z-index: 1; left: 50%; top: 34px; width: min(400px, calc(100% - 32px)); translate: -50% 0; padding: 20px; border-radius: 16px; background: #fff; box-shadow: 0 2px 4px rgba(41, 37, 30, 0.06), 0 24px 48px -12px rgba(41, 37, 30, 0.35); }
.sa-h { font-size: 16px; font-weight: 600; }
.sa-sub { margin-top: 3px !important; color: var(--t3); }
.sa-t { margin-top: 16px !important; font-size: 14px; font-weight: 500; }
.sa-pills { display: flex; gap: 6px; margin-top: 10px !important; }
.sa-google { display: grid; gap: 4px; margin-top: 14px; padding: 12px; border: 1px solid var(--ln2); border-radius: 12px; background: var(--mut); }
.sa-google b { display: flex; align-items: center; gap: 6px; color: #17833a; font-weight: 600; }
.sa-google svg { width: 14px; height: 14px; stroke-width: 2.2; }
.sa-google span { color: var(--t2); }
.sa-req { display: flex; align-items: center; gap: 8px; margin-top: 12px !important; color: var(--t3); }
.sa-req::before { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; rotate: -45deg; }
.sa-f { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ln2); }

/* Results: the summary, the leads by week and two tiles */
.shot-results, .shot-lead, .shot-test .st-card { bottom: -40px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(41, 37, 30, 0.05), 0 18px 48px rgba(41, 37, 30, 0.07); }
.sr-hl { font: 400 24px/1.15 var(--heading); letter-spacing: -0.02em; }
.sr-hl b { font-weight: 500; }
.sr-sub { margin-top: 8px !important; color: var(--t2); font-size: 14px; }
.sr-sub b { color: var(--t1); }
.sr-chart { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ln2); }
.sr-chart-h { color: var(--t2); font-size: 12px; font-weight: 500; }
.sr-bars { display: flex; align-items: flex-end; justify-content: space-around; gap: 14px; height: 104px; margin-top: 24px; border-bottom: 1px solid var(--ln2); }
.sr-bars span { position: relative; flex: 0 1 56px; border-radius: 6px 6px 0 0; background: var(--chart); }
.sr-bars .h73 { height: 73%; } .sr-bars .h82 { height: 82%; } .sr-bars .h91 { height: 91%; } .sr-bars .h100 { height: 100%; }
.sr-bars b { position: absolute; left: 0; right: 0; top: -20px; color: var(--t2); font-size: 12px; text-align: center; }
.sr-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.sr-tiles div { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--ln); border-radius: 14px; }
.sr-tiles span { color: var(--t3); font-size: 12px; }
.sr-tiles b { font: 400 24px/1.1 var(--heading); letter-spacing: -0.02em; }

/* Leads: how one lead found you, step by step */
.sl-name { display: flex; align-items: center; gap: 10px; }
.sl-name b { font-size: 16px; font-weight: 600; }
.sl-h { margin: 20px 0 12px !important; color: var(--t3); font-size: 12px; font-weight: 500; }
.sl-steps { display: grid; margin: 0; padding: 0; list-style: none; }
.sl-steps li { position: relative; display: grid; gap: 2px; padding: 0 0 16px 26px; }
.sl-steps li::before { content: ""; position: absolute; left: 0; top: 3px; width: 8px; height: 8px; border: 2px solid var(--chart); border-radius: 50%; background: #fff; }
.sl-steps li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 17px; bottom: 1px; width: 2px; border-radius: 1px; background: #d6e4f7; }
.sl-steps span { color: var(--t3); font-size: 12px; }
.sl-steps b { font-size: 14px; }
.sl-steps em { color: var(--t3); font-size: 12px; font-style: normal; }
.sl-went { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--ln2); }
.sl-went span:first-child { margin-right: auto; color: var(--t3); font-size: 12px; font-weight: 500; }

/* Pages: the page's address and a headline test */
.shot-test { top: 0 !important; bottom: 0; }
.st-top { position: absolute; left: 0; top: 32px; display: flex; align-items: center; gap: 8px; }
.st-top b { color: var(--t2); font: 500 12px/1 var(--mono-font); }
.st-card { position: absolute; left: 0; right: 0; top: 68px; }
.st-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st-h b { font-size: 15px; font-weight: 600; }
.st-goal { margin-top: 4px !important; color: var(--t3); }
.st-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.st-table th { height: 30px; padding: 0 8px 0 0; color: var(--t2); font-size: 12px; font-weight: 500; text-align: left; white-space: nowrap; }
.st-table td { height: 58px; padding: 0 8px 0 0; border-top: 1px solid var(--ln2); white-space: nowrap; }
.st-table td:first-child { white-space: normal; }
.st-table td b, .st-table td span { display: block; }
.st-table td span { margin-top: 2px; color: var(--t3); font-size: 12px; }
.st-table .won td:last-child { color: #17833a; font-weight: 600; }
.st-chart { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ln2); }
.st-chart-h { display: flex; justify-content: space-between; gap: 12px; color: var(--t2); font-size: 12px; font-weight: 500; }
.st-key { display: inline-flex; align-items: center; gap: 6px; color: var(--t3); }
.st-key i { width: 10px; height: 2px; border-radius: 1px; }
.st-key i + i, .st-key i.b { margin-left: 6px; }
.st-key .a, .st-chart .a { background: #b7d3f2; stroke: #b7d3f2; }
.st-key .b, .st-chart .b { background: var(--chart); stroke: var(--chart); }
.st-chart svg { display: block; width: 100%; height: 72px; margin-top: 8px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.st-chart polyline { vector-effect: non-scaling-stroke; }

@media (max-width: 900px) {
  .tour-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tour-copy h3 { font-size: 30px; }
}
@media (max-width: 560px) {
  .tour-tabs { gap: 6px; }
  .tour-shot { height: 420px; border-radius: 14px; }
  .tour-shot > .dash { left: 12px; right: 12px; top: 24px; }
  .shot-results, .shot-lead, .shot-test .st-card { padding: 18px 16px; }
  .sa-dialog { top: 20px; padding: 16px; }
  .sr-hl { font-size: 24px; }
  .st-top { top: 20px; }
  .st-card { top: 52px; }
  .st-table th:nth-child(2), .st-table td:nth-child(2) { display: none; }
}

/* ---------- How it works: each step's screen on the sky panel, running off its foot ---------- */
.step-shot { position: relative; height: 236px; margin-top: 22px; border-radius: 16px; background: #e6f7fc; overflow: hidden; }
.dash.mini { position: absolute; left: 16px; right: 16px; top: 20px; bottom: -24px; padding: 6px 16px; border: 1px solid rgba(41, 37, 30, 0.08); border-radius: 14px; background: #fff; box-shadow: 0 2px 6px rgba(41, 37, 30, 0.05); }
.m-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; }
.m-row + .m-row, .m-seg + .m-row { border-top: 1px solid var(--ln2); }
.m-k { color: var(--t2); }
.m-v { color: var(--t3); }
.m-label { margin: 10px 0 8px !important; color: var(--t3); font-size: 12px; font-weight: 500; }
.m-seg { display: grid; grid-template-columns: 1.3fr 1.3fr 0.8fr; margin-bottom: 8px !important; padding: 2px; border-radius: 10px; background: var(--chip); }
.m-seg span { display: grid; place-items: center; height: 26px; border-radius: 8px; color: var(--t2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.m-seg .on { background: #fff; color: var(--t1); box-shadow: 0 1px 2px #0000000d; }
.m-checks { display: grid; margin: 0; padding: 4px 0 8px; border-top: 1px solid var(--ln2); list-style: none; }
.m-checks li { display: flex; align-items: center; gap: 8px; min-height: 28px; color: var(--t2); }
.m-checks svg { width: 14px; height: 14px; color: #17833a; stroke-width: 2.2; }
.m-out { border-top: 1px solid var(--ln2); }
.m-out .d-btn { height: 28px; }
.m-hist { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 9px 0; border-top: 1px solid var(--ln2); }
.m-hist b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-hist span { grid-row: 2; color: var(--t3); font-size: 12px; }
.m-hist .pill { grid-row: 1 / 3; grid-column: 2; }
.m-label + .m-hist { border-top: 0; }

/* ---------- Product and compare pages (tools/ads-pages.mjs) ---------- */
.pg-hero .lede { max-width: 680px; }
.pg-hero .pg-answer { max-width: 760px; color: var(--ink); }
.pg-hero .pg-checks { justify-content: flex-start; }
.pg-fig { margin: 16px 0 0; }
.pg-fig figcaption { padding-top: 14px; color: var(--ink-muted); font-size: 12px; line-height: 14px; }
.pg-shot { height: 500px; }
.pg-shot.pg-shot-inbox { height: 528px; }
.pg-shot > .dash { left: 50%; right: auto; width: min(660px, calc(100% - 48px)); translate: -50% 0; top: 48px; }
.pg-card, .shot-seo { bottom: -40px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(41, 37, 30, 0.05), 0 18px 48px rgba(41, 37, 30, 0.07); }
.pg-card .d-kicker { margin-bottom: 0; }
/* SEO: paid keywords next to free results */
.se-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.se-h b { font-size: 15px; font-weight: 600; }
.se-mkt { color: var(--t3); font-size: 12px; }
.se-sub { margin: 4px 0 0 !important; color: var(--t3); }
.se-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.se-table th { height: 30px; padding: 0 8px 0 0; color: var(--t2); font-size: 12px; font-weight: 500; text-align: left; white-space: nowrap; }
.se-table td { height: 44px; padding: 0 8px 0 0; border-top: 1px solid var(--ln2); white-space: nowrap; }
.se-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px !important; padding-top: 14px; border-top: 1px solid var(--ln2); color: var(--t3); }
/* What it does: one card per point */
.pg-points { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pg-points li { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-2xl); background: #fff; }
.pg-points .num { color: var(--ink-muted); font: 500 12px/14px var(--mono-font); letter-spacing: 0.04em; }
.pg-points h3, .pg-points h2 { margin: 24px 0 8px; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.pg-points p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.45; }
.pg-links { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pg-links li { padding: 0; transition: border-color 0.15s var(--ease); }
.pg-links a { display: flex; flex-direction: column; height: 100%; padding: 24px; color: inherit; text-decoration: none; }
.pg-links li:hover { border-color: var(--ink); }
.pg-links h2 { font-size: 28px; }
/* Which fits: the two cards' lists */
.pg-fit .vs-card { display: flex; flex-direction: column; }
.pg-fit .choose-list { padding-top: 20px; border-top: 1px solid var(--line); }
.pg-fit .vs-new .choose-list { border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.pg-cmp .cmp-table td.us { font-weight: 500; }
@media (max-width: 560px) {
  .pg-shot, .pg-shot.pg-shot-inbox { height: 460px; border-radius: 14px; }
  .pg-shot > .dash { width: calc(100% - 24px); top: 24px; }
  .pg-card, .shot-seo { padding: 18px 16px; }
  .pg-card .d-via { display: none; }
  .se-table th:nth-child(4), .se-table td:nth-child(4) { display: none; }
  .se-f { flex-direction: column; align-items: flex-start; }
  .pg-points li, .pg-links a { padding: 20px; }
}
