/* v8: extracted from invest.php (static wizard styles, same cascade position). */
:root{ --blue:#006AFF; --blue-d:#0052cc; --ink:#0b1220; --muted:#64748b; --line:#e6ecf5; --wz-hdr:56px; }
  .wz-page{ font-family:'Inter',sans-serif; color:var(--ink); -webkit-font-smoothing:antialiased; background:#f4f8ff; }
  .wz-page *{ box-sizing:border-box; }
  body{ display:flex; flex-direction:column; min-height:100vh; min-height:100dvh; margin:0; }
  .wz-page{ flex:1 1 auto; display:flex; flex-direction:column; }
  .wz-page > .wz-shell{ flex:1; }
  .wz-shell{ display:grid; grid-template-columns:360px 1fr; }

  /* ── BRANDED GRADIENT RAIL ── */
  .wz-aside{ position:relative; color:#fff; padding:26px 32px; display:flex; flex-direction:column;
    background:radial-gradient(120% 60% at 0% 0%, rgba(91,156,255,.35), transparent 60%), linear-gradient(165deg,#06122a 0%, #0b2a72 52%, #0a57d6 120%); overflow:hidden; }
  .wz-aside::after{ content:''; position:absolute; right:-80px; bottom:-80px; width:280px; height:280px; border-radius:50%; background:radial-gradient(circle, rgba(255,255,255,.10), transparent 70%); }
  .wz-brand{ display:inline-flex; align-items:center; gap:9px; font-weight:900; font-size:1.5rem; letter-spacing:-.02em; color:#fff; text-decoration:none; }
  .wz-brand .pip{ width:12px;height:12px;border-radius:50%;background:#5b9cff;box-shadow:0 0 14px #5b9cff; }
  .wz-tag{ margin-top:14px; font-size:1.3rem; font-weight:900; line-height:1.12; letter-spacing:-.02em; }
  .wz-tag em{ font-style:normal; color:#8ec0ff; }
  .wz-tagsub{ margin-top:10px; color:#bcd4ff; font-size:.95rem; line-height:1.5; max-width:240px; }

  /* vertical stepper inside rail */
  .wz-rail{ list-style:none; margin:20px 0 0; padding:0; position:relative; z-index:1; }
  .rail-step{ display:flex; gap:13px; position:relative; padding-bottom:18px; }
  .rail-step:last-child{ padding-bottom:0; }
  .rail-step:not(:last-child)::before{ content:''; position:absolute; left:17px; top:38px; bottom:3px; width:2px; background:rgba(255,255,255,.18); }
  .rail-step.done:not(:last-child)::before{ background:linear-gradient(#5eead4,#5b9cff); }
  .rs-num{ width:36px;height:36px;flex:0 0 36px; border-radius:50%; display:flex;align-items:center;justify-content:center; font-weight:900; font-size:15px; color:rgba(255,255,255,.7); background:rgba(255,255,255,.08); border:2px solid rgba(255,255,255,.28); transition:.25s; }
  .rail-step.active .rs-num{ background:#fff; color:#0a2a6e; border-color:#fff; box-shadow:0 0 0 6px rgba(255,255,255,.16); transform:scale(1.05); }
  .rail-step.done .rs-num{ background:#5eead4; color:#06324a; border-color:#5eead4; }
  .rs-tx b{ display:block; font-size:1rem; font-weight:800; color:#fff; line-height:1.2; }
  .rs-tx span{ font-size:.82rem; color:#aecbff; }
  .rail-step:not(.active):not(.done) .rs-tx b{ color:rgba(255,255,255,.6); }

  /* ── MAIN CONTENT ── */
  .wz-main{ padding:14px 22px 16px; max-width:1560px; margin:0 auto; width:100%; display:flex; flex-direction:column; justify-content:flex-start; }
  .wz-phone-top{ display:none; }
  .wz-mb{ display:none; }
  .wz-step{ display:none; animation:wzfade .3s ease; } .wz-step.is-active{ display:flex; flex-direction:column; flex:1 1 auto; }
  @keyframes wzfade{ from{opacity:0;transform:translateY(10px);} to{opacity:1;transform:translateY(0);} }
  .wz-head{ margin-bottom:14px; }
  .wz-head h1,.wz-head h2{ font-size:clamp(1.7rem,2.4vw,2.3rem); font-weight:900; letter-spacing:-.04em; margin:0 0 8px; color:#0f172a; line-height:1.04; }
  .wz-head h1 em,.wz-head h2 em{ font-style:normal; color:var(--blue); }
  .wz-head p{ color:var(--muted); font-size:.98rem; margin:0; max-width:760px; line-height:1.45; }

  /* step 1 — signup card + investor image card side by side */
  .wz-choices{ display:grid; grid-template-columns:1fr 1.5fr; gap:20px; align-items:stretch; flex:1 1 auto; }
  .wz-pick.static{ cursor:default; height:100%; min-height:280px; }
  .wz-pick.static:hover{ transform:none; box-shadow:0 14px 34px rgba(2,32,71,.16); }
  .wz-pick.static:hover::after{ opacity:0; }

  /* the site's normal auth/signup card design (matches the homepage auth box) */
  .lp-auth { background:#fff; border:1px solid #e2e8f0; border-radius:16px; padding:26px 26px 20px; box-shadow:0 18px 44px rgba(2,32,71,.10); text-align:left; }
  .wz-choices > .lp-auth{ align-self:stretch; width:100%; display:flex; flex-direction:column; justify-content:center; }
  .lp-auth .auth-title { font-size:1.5rem; font-weight:800; color:#0f172a; margin:0 0 4px; }
  .lp-auth .logo-sub { color:#64748b; margin:0 0 14px; font-size:.95rem; }
  .lp-auth .form-group { margin-bottom:12px; }
  .lp-auth .form-group label { display:block; margin-bottom:7px; font-weight:600; color:#334155; font-size:.9rem; }
  .lp-auth .form-group input { width:100%; padding:12px 15px; border:1px solid #e2e8f0; border-radius:8px; font-size:1rem; outline:none; transition:border .2s; font-family:inherit; }
  .lp-auth .form-group input:focus { border-color:#006AFF; box-shadow:0 0 0 3px rgba(0,106,255,.1); }
  .lp-auth .btn-auth { width:100%; padding:12px; background:#006AFF; color:#fff; border:none; border-radius:8px; font-weight:700; font-size:1rem; cursor:pointer; transition:background .2s; margin-top:4px; display:flex; align-items:center; justify-content:center; gap:8px; font-family:inherit; }
  .lp-auth .btn-auth:hover { background:#0056cf; }
  .lp-auth .auth-footer { margin-top:12px; text-align:center; font-size:.88rem; color:#64748b; }
  .lp-auth .fg2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  .lp-auth .auth-err { background:#fef2f2; border:1px solid #fecaca; color:#b91c1c; font-size:.88rem; font-weight:600; border-radius:8px; padding:10px 12px; margin-bottom:14px; }
  .wz-pick{ position:relative; display:flex; flex-direction:column; justify-content:flex-end; min-height:220px; width:100%; padding:22px; cursor:pointer; text-align:left; font-family:inherit; overflow:hidden; color:#fff; border:0; border-radius:22px;
    background-size:cover; background-position:center;
    box-shadow:0 14px 34px rgba(2,32,71,.16);
    transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
  .wz-pick.home{ background-image:url('pick-homestead.jpg'); --ac:#0a57d6; --tint:#0a57d6; --acs:rgba(10,87,214,.42); }
  .wz-pick.inv{  background-image:url('pick-investor.jpg');  --ac:#047857; --tint:#047857; --acs:rgba(4,120,87,.40); }
  /* readability scrim + brand tint on hover */
  .wz-pick::before{ content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(5,10,28,.92) 6%, rgba(5,10,28,.5) 42%, rgba(5,10,28,.06) 78%); transition:background .35s; }
  .wz-pick::after{ content:''; position:absolute; inset:0; background:var(--tint); opacity:0; mix-blend-mode:multiply; transition:opacity .35s; }
  .wz-pick:hover{ transform:translateY(-6px); box-shadow:0 36px 66px var(--acs); }
  .wz-pick:hover::after{ opacity:.30; }
  .wz-pick > *{ position:relative; z-index:1; }
  .wz-pick-tag{ position:absolute; top:22px; left:22px; display:inline-flex; align-items:center; gap:7px; padding:7px 14px; border-radius:99px; background:rgba(255,255,255,.18); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,.45); font-size:.68rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
  .wz-pick-main{ display:flex; flex-direction:column; gap:6px; padding-right:58px; }
  .wz-pick-title{ font-size:1.55rem; font-weight:900; letter-spacing:-.03em; line-height:1.1; text-shadow:0 2px 16px rgba(0,0,0,.45); }
  .wz-pick-sub{ font-size:.95rem; font-weight:500; color:rgba(255,255,255,.92); line-height:1.45; text-shadow:0 1px 10px rgba(0,0,0,.5); }
  .wz-pick-go{ position:absolute; right:22px; bottom:22px; width:50px; height:50px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.05rem; color:#0b1220; background:#fff; box-shadow:0 8px 20px rgba(0,0,0,.25); transition:transform .3s, background .3s, color .3s; }
  .wz-pick:hover .wz-pick-go{ transform:translateX(4px); background:var(--ac); color:#fff; }

  /* ── Common Purchase Methods — compact label strip under the choices ── */
  .wz-methods{ margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }
  .wz-methods-head{ display:block; font-size:.72rem; font-weight:800; letter-spacing:.18em; text-transform:uppercase; color:#64748b; margin-bottom:10px; }
  .wz-methods-tags{ display:flex; flex-wrap:nowrap; gap:7px; }
  .wz-method-tag{ flex:0 1 auto; white-space:nowrap; display:inline-flex; align-items:center; justify-content:center; padding:7px 12px; border-radius:99px; background:#fff; border:1px solid var(--line); font-size:.78rem; font-weight:700; color:#334155; box-shadow:0 1px 2px rgba(2,32,71,.04); transition:border-color .2s, color .2s, transform .2s; }
  .wz-method-tag:hover{ border-color:var(--blue); color:#0b1220; transform:translateY(-2px); }

  .wz-back{ display:inline-flex; align-items:center; gap:7px; background:none; border:none; color:var(--muted); font-weight:700; font-size:.9rem; cursor:pointer; margin-bottom:16px; font-family:inherit; padding:0; }
  .wz-back:hover{ color:var(--blue); }
  /* account step */
  .auth-msg{ font-size:.98rem; color:#334155; line-height:1.5; margin:0 0 16px; }
  .auth-msg b{ color:#0f172a; }
  .auth-alt{ margin:14px 0 0; font-size:.88rem; color:var(--muted); text-align:center; }
  .auth-alt a{ color:var(--blue); font-weight:700; text-decoration:none; cursor:pointer; }
  .auth-alt a:hover{ text-decoration:underline; }
  .wz-card{ background:#fff; border:1px solid var(--line); border-radius:20px; padding:30px; box-shadow:0 20px 48px rgba(2,32,71,.08); max-width:560px; }
  .wz-thanks{ text-align:center; background:#fff; border:1px solid var(--line); border-radius:22px; padding:60px 30px; box-shadow:0 20px 48px rgba(2,32,71,.08); max-width:560px; }
  .wz-thanks .ic{ width:78px;height:78px;border-radius:50%; background:linear-gradient(145deg,#10b981,#5eead4);color:#fff; display:flex;align-items:center;justify-content:center; font-size:2.1rem; margin:0 auto 18px; box-shadow:0 16px 34px rgba(16,185,129,.35); }
  .wz-thanks h2{ font-size:1.8rem; font-weight:900; margin:0 0 8px; }
  .wz-thanks p{ color:var(--muted); margin:0 auto; max-width:440px; }

  /* ── AUTO-FIT: scale the wizard to the viewport height ── */
  .wz-pick{ min-height:clamp(140px, 24vh, 230px); }
  .wz-main{ padding:clamp(8px,1.2vh,14px) 22px clamp(8px,1.4vh,16px); }
  .wz-aside{ padding:clamp(14px,2.2vh,26px) 32px; }
  .wz-rail{ margin-top:clamp(10px,2vh,20px); }
  .rail-step{ padding-bottom:clamp(10px,1.8vh,18px); }
  @media (max-height:850px){
    .wz-tag{ margin-top:10px; font-size:1.15rem; }
    .rail-step:not(:last-child)::before{ top:34px; }
    .rs-num{ width:32px;height:32px;flex:0 0 32px; font-size:13px; }
    .rail-step:not(:last-child)::before{ left:15px; }
    .rs-tx b{ font-size:.92rem; } .rs-tx span{ font-size:.76rem; }
    .wz-head{ margin-bottom:10px; }
    .wz-head h1,.wz-head h2{ font-size:clamp(1.3rem,2vw,1.6rem); }
    .wz-head p{ font-size:.9rem; }
    .wz-methods{ margin-top:12px; padding-top:10px; } .wz-methods-head{ margin-bottom:8px; }
    .wz-method-tag{ padding:5px 10px; font-size:.72rem; }
    .lp-auth{ padding:20px 20px 16px; }
    .lp-auth .auth-title{ font-size:1.35rem; }
    .lp-auth .logo-sub{ margin-bottom:12px; font-size:.9rem; }
    .lp-auth .form-group{ margin-bottom:11px; }
    .lp-auth .form-group label{ margin-bottom:5px; font-size:.86rem; }
    .lp-auth .form-group input{ padding:11px 13px; font-size:.98rem; }
    .lp-auth .btn-auth{ padding:12px; }
  }
  @media (max-height:720px){
    .wz-methods{ display:none; }
    .wz-tagsub{ display:none; }
    .wz-pick-sub{ display:none; }
    .lp-auth .auth-footer{ display:none; }
  }

  /* ── MOBILE ── */
  @media (max-width:880px){
    .wz-shell{ grid-template-columns:minmax(0,1fr); } /* v8: plain 1fr grew to the content min-width → sideways scroll on phones */
    .wz-aside{ position:static; height:auto; padding:18px 18px 20px; flex-direction:row; align-items:center; justify-content:space-between; }
    .wz-aside::after{ display:none; }
    .wz-tag,.wz-tagsub,.wz-rail{ display:none; }
    .wz-phone-top{ display:inline-flex; color:#cfe0ff; font-weight:800; text-decoration:none; font-size:.9rem; align-items:center; gap:6px; }
    .wz-main{ padding:22px 16px 48px; max-width:100%; justify-content:flex-start; }
    .wz-shell{ min-height:0; }
    .wz-mb{ display:block; margin-bottom:22px; }
    .wz-mb-top{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:8px; }
    .wz-mb-step{ font-size:.74rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--blue); }
    .wz-mb-lbl{ font-size:.92rem; font-weight:800; color:#0f172a; }
    .wz-mb-track{ height:7px; background:#e2e8f0; border-radius:99px; overflow:hidden; }
    .wz-mb-fill{ display:block; height:100%; width:33%; background:linear-gradient(90deg,var(--blue),#3b82f6); border-radius:99px; transition:width .3s; }
    .wz-choices{ grid-template-columns:minmax(0,1fr); gap:14px; }
    .wz-choices > .lp-auth{ order:-1; align-self:stretch; }
    .wz-pick{ min-height:230px; padding:22px; }
    .wz-pick.static{ min-height:170px; height:auto; }
    .wz-pick-title{ font-size:1.4rem; }
    .wz-pick-go{ width:44px; height:44px; }
    .wz-card{ padding:20px; border-radius:16px; }
    .wz-methods{ margin-top:30px; padding-top:24px; }
    .wz-methods-tags{ overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:4px; scrollbar-width:none; }
    .wz-methods-tags::-webkit-scrollbar{ display:none; }
    .wz-method-tag{ flex:0 0 auto; }
  }

  /* ── Step 3 form bits not covered by buybox.css (ported from the live buybox) ── */
  /* 3-column price row */
  .bx-grid-3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; }
  @media (max-width:600px){ .bx-grid-3{ grid-template-columns:minmax(0,1fr); } }

  /* Commercial sub-types panel — hidden until "Commercial" is selected */
  .s2-commercial-sub{ display:none; margin-top:10px; padding:12px 14px; background:#f0f9ff; border:1px solid #bae6fd; border-radius:10px; }
  .s2-commercial-sub.open{ display:block; }
  .s2-commercial-sub .bx-lbl{ color:#0369a1; font-size:.75rem; margin-bottom:8px; display:block; }

  /* Creative finance sub-panel — hidden until "Creative" is selected */
  .s2-creative-sub{ display:none; margin-top:10px; padding:12px 14px; background:#faf5ff; border:1px solid #ddd6fe; border-radius:10px; }
  .s2-creative-sub.open{ display:block; }
  .s2-creative-sub .bx-lbl{ color:#7c3aed; font-size:.75rem; margin-bottom:8px; display:block; }
  .s2-creative-sub .s2-creative-option{ display:flex; align-items:flex-start; gap:10px; padding:9px 11px; border-radius:8px; border:1px solid #ddd6fe; background:#fff; cursor:pointer; transition:all .12s; margin-bottom:7px; user-select:none; }
  .s2-creative-sub .s2-creative-option:last-child{ margin-bottom:0; }
  .s2-creative-sub .s2-creative-option:hover{ border-color:#a78bfa; background:#f5f3ff; }
  .s2-creative-sub .s2-creative-option.is-on{ border-color:#7c3aed; background:#f5f3ff; }
  .s2-creative-sub .s2-creative-option.is-on .s2-co-icon{ background:#7c3aed; color:#fff; }
  .s2-co-icon{ width:32px; height:32px; border-radius:7px; background:#ede9fe; color:#7c3aed; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:.85rem; transition:all .12s; }
  .s2-co-text b{ display:block; font-size:.85rem; font-weight:800; color:#1e1b4b; line-height:1.2; }
  .s2-co-text span{ font-size:.72rem; color:#64748b; line-height:1.4; }

  /* Yes/No chip row */
  .s2-yesno{ display:flex; gap:8px; flex-wrap:wrap; }
  .s2-yesno .bx-chip{ flex:1; justify-content:center; min-width:140px; }

  /* ── STEP 4 — matches (keep the left step rail; widen the main column) ── */
  .wz-shell.is-matches .wz-main{ max-width:none; padding:40px 44px 72px; }

  .m-head{ margin-bottom:24px; }
  .m-done-pill{ display:inline-flex; align-items:center; gap:7px; background:#ecfdf5; color:#047857; border:1px solid #a7f3d0; border-radius:99px; padding:6px 13px; font-size:.78rem; font-weight:800; margin-bottom:12px; }
  .m-head h2{ font-size:clamp(1.7rem,3vw,2.2rem); font-weight:900; letter-spacing:-.03em; color:#0f172a; margin:0 0 6px; }
  .m-summary{ color:var(--muted); font-size:1rem; margin:0; }
  .m-layout{ display:grid; grid-template-columns:1fr 330px; gap:26px; align-items:start; }
  .m-col-h{ display:flex; align-items:center; gap:8px; font-size:1.02rem; font-weight:900; color:#0f172a; letter-spacing:-.02em; margin:0 0 14px; }
  .m-col-h i{ color:#f59e0b; }
  .m-col-sub{ font-size:.72rem; font-weight:700; color:#94a3b8; background:#f1f5f9; padding:3px 9px; border-radius:99px; letter-spacing:.02em; text-transform:uppercase; }

  /* main match cards — 3 per row */
  .m-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
  .m-card{ background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:0 4px 14px rgba(2,32,71,.06); transition:transform .25s, box-shadow .25s; }
  .m-card:hover{ transform:translateY(-4px); box-shadow:0 22px 44px rgba(2,32,71,.14); }
  .m-card-photo{ position:relative; height:160px; background:#e8eef7 center/cover no-repeat; }
  .m-card-photo[data-noimg]{ background:linear-gradient(135deg,#1e3a8a,#3b82f6); }
  .m-badge{ position:absolute; top:11px; left:11px; padding:5px 11px; border-radius:99px; font-weight:800; font-size:.8rem; color:#fff; box-shadow:0 4px 12px rgba(0,0,0,.22); }
  .m-badge.hi{ background:#059669; } .m-badge.mid{ background:#006AFF; }
  .m-badge.low{ background:#d97706; } .m-badge.vlow{ background:#64748b; }
  .m-card-body{ padding:14px 16px 16px; }
  .m-card-body h4{ font-size:1.08rem; font-weight:800; color:#0f172a; margin:0 0 4px; letter-spacing:-.02em; }
  .m-meta{ font-size:.85rem; color:var(--muted); }
  .m-price{ font-size:1.2rem; font-weight:900; color:#0f172a; margin-top:8px; letter-spacing:-.02em; }
  .m-why{ display:flex; flex-wrap:wrap; gap:6px; margin-top:11px; }
  .m-why span{ font-size:.7rem; font-weight:700; color:#0369a1; background:#e0f2fe; padding:3px 9px; border-radius:99px; }

  /* sidebar — lower matches */
  .m-side{ background:#f8fafc; border:1px solid var(--line); border-radius:16px; padding:8px 16px 12px; position:sticky; top:80px; }
  .m-side-item{ padding:11px 0; border-bottom:1px solid #eef2f7; }
  .m-side-item:last-child{ border-bottom:0; }
  .m-side-thumb{ width:48px; height:48px; flex:0 0 auto; border-radius:9px; background:#e8eef7 center/cover no-repeat; }
  .m-side-thumb[data-noimg]{ background:linear-gradient(135deg,#1e3a8a,#3b82f6); }
  .m-side-info{ display:flex; flex-direction:column; min-width:0; }
  .m-side-info b{ font-size:.88rem; font-weight:700; color:#0f172a; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .m-side-info small{ font-size:.78rem; color:var(--muted); }
  .m-side-score{ margin-left:auto; font-weight:800; font-size:.85rem; }
  .m-side-score.low{ color:#d97706; } .m-side-score.vlow{ color:#64748b; }
  .m-loading,.m-empty{ grid-column:1/-1; color:var(--muted); font-size:.95rem; padding:18px 0; display:flex; align-items:center; gap:10px; }

  /* card action strip: like / dislike / favorite / contact */
  .m-actions{ display:flex; gap:7px; margin-top:13px; flex-wrap:wrap; align-items:center; }
  .m-act{ display:inline-flex; align-items:center; gap:6px; padding:8px 11px; border:1px solid var(--line); border-radius:10px; background:#fff; color:#475569; font-family:inherit; font-weight:700; font-size:.82rem; cursor:pointer; transition:transform .12s, box-shadow .12s, background .15s, color .15s, border-color .15s; }
  .m-act:hover{ transform:translateY(-1px); box-shadow:0 3px 9px rgba(2,32,71,.1); }
  .m-act:disabled{ opacity:.55; cursor:wait; }
  .m-act .m-c{ font-variant-numeric:tabular-nums; }
  .m-act.m-like.on{ background:#ecfdf5; border-color:#059669; color:#059669; }
  .m-act.m-dislike.on{ background:#fef2f2; border-color:#ef4444; color:#ef4444; }
  .m-act.m-fav.on{ background:#fdf2f8; border-color:#db2777; color:#db2777; }
  .m-act.m-contact-btn{ margin-left:auto; background:var(--blue); border-color:var(--blue); color:#fff; }
  .m-act.m-contact-btn:hover{ background:var(--blue-d); }
  .m-actions-sm{ margin-top:9px; gap:5px; }
  .m-actions-sm .m-act{ padding:5px 8px; font-size:.74rem; border-radius:8px; }
  /* inline contact form */
  .m-cf{ margin-top:10px; }
  .m-cf textarea{ width:100%; box-sizing:border-box; border:1px solid var(--line); border-radius:10px; padding:9px 11px; font-family:inherit; font-size:.86rem; line-height:1.4; resize:vertical; color:#0f172a; }
  .m-cf textarea:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(0,106,255,.12); }
  .m-cf-row{ display:flex; align-items:center; gap:10px; margin-top:8px; }
  .m-cf-send{ border:0; border-radius:10px; background:var(--blue); color:#fff; font-weight:800; font-size:.84rem; padding:9px 16px; cursor:pointer; }
  .m-cf-send:hover{ background:var(--blue-d); }
  .m-cf-send:disabled{ opacity:.6; cursor:default; }
  .m-cf-msg{ font-size:.8rem; font-weight:700; }
  .m-side-row{ display:flex; align-items:center; gap:11px; }
  /* seller-finance promo (top of sidebar) — high-contrast clickbait card */
  @keyframes mPromoGlow{ 0%,100%{ box-shadow:0 10px 26px rgba(245,158,11,.34); } 50%{ box-shadow:0 14px 40px rgba(245,158,11,.62); } }
  @keyframes mPromoPulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.04); } }
  .m-promo{ position:relative; overflow:hidden; color:#fff; border-radius:16px; padding:18px 16px 18px; margin:0 -4px 18px;
    background:linear-gradient(150deg,#0b2a72 0%, #0a57d6 55%, #f59e0b 230%);
    border:2px solid #fbbf24; animation:mPromoGlow 2.6s ease-in-out infinite; }
  .m-promo::after{ content:''; position:absolute; right:-50px; top:-50px; width:150px; height:150px; border-radius:50%; background:radial-gradient(circle, rgba(251,191,36,.45), transparent 70%); pointer-events:none; }
  .m-promo > *{ position:relative; z-index:1; }
  .m-promo-badge{ display:inline-block; background:#fbbf24; color:#3a2400; font-weight:900; font-size:.66rem; letter-spacing:.08em; text-transform:uppercase; padding:4px 10px; border-radius:99px; margin-bottom:10px; }
  .m-promo h4{ margin:0 0 7px; font-size:1.12rem; font-weight:900; letter-spacing:-.02em; line-height:1.18; color:#fff; }
  .m-promo p{ margin:0 0 14px; font-size:.82rem; line-height:1.5; color:#e8f0ff; }
  .m-promo p b{ color:#fde68a; }
  .m-promo-cta{ display:flex; align-items:center; justify-content:center; gap:8px; width:100%; box-sizing:border-box;
    background:linear-gradient(180deg,#fde047,#f59e0b); color:#3a2400; font-weight:900; font-size:.9rem; text-decoration:none;
    padding:12px 15px; border-radius:11px; box-shadow:0 6px 16px rgba(0,0,0,.25); animation:mPromoPulse 2.2s ease-in-out infinite; transition:filter .15s; }
  .m-promo-cta:hover{ filter:brightness(1.06); animation-play-state:paused; }
  .m-promo-cta i{ font-size:.82em; transition:transform .15s; }
  .m-promo-cta:hover i{ transform:translateX(4px); }

  /* clickable match cards → listing detail page */
  .m-card-link{ display:block; text-decoration:none; color:inherit; }
  .m-card-photo{ overflow:hidden; }
  .m-card-link .m-card-photo > span.m-badge{ z-index:2; }
  .m-card:hover .m-card-photo{ transform:scale(1.04); transition:transform .35s; }
  .m-card-link:hover h4{ color:var(--blue); }
  .m-card-foot{ padding:0 16px 16px; }
  .m-side-link{ display:block; text-decoration:none; color:inherit; }
  .m-side-link:hover .m-side-info b{ color:var(--blue); }

  /* secondary "browse all inventory" promo (under the seller-finance block) */
  .m-promo2{ animation:none; background:linear-gradient(150deg,#0b2a72,#0a57d6); border-color:#3b82f6; }
  .m-promo2::after{ display:none; }
  .m-promo2 .m-promo-cta{ background:#fff; color:#0a3aa0; animation:none; box-shadow:0 6px 16px rgba(0,0,0,.18); }

  /* zero-state banner (main content, when there are no matches at all) */
  .m-zero{ grid-column:1/-1; text-align:center; background:linear-gradient(160deg,#f8fbff,#eef4ff); border:1px solid #d6e4ff; border-radius:22px; padding:48px 28px; }
  .m-zero-ic{ width:74px; height:74px; margin:0 auto 18px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:2rem; color:#0a57d6; background:#e0ecff; }
  .m-zero h3{ font-size:clamp(1.5rem,2.6vw,2rem); font-weight:900; letter-spacing:-.03em; color:#0f172a; margin:0 0 10px; }
  .m-zero > p{ color:var(--muted); font-size:1.05rem; max-width:620px; margin:0 auto 28px; line-height:1.55; }
  .m-zero-opts{ display:grid; grid-template-columns:1fr 1fr; gap:18px; max-width:760px; margin:0 auto; }
  .m-zero-card{ display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:5px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:24px; text-decoration:none; box-shadow:0 6px 18px rgba(2,32,71,.07); transition:transform .2s, box-shadow .2s, border-color .2s; }
  .m-zero-card:hover{ transform:translateY(-3px); box-shadow:0 18px 40px rgba(2,32,71,.14); border-color:#bcd4ff; }
  .m-zero-card .z-ic{ width:50px; height:50px; border-radius:13px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:8px; }
  .m-zero-card .z-ic.blue{ background:#e0ecff; color:#0a57d6; } .m-zero-card .z-ic.gold{ background:#fef3c7; color:#b45309; }
  .m-zero-card b{ font-size:1.12rem; color:#0f172a; letter-spacing:-.02em; }
  .m-zero-card small{ color:var(--muted); font-size:.9rem; line-height:1.45; }
  .m-zero-card .z-go{ margin-top:10px; font-weight:800; font-size:.9rem; color:#0a57d6; display:inline-flex; align-items:center; gap:7px; }
  .m-zero-card .z-go i{ transition:transform .15s; } .m-zero-card:hover .z-go i{ transform:translateX(4px); }
  @media (max-width:620px){ .m-zero-opts{ grid-template-columns:minmax(0,1fr); } }

  @media (max-width:1400px){ .m-grid{ grid-template-columns:1fr 1fr; } }
  @media (max-width:1100px){
    .m-layout{ grid-template-columns:minmax(0,1fr); }
    .m-side{ position:static; }
    .m-grid{ grid-template-columns:repeat(3,1fr); }
  }
  @media (max-width:880px){ .wz-shell.is-matches .wz-main{ padding:22px 16px 56px; } }
  @media (max-width:760px){ .m-grid{ grid-template-columns:1fr 1fr; } }
  @media (max-width:480px){ .m-grid{ grid-template-columns:minmax(0,1fr); } }
