
    /* ---------- homepage live search ---------- */
    .eh-search{ width:100%; max-width:760px; margin:6px auto 16px; padding:0 12px; box-sizing:border-box; }
    .eh-search-form{ position:relative; display:flex; align-items:center; margin:0; }
    .eh-search-ic{ position:absolute; left:16px; top:50%; transform:translateY(-50%); color:#94a3b8; pointer-events:none; transition:color .2s ease; }
    .eh-search-form:focus-within .eh-search-ic{ color:#2563eb; }
    input.eh-search-input{
        width:100% !important; box-sizing:border-box !important; height:50px;
        padding:0 16px 0 46px !important; margin:0 !important;
        font-size:16px !important; font-weight:500; color:#0f172a;
        background:#ffffff !important; border:1.5px solid #dbe3ee !important; border-radius:16px !important;
        box-shadow:0 6px 20px -8px rgba(15,23,42,.16) !important; outline:none !important;
        -webkit-appearance:none; appearance:none;
        transition:border-color .2s ease, box-shadow .2s ease;
    }
    input.eh-search-input::placeholder{ color:#94a3b8; font-weight:400; font-size:14.5px; text-overflow:ellipsis; }
    input.eh-search-input:not(:placeholder-shown){ padding-right:84px !important; }   /* room for the clear button only while there is text */
    input.eh-search-input:focus{ border-color:#2563eb !important; box-shadow:0 0 0 4px rgba(37,99,235,.14), 0 8px 22px -8px rgba(37,99,235,.3) !important; }
    input.eh-search-input::-webkit-search-cancel-button{ -webkit-appearance:none; }
    .eh-search-clear{
        position:absolute; right:10px; top:50%; transform:translateY(-50%);
        width:30px; height:30px; border:0; border-radius:50%; padding:0; cursor:pointer;
        background:#eef2f7; color:#475569; font-size:12px; line-height:30px; text-align:center;
        -webkit-tap-highlight-color:transparent;
    }
    .eh-search-clear:hover{ background:#e2e8f0; }
    .eh-search-clear[hidden], .eh-search-spin[hidden], #eh-home-default[hidden], .eh-results[hidden]{ display:none !important; }
    .eh-search-spin{
        position:absolute; right:48px; top:50%; margin-top:-9px; width:18px; height:18px; border-radius:50%;
        border:2.5px solid #dbe3ee; border-top-color:#2563eb; animation:eh-spin .7s linear infinite;
    }
    @keyframes eh-spin{ to{ transform:rotate(360deg); } }

    .eh-results{ width:100%; max-width:1800px; margin:0 auto; box-sizing:border-box; }
    .eh-res-head{ padding:0 16px; }
    .eh-res-title{ font-size:15px; color:#334155; margin:4px 0 10px; }
    .eh-res-title strong{ color:#2563eb; font-size:17px; }
    .eh-res-title span{ color:#64748b; }
    .eh-chips{ display:flex; gap:7px; overflow-x:auto; padding:2px 0 8px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
    .eh-chips::-webkit-scrollbar{ display:none; }
    .eh-chip{
        flex:0 0 auto; border:1px solid #dbe3ee; background:#fff; color:#334155; border-radius:20px;
        padding:6px 12px; font-size:12.5px; font-weight:600; cursor:pointer; white-space:nowrap;
        -webkit-tap-highlight-color:transparent; transition:border-color .2s ease, color .2s ease;
    }
    .eh-chip b{ display:inline-block; min-width:18px; margin-left:4px; padding:0 6px; border-radius:10px; background:#eff6ff; color:#2563eb; font-size:11px; line-height:18px; text-align:center; }
    .eh-chip:hover{ border-color:#2563eb; color:#2563eb; }
    mark.eh-hit{ background:#fef08a; color:inherit; border-radius:3px; padding:0 1px; }
    .eh-empty{ text-align:center; padding:34px 16px 40px; color:#475569; }
    .eh-empty-ic{ font-size:38px; margin-bottom:6px; }
    .eh-empty-t{ font-size:17px; font-weight:700; color:#0f172a; margin-bottom:4px; }
    .eh-empty-s{ font-size:13.5px; margin-bottom:14px; }
    .eh-empty-btn{ border:1px solid #cfe0ff; background:#eff6ff; color:#2563eb; font-weight:700; font-size:13px; padding:8px 18px; border-radius:20px; cursor:pointer; }
    .eh-skel{ background:#fff; border:1px solid #eef1f6; border-radius:18px; padding:16px; box-shadow:0 4px 14px rgba(15,23,42,.05); }
    .eh-skel i, .eh-skel b{ display:block; border-radius:8px; background:linear-gradient(90deg,#eef2f7 25%,#f8fafc 50%,#eef2f7 75%); background-size:200% 100%; animation:eh-shimmer 1.2s linear infinite; }
    .eh-skel i{ width:45%; height:18px; margin-bottom:14px; }
    .eh-skel b{ height:44px; margin-bottom:9px; }
    @keyframes eh-shimmer{ to{ background-position:-200% 0; } }
    @media (max-width:700px){
        .eh-search{ padding:0 8px; margin:2px auto 12px; }
        input.eh-search-input{ height:44px; border-radius:14px !important; padding-left:42px !important; }
        input.eh-search-input::placeholder{ font-size:14px; }
        .eh-search-ic{ left:14px; width:16px; height:16px; }
        .eh-res-head{ padding:0 8px; }
        .eh-res-title{ font-size:13.5px; } .eh-res-title strong{ font-size:15px; }
    }

    /* ---------- top quick-nav ---------- */
    .eh-nav-section{
        container-type:inline-size; container-name:ehnav;
        width:100%; max-width:1800px; margin:0 auto 20px; padding:0 12px; box-sizing:border-box;
    }
    .eh-nav-row{
        --eh-gap:8px; --eh-per:3;
        display:flex; flex-wrap:wrap; justify-content:center; align-items:stretch;
        gap:var(--eh-gap); width:100%;
    }
    a.eh-nav-item, a.eh-nav-item:link, a.eh-nav-item:visited, a.eh-nav-item:hover, a.eh-nav-item:focus, a.eh-nav-item:active, a.eh-nav-item *{
        text-decoration:none !important;
    }
    .eh-nav-item{
        /* N per row; a short last row simply stretches to full width (flex-grow) */
        flex:1 1 calc((100% - (var(--eh-per) - 1) * var(--eh-gap)) / var(--eh-per) - .5px);
        min-width:0; box-sizing:border-box;
        display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
        text-align:center;
        background:#ffffff; border:1px solid #e9ecf4; border-radius:16px;
        padding:10px 6px; color:#0f1424;
        box-shadow:0 1px 2px rgba(15,20,36,.05), 0 1px 1px rgba(15,20,36,.04);
        transition:transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease;
    }
    .eh-nav-item:hover{ transform:translateY(-4px); box-shadow:0 20px 34px -14px rgba(15,20,36,.20), 0 6px 14px -6px rgba(15,20,36,.10); }
    .eh-nav-icon{
        width:34px; height:34px; flex-shrink:0;
        border-radius:12px; background:#eef2f8; display:flex; align-items:center; justify-content:center;
        font-size:16px; line-height:1; position:relative;
    }
    .eh-nav-icon img{ width:62%; height:62%; object-fit:contain; display:block; }
    .eh-nav-icon.eh-nav-live::after{ content:""; position:absolute; top:-1px; right:-1px; width:7px; height:7px; border-radius:50%; background:#e8590c; box-shadow:0 0 0 2px #fff; }
    .eh-nav-text{ display:flex; flex-direction:column; align-items:center; width:100%; min-width:0; line-height:1.25; }
    .eh-nav-label{
        display:block; width:100%; min-width:0;
        font-weight:800; font-size:12px;
        white-space:nowrap; overflow:hidden; text-align:center;
    }
    .eh-nav-sub{ display:none; width:100%; font-size:11px; font-weight:500; color:#818a9c; margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-align:center; }

    /* v2.9.3 — PHONE: the buttons sit in exactly 2 neat rows (no lonely last button). 10 buttons = 5 per row;
       more than that swipe sideways, still 2 rows. */
    @container ehnav (max-width:519px){
        .eh-nav-row{
            display:grid; grid-auto-flow:column; grid-template-rows:repeat(2,auto);
            grid-template-columns:repeat(var(--eh-cols,5),minmax(0,1fr)); grid-auto-columns:minmax(0,1fr);
            gap:var(--eh-gap); justify-content:start; align-items:stretch;
            overflow:visible; padding:6px 2px 8px; box-sizing:border-box;
        }
        .eh-nav-row::-webkit-scrollbar{ display:none; }
        .eh-nav-item{ flex:none; scroll-snap-align:start; padding:9px 2px 8px; gap:6px; border-radius:15px; }
        .eh-nav-item:hover{ transform:none; }
        .eh-nav-icon{ width:34px; height:34px; font-size:16px; border-radius:12px; }
        .eh-nav-text{ flex:1 1 auto; justify-content:center; }
        .eh-nav-label{ display:flex; align-items:center; justify-content:center; white-space:normal; overflow:visible; font-size:clamp(9.5px,2.8vw,10.5px); line-height:1.2; min-height:2.4em; text-align:center; letter-spacing:-.1px; overflow-wrap:normal; word-break:normal; hyphens:none; }
        /* v2.9.10 - phone: tighter gaps + side padding removed so all 10 tiles fit edge to edge and the text is not cut */
        .eh-nav-row{ --eh-gap:5px; padding:6px 0 8px; }
        .eh-nav-item{ padding:9px 1px 8px; }
    }
    /* v2.9.13 - phone: modern tiles, all 10 visible at once (no sideways swipe) */
    @media(max-width:519px){
        .eh-nav-section{ padding:0 4px; }
        .eh-nav-row{ --eh-gap:6px !important; }
        .eh-nav-item{ border-radius:16px; border:1px solid #edf0f7; background:linear-gradient(180deg,#ffffff,#f7f9fd); box-shadow:0 6px 14px -8px rgba(15,20,36,.22), 0 1px 2px rgba(15,20,36,.05); padding:9px 1px 8px; }
        .eh-nav-icon{ width:34px; height:34px; border-radius:12px; background:linear-gradient(145deg,#eef2ff,#e3e9f8); }
        .eh-nav-item:active{ transform:scale(.96); }
    }

    @container ehnav (min-width:520px){
        .eh-nav-row{ --eh-per:5; --eh-gap:10px; }
        .eh-nav-item{ padding:12px 8px; }
        .eh-nav-label{ font-size:13px; }
    }
    @container ehnav (min-width:1000px){
        .eh-nav-row{ --eh-per:var(--eh-n); --eh-gap:12px; }
        .eh-nav-icon{ width:38px; height:38px; font-size:18px; }
    }
    @container ehnav (min-width:1400px){
        .eh-nav-label{ font-size:14px; }
        .eh-nav-sub{ display:block; }
    }

    /* ---------- category-box grid ---------- */
    /* FIXED, EQUAL layout: every box is exactly the same width as its neighbours,
       the gaps are identical in both directions, and boxes in a row stretch to the
       same height (footer button pinned to the bottom) — whether a category has 1
       post or 20. !important so no theme / Elementor rule can resize a box. */
    .eh-cat-grid{
        display:grid !important;
        grid-template-columns:repeat(3, minmax(0,1fr)) !important;
        gap:24px !important;
        align-items:stretch !important;
        justify-items:stretch !important;
        width:100%;
        max-width:1800px;
        margin:24px auto 0;
        padding:0 16px;
        box-sizing:border-box;
    }
    .eh-cat-grid > .eh-cat-cell{
        display:flex !important; float:none !important;
        width:100% !important; max-width:none !important; min-width:0 !important;
        margin:0 !important; padding:0 !important; box-sizing:border-box;
    }
    .eh-cat-cell{ text-align:left; }
    .eh-cat-cell > .sy-box{
        flex:1 1 auto !important;
        display:flex !important; flex-direction:column;
        width:100% !important; max-width:none !important; min-width:0 !important; margin:0 !important;
    }
    .eh-cat-cell > .sy-box > .sy-list{ flex:1 1 auto; }
    .eh-cat-cell > .sy-box > .sy-footer{ margin-top:auto; }

    @media (max-width:1100px) and (min-width:701px){
        .eh-cat-grid{ grid-template-columns:repeat(2, minmax(0,1fr)) !important; gap:18px !important; }
    }

    /* ---------- PHONE ----------
       Compact + narrow: minimal side gaps, light (not heavy-bold) text, month
       shown as 3 letters (22 Sep 2026), title up to 5 lines (was 2), date on ONE line
       (a tiny script shrinks it a touch if it still would not fit), tags on
       their own tidy row. Only the first N cards of each box show. */
    @media (max-width:700px){
        /* v2.10.5 - edge-to-edge on phones: the theme side padding is cancelled, only a 5px gap is left on each side */
        .eh-cat-grid{ grid-template-columns:repeat(var(--eh-mcols,2), minmax(0,1fr)) !important; gap:6px !important; padding:0 5px !important; margin-top:16px;
            width:100vw !important; max-width:100vw !important; margin-left:calc(50% - 50vw) !important; margin-right:calc(50% - 50vw) !important; box-sizing:border-box !important; }
        .eh-cat-grid .sy-mob-hide{ display:none !important; }
        .eh-cat-grid .sy-d-full{ display:none; }
        .eh-cat-grid .sy-d-short{ display:inline; }

        .eh-cat-grid .sy-box{ border-radius:14px; }
        .eh-cat-grid .sy-header{ padding:9px 8px; gap:6px; }
        .eh-cat-grid .sy-header-orb{ width:26px; height:26px; font-size:13px; box-shadow:0 0 0 3px rgba(20,184,166,.12); animation:none; }
        .eh-cat-grid .sy-header-text{ font-size:clamp(12px, 3.3vw, 13.5px); font-weight:700; letter-spacing:0; flex:1 1 auto; min-width:0; }
        .eh-cat-grid .sy-header-count{ font-size:10px; padding:2px 7px; }
        .eh-cat-grid .sy-search-inline, .eh-cat-grid .sy-search-toggle{ display:none; }

        .eh-cat-grid .sy-list{ padding:8px 4px 2px 12px; }
        .eh-cat-grid .sy-timeline-line{ left:3px; top:10px; bottom:10px; }
        .eh-cat-grid .sy-dot{ left:-11px; top:11px; width:6px; height:6px; box-shadow:0 0 0 2px rgba(20,184,166,.18); }
        .eh-cat-grid .sy-post{ margin-bottom:7px; }
        .eh-cat-grid .sy-card{ padding:7px 7px; gap:0; border-radius:9px; }
        .eh-cat-grid .sy-card-arrow{ display:none; }
        .eh-cat-grid .sy-card-body{ gap:4px; min-width:0; }

        .eh-cat-grid .sy-post-title{ font-size:clamp(11px, 3.05vw, 12.5px); font-weight:600 !important; line-height:1.28; }
        .eh-cat-grid .sy-title-text{
            display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:5; line-clamp:5; overflow:hidden;
            overflow-wrap:break-word; word-break:normal; hyphens:auto; -webkit-hyphens:auto;
        }
        .eh-cat-grid .sy-badge-new{ font-size:7.5px; padding:1px 4px; margin-left:4px; }
        /* NEW badge: the title is clamped to 2 lines on a phone, which cut the
           in-title NEW off. Hide that copy here and show the one that sits in the
           tag row instead, so NEW + a second tag (Upcoming / Closing Soon ...)
           are both always visible. */
        .eh-cat-grid .sy-badge-new.sy-new-inline{ display:none !important; }
        .eh-cat-grid .sy-badge-new.sy-new-pill{ display:inline-block !important; margin-left:0; font-size:8.5px; padding:1px 6px; line-height:1.5; }
        .eh-cat-grid .sy-badge-new.sy-new-corner{ top:5px; right:6px; margin:0; font-size:7.5px; padding:1px 5px; }
        .eh-cat-grid .sy-has-new .sy-post-title{ padding-right:30px; }

        .eh-cat-grid .sy-meta{ flex-direction:column; align-items:flex-start; gap:4px; min-width:0; max-width:100%; }
        .eh-cat-grid .sy-date{ font-size:clamp(9px, 2.6vw, 10.5px); font-weight:500; gap:3px; max-width:100%; overflow:hidden; letter-spacing:-.1px; }
        .eh-cat-grid .sy-date-icon{ display:none; }
        .eh-cat-grid .sy-tags{ gap:4px; }
        .eh-cat-grid .sy-tag{ font-size:8.5px; padding:1px 6px; font-weight:600; }
        .eh-cat-grid .sy-footer{ padding:8px; }
        .eh-cat-grid .sy-btn{ padding:7px 12px; font-size:11px; }

        /* ---- optional: 1 box per row (a bit bigger, still compact) ---- */
        .eh-cat-grid.eh-cols-1 .sy-header{ padding:11px 12px; }
        .eh-cat-grid.eh-cols-1 .sy-header-orb{ width:30px; height:30px; font-size:15px; }
        .eh-cat-grid.eh-cols-1 .sy-header-text{ font-size:15px; }
        .eh-cat-grid.eh-cols-1 .sy-search-inline, .eh-cat-grid.eh-cols-1 .sy-search-toggle{ display:flex; }
        .eh-cat-grid.eh-cols-1 .sy-list{ padding:10px 8px 4px 22px; }
        .eh-cat-grid.eh-cols-1 .sy-timeline-line{ left:10px; }
        .eh-cat-grid.eh-cols-1 .sy-dot{ left:-16px; width:7px; height:7px; }
        .eh-cat-grid.eh-cols-1 .sy-card{ padding:9px 11px; }
        .eh-cat-grid.eh-cols-1 .sy-post-title{ font-size:clamp(12.5px, 3.5vw, 14px); }
        .eh-cat-grid.eh-cols-1 .sy-date{ font-size:clamp(10.5px, 3vw, 11.5px); }
        .eh-cat-grid.eh-cols-1 .sy-tag{ font-size:9.5px; padding:2px 8px; }
    }
    @media (prefers-reduced-motion: reduce){
        .eh-nav-item{ transition:none !important; }
    }

    /* ---------- BOTTOM BAR (v2.8.0 — glass dock stuck to the bottom edge, swipeable) ----------
       Phone: a glass dock attached to the bottom edge (rounded top corners). The first ~4½ buttons are visible;
       swipe sideways to reveal more categories (the half-visible button is the hint).
       Desktop / tablet-wide: the separate floating pill below is used instead. */
    .eh-bbar{ display:none; }
    a.eh-bb-item, a.eh-bb-item:link, a.eh-bb-item:visited, a.eh-bb-item:hover, a.eh-bb-item:active{ text-decoration:none !important; }
    .eh-bb-track{
        position:relative; display:flex; align-items:stretch; gap:2px;
        overflow-x:auto; overflow-y:hidden;
        -webkit-overflow-scrolling:touch; scrollbar-width:none; overscroll-behavior-x:contain; touch-action:pan-x pan-y;
        padding:6px 6px;
    }
    .eh-bb-track::-webkit-scrollbar{ display:none; }
    .eh-bb-item{
        position:relative; flex:1 1 0; min-width:0;
        display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
        color:#64748b; padding:5px 2px 4px; border-radius:16px;
        -webkit-tap-highlight-color:transparent;
        transition:color .25s ease, transform .2s ease, flex-basis .55s cubic-bezier(.22,1,.36,1), opacity .4s ease, padding .5s ease;
    }
    .eh-bbar.has-more .eh-bb-item{ flex:0 0 22.2%; }
    .eh-bb-ic{
        width:46px; height:32px; border-radius:12px;
        display:flex; align-items:center; justify-content:center;
        font-size:20px; line-height:1; background:transparent;
        transition:background .28s ease, transform .3s cubic-bezier(.34,1.5,.5,1), box-shadow .28s ease;
    }
    .eh-bb-ic img{ width:22px; height:22px; object-fit:contain; display:block; }
    .eh-bb-lb{
        display:block; width:100%; text-align:center;
        font-size:11px; font-weight:600; line-height:1.2; letter-spacing:.1px;
        white-space:nowrap; overflow:hidden; text-overflow:clip;
    }
    .eh-bb-item.is-active{ color:#1d4ed8; }
    .eh-bb-item.is-active .eh-bb-ic{
        background:linear-gradient(135deg,#2563eb,#60a5fa);
        box-shadow:0 8px 16px -6px rgba(37,99,235,.65);
        transform:translateY(-3px) scale(1.04);
        filter:drop-shadow(0 1px 0 rgba(255,255,255,.35));
    }
    .eh-bb-item.is-active .eh-bb-lb{ font-weight:800; }
    .eh-bb-item.is-active::after{
        content:""; position:absolute; bottom:-1px; left:50%; width:5px; height:5px; margin-left:-2.5px;
        border-radius:50%; background:#2563eb; opacity:.9;
    }
    .eh-bb-item:active .eh-bb-ic{ transform:scale(.9); }
    .eh-bb-item:not(.is-active):active{ color:#0f172a; }

    @media (max-width:768px){
        body.eh-has-bbar{ padding-bottom:calc(68px + env(safe-area-inset-bottom, 0px)) !important; }
        .eh-bbar{
            display:block;
            position:fixed; left:0; right:0; bottom:0; z-index:99990;
            box-sizing:border-box; border-radius:22px 22px 0 0; overflow:hidden;
            padding-bottom:env(safe-area-inset-bottom, 0px);
            margin:0 auto; contain:layout paint; will-change:width, bottom;
            background:rgba(255,255,255,.93);
            -webkit-backdrop-filter:saturate(180%) blur(18px); backdrop-filter:saturate(180%) blur(18px);
            border-top:1px solid rgba(203,213,225,.8);
            box-shadow:0 -10px 30px -12px rgba(15,23,42,.28), 0 -2px 8px rgba(15,23,42,.05), inset 0 1px 0 rgba(255,255,255,.95);
            animation:eh-bb-in .6s cubic-bezier(.22,1,.36,1) backwards;
            width:100%;
            transition:width .5s cubic-bezier(.22,1,.36,1), bottom .5s cubic-bezier(.22,1,.36,1),
                       border-radius .45s ease, box-shadow .4s ease;
        }
        .eh-bbar.is-settled, .eh-bbar.is-settled.is-min{ animation:none !important; }
        /* v2.9.36 - while the dock is morphing, drop the blur (heavy on phones = the glitch) and use a solid glass colour */
        .eh-bbar.is-anim{ -webkit-backdrop-filter:none !important; backdrop-filter:none !important; background:rgba(255,255,255,.98) !important; }
        .eh-bbar.is-anim .eh-bb-ic{ animation:none !important; }
        @media (prefers-reduced-motion:reduce){ .eh-bbar, .eh-bbar *{ animation:none !important; transition-duration:.01ms !important; } }
        /* v2.9.31/36 - collapsed: only the pinned button (Tools), as a small floating pill at the bottom centre (v2.9.36: smaller, no more jump/replay).
           Scroll past the category tiles and the pill grows into the full dock, the other buttons popping in one by one. */
        .eh-bbar.is-min{
            width:74px; bottom:calc(10px + env(safe-area-inset-bottom, 0px));
            border-radius:20px; padding-bottom:0; border:1px solid rgba(203,213,225,.75);
            animation-name:eh-bb-in;
            box-shadow:0 10px 24px -10px rgba(15,23,42,.32), 0 2px 6px rgba(15,23,42,.07), inset 0 1px 0 rgba(255,255,255,.95);
        }
        .eh-bbar.is-min .eh-bb-track{ padding:4px; }
        .eh-bbar.is-min .eh-bb-item.is-pin{ padding:2px 0 3px; gap:2px; }
        .eh-bbar.is-min .eh-bb-item.is-pin .eh-bb-ic{ width:34px; height:24px; border-radius:9px; font-size:15px; }
        .eh-bbar.is-min .eh-bb-item.is-pin .eh-bb-ic img{ width:17px; height:17px; }
        .eh-bbar.is-min .eh-bb-item.is-pin .eh-bb-lb{ font-size:10px; }
        .eh-bbar.is-min::before, .eh-bbar.is-min::after{ opacity:0 !important; }
        .eh-bbar:not(.is-min) .eh-bb-item{ transition-delay:0ms, 0ms, calc(var(--i, 0) * 40ms), calc(var(--i, 0) * 40ms), calc(var(--i, 0) * 40ms); }
        .eh-bbar.is-min .eh-bb-track{ overflow:hidden; gap:0; }
        .eh-bbar.is-min .eh-bb-item:not(.is-pin){
            flex:0 0 0% !important; min-width:0; padding-left:0; padding-right:0; opacity:0; pointer-events:none; overflow:hidden; transition-delay:0ms;
        }
        .eh-bbar.is-min .eh-bb-item.is-pin{ flex:1 1 100% !important; }
        .eh-bbar.is-min .eh-bb-item.is-pin .eh-bb-ic{ background:linear-gradient(135deg,#eff6ff,#dbeafe); animation:eh-db-bob 2.6s ease-in-out infinite; }
        .eh-bbar.is-min .eh-bb-item.is-pin .eh-bb-lb{ color:#1d4ed8; font-weight:800; }
        /* very soft edge fade: the half-visible button + fade say "swipe for more" */
        .eh-bbar::before, .eh-bbar::after{
            content:""; position:absolute; top:0; bottom:0; width:22px; z-index:2; pointer-events:none;
            opacity:0; transition:opacity .25s ease;
        }
        .eh-bbar::before{ left:0;  background:linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,0)); }
        .eh-bbar::after { right:0; background:linear-gradient(270deg, rgba(255,255,255,.95), rgba(255,255,255,0)); }
        .eh-bbar.can-l::before, .eh-bbar.can-r::after{ opacity:1; }
    }
    @keyframes eh-bb-in{ from{ opacity:0; transform:translateY(120%); } to{ opacity:1; transform:none; } }
    @media (prefers-reduced-motion: reduce){
        .eh-bbar, .eh-bb-ic, .eh-bb-item{ animation:none !important; transition:none !important; }
    }
    /* ---------- DESKTOP FLOATING BAR (slim pill, bottom centre) ----------
       Home page at the very top: only the pinned button (Tools) shows.
       Scroll down / open any other page: the rest slide out one by one. */
    .eh-dbar{ display:none; }
    @media (min-width:769px){
        body.eh-has-dbar{ padding-bottom:84px !important; }
        .eh-dbar{
            display:flex; align-items:center; gap:2px;
            position:fixed; left:50%; bottom:18px; z-index:99990;
            transform:translateX(-50%);
            padding:5px; box-sizing:border-box; max-width:calc(100vw - 32px);
            background:rgba(255,255,255,.80);
            -webkit-backdrop-filter:saturate(180%) blur(16px); backdrop-filter:saturate(180%) blur(16px);
            border:1px solid rgba(203,213,225,.7); border-radius:999px;
            box-shadow:0 14px 38px -12px rgba(15,23,42,.30), 0 2px 8px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.9);
            animation:eh-db-in .6s cubic-bezier(.22,1,.36,1) both;
        }
        a.eh-db-item, a.eh-db-item:link, a.eh-db-item:visited, a.eh-db-item:hover, a.eh-db-item:active{ text-decoration:none !important; }
        .eh-db-item{
            position:relative; display:inline-flex; align-items:center; gap:8px; flex:0 0 auto;
            height:38px; padding:0 18px; border-radius:999px; overflow:hidden;
            max-width:190px; opacity:1; transform:none;
            color:#475569; font-size:13.5px; font-weight:600; letter-spacing:.1px; white-space:nowrap;
            transition:max-width .6s cubic-bezier(.22,1,.36,1), padding .5s cubic-bezier(.22,1,.36,1),
                       opacity .4s ease, transform .5s cubic-bezier(.34,1.4,.5,1), background .25s ease, color .25s ease, box-shadow .25s ease;
            transition-delay:calc(var(--i, 0) * 45ms);
            -webkit-tap-highlight-color:transparent;
        }
        .eh-db-ic{ display:inline-flex; align-items:center; justify-content:center; font-size:17px; line-height:1; transition:transform .35s cubic-bezier(.34,1.6,.5,1); }
        .eh-db-ic img{ width:18px; height:18px; object-fit:contain; display:block; }
        .eh-db-item:hover{ background:#f1f5f9; color:#0f172a; }
        .eh-db-item:hover .eh-db-ic{ transform:translateY(-2px) scale(1.18) rotate(-6deg); }
        .eh-db-item.is-active{
            color:#fff;
            background:linear-gradient(135deg,#2563eb,#60a5fa);
            box-shadow:0 8px 18px -8px rgba(37,99,235,.7);
        }
        .eh-db-item.is-active:hover{ color:#fff; background:linear-gradient(135deg,#1d4ed8,#3b82f6); }

        /* collapsed: everything except the pinned button folds away */
        .eh-dbar.is-min .eh-db-item:not(.is-pin){
            max-width:0; padding:0; opacity:0; transform:scale(.55); pointer-events:none; transition-delay:0ms;
        }
        .eh-dbar.is-min{ gap:0; }
        .eh-dbar.is-min .eh-db-item.is-pin{ color:#1d4ed8; background:linear-gradient(135deg,#eff6ff,#dbeafe); animation:eh-db-pulse 2.6s ease-in-out infinite; }
        .eh-dbar.is-min .eh-db-item.is-pin .eh-db-ic{ animation:eh-db-bob 2.6s ease-in-out infinite; }

        /* entrance for pages where the bar opens straight away */
        .eh-dbar:not(.is-min) .eh-db-item{ animation:eh-db-pop .6s cubic-bezier(.34,1.4,.5,1) both; animation-delay:calc(var(--i, 0) * 60ms + 120ms); }
    }
    @keyframes eh-db-in{ from{ opacity:0; transform:translate(-50%,26px) scale(.92); } to{ opacity:1; transform:translate(-50%,0) scale(1); } }
    @keyframes eh-db-pop{ from{ opacity:0; transform:translateY(10px) scale(.8); } to{ opacity:1; transform:none; } }
    @keyframes eh-db-pulse{ 0%,100%{ box-shadow:0 0 0 0 rgba(37,99,235,.35); } 50%{ box-shadow:0 0 0 8px rgba(37,99,235,0); } }
    @keyframes eh-db-bob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-2px); } }
    @media (prefers-reduced-motion: reduce){
        .eh-dbar, .eh-db-item, .eh-db-ic{ animation:none !important; transition:none !important; }
    }
    