/* ==========================================================================
   Venpo · public vendor pages (v3 design language)

   Page-body styles for the change feed (/vendors/changes), the vendor
   directory (/vendors/directory) and the vendor profile (/vendors/{domain}),
   ported from the Nov 2026 redesign artboards (ChangesNew, DirectoryNew,
   VendorNew). Loaded by those three views only, after pub/pub.css and before
   pub/chrome.css (through @push('head')).

   Every rule is scoped to a `vx-` class, and every page body sits inside
   <div class="vx">, so nothing here reaches the header, the footer or a page
   that happens to load this file. pub.css still loads underneath (its reset,
   pub-fav.js and pub.js); its generic class names (.day, .row, .chip, .num …)
   are deliberately not reused here.

   Sections:
     1  base + shared pieces (headings, buttons, arrows, logo tile, counts,
        cards, CTA band)
     2  change feed
     3  vendor directory
     4  vendor profile
     5  media queries
   ========================================================================== */

/* --------------------------------------------------------------------------
   1 · Base + shared pieces
   -------------------------------------------------------------------------- */
/* The artboards' page colour. Only the three pages above load this file, so
   the bare selector stays on them; the footer's outer gutter shows it. */
body{background:#F9F8F6}

.vx{color:#15131C;font-family:system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
.vx a{color:#4C31A4;text-decoration:none}
.vx a:hover{color:#6A4BE0}
.vx-sec{padding:0 24px}
.vx-wrap{max-width:1240px;margin:0 auto}
.vx-narrow{max-width:920px;margin:0 auto}

.vx-h1{margin:0;font-size:58px;line-height:1;font-weight:800;letter-spacing:-.04em}
.vx-h2{margin:0;font-size:44px;line-height:1.02;font-weight:800;letter-spacing:-.035em}
.vx-lead{margin:18px 0 0;font-size:16px;line-height:1.55;color:#5B5668;max-width:760px;text-wrap:pretty}
.vx-sh{max-width:760px}

.vx-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Buttons. The artboards set these inline; the hover colours are theirs. */
.vx-btn{display:inline-flex;align-items:center;font-size:14px;font-weight:600;padding:12px 22px;border-radius:999px;white-space:nowrap;transition:background-color .2s,border-color .2s,box-shadow .2s,transform .2s cubic-bezier(.2,.7,.2,1)}
.vx a.vx-btn-soft{background:#ECE7FA;color:#4C31A4}
.vx a.vx-btn-soft:hover,.vx a.vx-btn-soft:focus-visible{background:#DCD2F8;color:#3B2489}
.vx a.vx-btn-muted{background:#EFEDF3;color:#15131C}
.vx a.vx-btn-muted:hover,.vx a.vx-btn-muted:focus-visible{background:#E2DEEA;color:#15131C}
.vx a.vx-btn-light{background:#FFFFFF;color:#15131C;font-size:14.5px;padding:15px 26px}
.vx a.vx-btn-light:hover,.vx a.vx-btn-light:focus-visible{background:#ECE7FA;color:#15131C}
.vx a.vx-btn-primary{background:#4C31A4;color:#FFFFFF}
.vx a.vx-btn-primary:hover,.vx a.vx-btn-primary:focus-visible{background:#3B2489;color:#FFFFFF;box-shadow:0 8px 20px -10px rgba(76,49,164,.7)}
.vx .vx-btn:focus-visible{outline:2px solid #6A4BE0;outline-offset:3px}
.vx .vx-btn-light:active,.vx .vx-btn-primary:active{transform:translateY(1px)}

/* The sliding arrow. chrome.css styles .arr-ico/.arr-p/.arr-d1/.arr-d2 globally
   but scopes the box and the hover to the header and footer. */
.vx .arr{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:4px;vertical-align:-2px;flex:none}
.vx a:hover .arr-p,.vx a:focus-visible .arr-p{transform:translateX(3px)}
.vx a:hover .arr-d1,.vx a:focus-visible .arr-d1{opacity:.75}
.vx a:hover .arr-d2,.vx a:focus-visible .arr-d2{opacity:.4}

/* Vendor logo tile: real favicons only, through pub-fav.js's fallback chain. */
.vx-logo{width:30px;height:30px;border-radius:9px;background:#FFFFFF;box-shadow:inset 0 0 0 1px #ECE9E3;display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden}
.vx-logo img{width:18px;height:18px;display:block;object-fit:contain}

/* Name + sub-line pair used by every list row. */
.vx-q{display:block;font-size:13px;font-weight:600;line-height:1.35}
.vx-d{display:block;font-size:11.5px;color:#6B6678;margin-top:3px}
.vx-d.vx-clip{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Impact counts: against you / in your favour / neutral. */
.vx-cnt{display:flex;gap:6px;flex:none}
.vx-cnt>span{font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px}
.vx-cnt .vx-bad{background:#FCE4E4;color:#A51E2C}
.vx-cnt .vx-good{background:#E2F0E3;color:#2F6B3F}
.vx-cnt .vx-neut{background:#EFEDF3;color:#5B5668}

.vx-legend{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px;font-size:13px;color:#5B5668}
.vx-legend>span{display:inline-flex;gap:6px;align-items:center}
.vx-legend i{width:10px;height:10px;border-radius:50%}
.vx-legend .vx-bad{background:#A51E2C}
.vx-legend .vx-good{background:#2F6B3F}
.vx-legend .vx-neut{background:#8A8796}

/* A white list card that lifts on hover. */
.vx-card{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff;border:1px solid #ECE9E3;border-radius:16px;padding:14px 18px;margin-top:10px;transition:transform .2s,box-shadow .2s}
.vx-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px -22px rgba(21,19,28,.35)}
.vx-card-main{display:flex;gap:14px;align-items:center;min-width:0}
.vx-card-main>span:last-child{min-width:0}

/* Pager row under a list. */
.vx-pager{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:32px}
.vx-pager-status{font-size:13px;color:#8A8796}
.vx-pager-links{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}

.vx-empty{margin-top:24px;background:#F3EFEA;border-radius:24px;padding:28px;font-size:14px;line-height:1.55;color:#5B5668}

/* Closing CTA band. The artboard paints it with a watercolour dusk image that
   is not in the repo; its own fallback colour is used on its own. */
.vx-cta{border-radius:28px;padding:44px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;color:#fff;background:#3B2A8C}
.vx-cta-copy{flex:1 1 420px}
.vx-cta h2{margin:0;font-size:29px;line-height:1.05;font-weight:800;letter-spacing:-.03em}
.vx-cta p{margin:10px 0 0;font-size:15.5px;line-height:1.5;color:rgba(255,255,255,.85)}

/* --------------------------------------------------------------------------
   2 · Change feed
   -------------------------------------------------------------------------- */
.vx-feed-top{padding:72px 24px 48px}
.vx-feed-cta{padding:24px 24px 96px}

.vx-tl{position:relative;padding-left:28px;margin-top:16px}
.vx-tl::before{content:"";position:absolute;left:5px;top:6px;bottom:0;width:2px;background:#ECE9E3}
.vx-day{position:relative;margin-top:32px}
.vx-day::before{content:"";position:absolute;left:-28px;top:4px;width:12px;height:12px;border-radius:50%;background:#4C31A4;box-shadow:0 0 0 4px #ECE7FA}
.vx-day-h{margin:0;font-size:13px;line-height:normal;font-weight:700;color:#5B5668;letter-spacing:.02em}

/* --------------------------------------------------------------------------
   3 · Vendor directory
   -------------------------------------------------------------------------- */
.vx-dir-hero{padding:6px 16px 0}
.vx-dir-stats{padding:24px 24px 0}
.vx-dir-list{padding:96px 24px 96px}

/* The artboard paints the hero with a watercolour image that is not in the
   repo; its own fallback colour is used on its own. */
.vx-hero-box{max-width:1400px;margin:0 auto;border-radius:32px;overflow:visible;padding:120px 56px;text-align:center;background:#2A2360;color:#FFFFFF}
.vx-hero-box .vx-h1{max-width:900px;margin:0 auto;color:#FFFFFF}
.vx-hero-box .vx-lead{margin-left:auto;margin-right:auto;color:rgba(255,255,255,.86)}

.vx-search-form{position:relative;width:min(560px,100%);margin:32px auto 0;text-align:left}
.vx-search{display:flex;gap:8px;align-items:center;background:#fff;border:1.5px solid transparent;border-radius:999px;padding:6px 6px 6px 20px}
.vx-search:focus-within{box-shadow:0 0 0 4px rgba(236,231,250,.45)}
.vx-search input{flex:1;min-width:0;height:36px;border:0;background:none;padding:0;font:inherit;font-size:14.5px;color:#15131C}
.vx-search input::placeholder{color:#8A8796;opacity:1}
.vx-search input:focus{outline:none}
.vx-search input::-webkit-search-cancel-button{-webkit-appearance:none}
.vx-search-submit{flex:none;height:auto;width:auto;margin-left:auto;border:0;background:#15131C;color:#fff;font:inherit;font-size:13px;font-weight:700;padding:10px 18px;border-radius:999px;cursor:pointer;transition:background-color .2s}
.vx-search-submit:hover,.vx-search-submit:focus-visible{background:#3A3645}
.vx-search-submit:focus-visible{outline:2px solid #fff;outline-offset:2px}
.vx-search-form .vendor-search-results{color:#15131C}
.vx-search-form .vendor-search-error{display:block;margin-top:10px;padding-left:20px;font-size:12.5px;color:#FFD9DD}

.vx-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.vx-stat{border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:6px}
.vx-stat b{font-size:37px;line-height:1;font-weight:800;letter-spacing:-.04em}
.vx-stat span{font-size:14px;color:#5B5668}
.vx-stat-a{background:#ECE7FA}
.vx-stat-b{background:#F3E9DD}
.vx-stat-c{background:#E2F0E3}
.vx-stat-d{background:#F7E3E8}

/* pub.css styles bare thead th / tbody td (mono uppercase heads, row hover);
   the v3 tables set their own, so those are reset inside .vx. */
.vx table th{font-family:inherit;text-transform:none;border-bottom:0}
.vx table td{border-bottom:0;color:inherit;vertical-align:middle}
.vx tbody tr:hover{background:none}
.vx-vtable-scroll{margin-top:32px;overflow-x:auto}
.vx-vtable{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #ECE9E3;border-radius:24px;overflow:hidden}
.vx-vtable th{font-size:11.5px;font-weight:700;letter-spacing:.06em;color:#8A8796;text-align:left;padding:14px 20px;background:#F9F8F6;white-space:nowrap}
.vx-vtable td{padding:14px 20px;border-top:1px solid #F1EFEA;font-size:14px;white-space:nowrap}
.vx .vx-vendor,.vx .vx-vendor:hover{display:flex;gap:12px;align-items:center;color:#15131C}
.vx-vendor b{display:block;font-weight:700}
.vx-vtable .vx-last{color:#5B5668}
.vx-bar{display:inline-flex;align-items:center;gap:8px}
.vx-bar i{height:8px;border-radius:4px;background:#4C31A4}
.vx-bar i.vx-bar-zero{background:#EFEDF3}

.vx-dir-pager{margin-top:20px;flex-wrap:wrap}
.vx-pages{display:inline-flex;gap:6px;align-items:center}
.vx-pg{min-width:40px;height:40px;padding:0 8px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:13.5px;font-weight:600}
.vx a.vx-pg{color:#15131C}
.vx a.vx-pg:hover,.vx a.vx-pg:focus-visible{background:#EFEDF3;color:#15131C}
.vx-pg-on{background:#15131C;color:#fff}
.vx-pg-gap{min-width:16px;padding:0;color:#8A8796}

/* --------------------------------------------------------------------------
   4 · Vendor profile
   -------------------------------------------------------------------------- */
.vx-vp-top{padding:56px 24px 24px}
.vx-vp-sec{padding:72px 24px}
/* The header is fixed; land a section jump below it (pub.css sets 26px). */
.vx [id^="sec-"]{scroll-margin-top:96px}

.vx-crumb{display:flex;gap:8px;font-size:13px;font-weight:600;color:#8A8796;margin-bottom:22px}
.vx-vp-head{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-end;justify-content:space-between}
.vx-vp-id{display:flex;gap:18px;align-items:center;min-width:0}
.vx-logo.vx-logo-lg{width:64px;height:64px;border-radius:18px}
.vx-logo.vx-logo-lg img{width:38px;height:38px}
.vx-h1.vx-vp-name{font-size:51px;overflow-wrap:anywhere}
.vx-d.vx-vp-sub{font-size:14px}
.vx a.vx-vp-cta{font-size:14.5px;padding:15px 26px}

.vx-vp-stats{margin-top:32px}
.vx-stat.vx-stat-w{background:#fff;border:1px solid #ECE9E3}

.vx-panel{background:#fff;border:1px solid #ECE9E3;border-radius:24px;padding:28px}
.vx-h3{margin:0;font-size:19px;line-height:1.2;font-weight:800;letter-spacing:-.02em}
.vx-chart{margin-top:16px}
.vx-chart-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.vx-chart-head .vx-d{margin-top:0}
.vx-bars{position:relative;display:flex;gap:6px;align-items:flex-end;height:140px;margin-top:24px}
.vx-bar-col{position:relative;flex:1;height:100%;display:flex;align-items:flex-end}
.vx-bar-month{display:block;width:100%;border-radius:6px 6px 2px 2px;background:#4C31A4;transition:background-color .15s}
.vx-bar-month.vx-bar-zero{background:#EFEDF3}
.vx-bar-col:hover .vx-bar-month{background:#6A4BE0}
.vx-bar-col:hover .vx-bar-month.vx-bar-zero{background:#DDD8E3}
/* Month breakdown on hover, CSS only. */
.vx-tip{position:absolute;z-index:5;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);padding:8px 11px;border-radius:10px;background:#15131C;color:#fff;font-size:12px;line-height:1.45;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s}
.vx-tip b{font-weight:700}
.vx-bar-col:nth-child(-n+4) .vx-tip{left:0;transform:none}
.vx-bar-col:nth-last-child(-n+4) .vx-tip{left:auto;right:0;transform:none}
.vx-bar-col:hover .vx-tip{opacity:1}
.vx-chart-axis{display:flex;justify-content:space-between;margin-top:10px}

.vx-tlist{margin-top:24px}
.vx-ev-text{display:block;min-width:0}
.vx-ev-text .vx-d{margin-top:0}
.vx-q.vx-ev-head{font-size:14.5px;margin-top:4px}
.vx-tlm .vx-xtra{display:none}
.vx-tlm.open .vx-xtra{display:flex}
.vx .vx-more{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:10px;padding:10px;border:1px dashed #DDD8E3;border-radius:16px;background:none;font:inherit;font-size:13px;font-weight:600;color:#5B5668;cursor:pointer}
.vx .vx-more:hover{border-color:#C9C4D2;color:#15131C}
.vx .vx-more .chev{color:#8A8796}

.vx-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 20px;margin-top:16px;font-size:13px;color:#5B5668}
.vx a.vx-link{display:inline-flex;align-items:center;gap:2px;font-size:14.5px;font-weight:600;color:#4C31A4}
.vx a.vx-link:hover{color:#6A4BE0}

.vx-empty.vx-empty-card{background:#F3EFEA;border-radius:24px;padding:28px}
.vx-vtable-scroll.vx-vtable-tight{margin-top:24px}
.vx-vtable.vx-subs td,.vx-vtable.vx-docs td{white-space:normal}
.vx-vtable.vx-subs td:first-child{white-space:nowrap}
.vx-sp{display:flex;gap:12px;align-items:center}
.vx-sp b{display:block;font-weight:700;color:#15131C}
.vx-sp a:hover b{color:#6A4BE0}
.vx-sp a b{color:#4C31A4}
.vx-vtable .sp-purpose{color:#5B5668;min-width:220px}
.vx-vtable.vx-docs .vx-last{white-space:nowrap}
.vx-vtable .vx-none{color:#8A8796}

.vx-faq-wrap{max-width:860px}
.vx-center{text-align:center}
.vx-faq{display:flex;flex-direction:column;gap:8px;margin-top:40px}
.vx-faq details{background:#FFFFFF;border:1px solid #ECE9E3;border-radius:16px}
.vx-faq summary{list-style:none;cursor:pointer;padding:20px 22px;font-size:15px;font-weight:700;letter-spacing:-.01em;display:flex;justify-content:space-between;align-items:center;gap:16px}
.vx-faq summary::-webkit-details-marker{display:none}
.vx-faq summary:focus-visible{outline:2px solid #6A4BE0;outline-offset:2px;border-radius:16px}
.vx-faq-chev{flex:none;width:28px;height:28px;border-radius:50%;background:#EFEDF3;display:flex;align-items:center;justify-content:center;transition:transform .2s}
.vx-faq details[open] .vx-faq-chev{transform:rotate(180deg)}
.vx-faq p{margin:0;padding:0 22px 20px;font-size:14px;line-height:1.6;color:#5B5668}

/* The subprocessor-graph band (pub.css §5, shared with the subprocessors
   page) sits between two .vx blocks here; align it to this page's width and
   corner radius, nothing else. */
.vx + .band{max-width:1288px;margin:0 auto;padding:0 24px}
.vx + .band .bandin{border-radius:28px}
.vx + .band .bandtxt h2{font-weight:800;letter-spacing:-.03em}

/* The domain-search strip above the profile (pub.css §3) on this page's
   colour instead of its own pale gradient. */
.dbanner{background:transparent}
.dbanner .dsfield{border-color:#DDD8E3}

/* --------------------------------------------------------------------------
   5 · Media queries
   -------------------------------------------------------------------------- */
/* pub.css parks the icon-only section rail against a 1200px column; this
   page's column is 1240px, so the rail moves out by the difference. */
@media (max-width:1620px){
.srail{left:max(16px,calc(50% - 700px))}
}
@media (max-width:900px){
.vx-h1{font-size:48px}
.vx-h2{font-size:36px}
.vx-card{flex-wrap:wrap}
.vx-stats{grid-template-columns:1fr}
}
/* The artboards end with a site-wide phone rule (h1 50px, h2 34px, both
   !important) that overrides their own 40px / 32px heading steps; this is
   what they render, so it is what ships. */
@media (max-width:600px){
.vx-h1,.vx-h1.vx-vp-name{font-size:50px;line-height:1.04}
.vx-h2,.vx-cta h2{font-size:34px;line-height:1.05}
.vx-hero-box{padding:96px 20px 72px;border-radius:28px;text-align:left}
.vx-hero-box .vx-lead{margin-left:0}
.vx-search-form{margin-left:0}
.vx-stat b{font-size:32px}
.vx-panel{padding:22px;border-radius:22px}
/* Too narrow for a tip over each bar: every month's tip reads out at the
   chart's top-left corner instead, so none runs off the screen. */
.vx-subs thead{display:none}
.vx-subs,.vx-subs tbody,.vx-subs tr,.vx-subs td{display:block;width:auto}
.vx-subs tr+tr td:first-child{border-top:1px solid #F1EFEA}
.vx-vtable.vx-subs td{border-top:0;padding:0 18px}
.vx-vtable.vx-subs td:first-child{padding-top:14px;white-space:normal}
.vx-vtable.vx-subs .sp-purpose{min-width:0;padding:6px 18px 14px 60px}
.vx-bar-col{position:static}
.vx-bar-col .vx-tip,.vx-bar-col:nth-child(-n+4) .vx-tip,.vx-bar-col:nth-last-child(-n+4) .vx-tip{left:0;right:auto;transform:none;max-width:100%;white-space:normal}
.vx-vp-head{align-items:flex-start}
.vx-dir-pager{flex-direction:column;align-items:stretch}
.vx-dir-pager .vx-pager-links{justify-content:space-between}
.vx-dir-pager .vx-pages{order:-1;flex-basis:100%;justify-content:center}
.vx-dir-pager .vx-btn-soft{margin-left:auto}
}
@media (prefers-reduced-motion:reduce){
.vx-btn,.vx-card,.vx-faq-chev,.vx-tip,.vx-bar-month{transition:none}
.vx-card:hover{transform:none}
}
