
    .bx-pill {
        transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease,
                    border-color .18s ease, background-color .18s ease, color .18s ease;
        will-change: transform;
    }
    .bx-pill:hover  { transform: translateY(-1.5px); box-shadow: 0 8px 18px -8px rgba(15,23,42,.28); }
    .bx-pill:active { transform: translateY(0); box-shadow: 0 2px 6px -3px rgba(15,23,42,.25); }

    .bx-card { transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
    .bx-card:hover { box-shadow: 0 14px 34px -18px rgba(15,23,42,.22); }

    /* A list card that must read as its OWN object while scrolling: a soft resting float, and a clear
       "you are here" on hover (brand border + deeper shadow). No transform — a lift would create a
       stacking context that hides this card's open dropdowns behind the next card. */
    .bx-rowcard { transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease; }
    .bx-rowcard:hover { border-color: rgb(var(--brand-600-rgb, 37 99 235) / .5); box-shadow: 0 8px 24px -12px rgba(15,23,42,.22); }
    /* Dark mode is class-based (html.dark) here, and drop shadows don't read on a dark ground — so give
       each card a visible resting outline, and a clear brand ring on hover. !important beats the layout's
       global dark colour remaps. */
    html.dark .bx-rowcard { border-color: #27374d !important; box-shadow: none; }
    html.dark .bx-rowcard:hover { border-color: #34d399 !important; box-shadow: 0 0 0 1px rgba(52, 211, 153, .5) !important; }

    /* ===================== A <details> DROPDOWN MENU, ANYWHERE =====================
       These rules used to live in a <style> block inside messages/index.blade.php, while
       employer/jobs/applicants.blade.php used the same class names. That page never loaded the
       CSS, so its "..." menu rendered with no padding, no hover and at the page's base font size
       instead of 12px -- the owner's "those three dots and that list are looking broken"
       (16 Nov 2026). Shared styling has to live where every page can see it; the layout loads
       this partial, so here. */
    .thread-menu summary::-webkit-details-marker { display: none; }
    .thread-menu summary::marker { display: none; content: ''; }
    .thread-menu[open] summary ~ div { animation: menuFade 0.1s ease-out; }
    @keyframes menuFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
    .thread-menu-item { display:block; width:100%; text-align:left; padding:6px 12px; border:none; background:none; cursor:pointer; font-size:12px; font-weight:500; color:#334155; white-space:nowrap; }
    .thread-menu-item:hover { background:rgb(var(--slate-50-rgb, 248 250 252)); }
    /* The chevron on a labelled <details> trigger points down shut and up open, so the control
       says whether the list is showing without the reader having to look for the list. */
    .thread-menu[open] summary .bx-ic { transform: rotate(180deg); }

    /* Soft native select — no sharp default-HTML chrome, a quiet chevron, a smooth brand focus ring. */
    .bx-select {
        -webkit-appearance: none; -moz-appearance: none; appearance: none;
        background-color: rgb(var(--white-rgb, 255 255 255));
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat; background-position: right .6rem center; background-size: 1rem;
        padding-right: 2rem;
        border: 1px solid rgb(var(--slate-200-rgb, 226 232 240)); border-radius: .625rem;
        color: #475569; cursor: pointer;
        transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
    }
    .bx-select:hover { border-color: rgb(var(--slate-300-rgb, 203 213 225)); color: #334155; box-shadow: 0 2px 10px -5px rgba(15,23,42,.2); }
    .bx-select:focus {
        outline: none;
        border-color: rgb(var(--brand-600-rgb, 37 99 235));
        box-shadow: 0 0 0 3px rgb(var(--brand-600-rgb, 37 99 235) / .15);
    }

    /* ================= A FULL-SCREEN OVERLAY IS THE SCREEN, NOT THE DOCUMENT =================
       Owner, 8 Nov 2026, after a dialog ran off the side of his phone: "yes harden all 50 modals".

       `position: fixed; inset: 0` does NOT mean "the viewport" when the page overflows
       horizontally. Chrome resolves `right: 0` against the SCROLLABLE OVERFLOW AREA, so on a page
       that is 700px wide inside a 375px screen the overlay becomes 700px, and a `max-w-xl` dialog
       centred in it takes its full 576px at left 62 -- half of it off the edge. Measured in
       headless Chrome; the numbers matched the owner's screenshot exactly.

       Every centred dialog on the site is built this way: 69 `fixed inset-0` elements across 50
       views. So the rule lives here, once, instead of in 69 places where the next new modal would
       miss it anyway.

       SAFE EVERYWHERE, because `max-width` can only ever make the box NARROWER. On a page that
       does not overflow, a fixed `left:0;right:0` box is already the viewport excluding any
       scrollbar, which is <= 100vw, so this never binds and nothing moves. It binds only in the
       broken case, which is the point. */
    .fixed.inset-0 { max-width: 100vw; }

    /* Quiet, thin scrollbar inside soft dropdown panels (and anything marked .bx-scroll) so an
       8-item list doesn't get a heavy default bar that shifts the layout. */
    [role="listbox"], .bx-scroll { scrollbar-width: thin; scrollbar-color: rgba(100,116,139,.4) transparent; }
    [role="listbox"]::-webkit-scrollbar, .bx-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
    [role="listbox"]::-webkit-scrollbar-thumb, .bx-scroll::-webkit-scrollbar-thumb { background: rgba(100,116,139,.4); border-radius: 9999px; }
    [role="listbox"]::-webkit-scrollbar-track, .bx-scroll::-webkit-scrollbar-track { background: transparent; }

    @media (prefers-reduced-motion: reduce) {
        .bx-pill, .bx-pill:hover, .bx-pill:active, .bx-card, .bx-card:hover, .bx-select { transition: none; transform: none; }
    }
