﻿/* =========================
   BASE / DEFAULTS
   ========================= */

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

/* =========================
   BLAZOR ERROR UI
   ========================= */

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* =========================
   THEME + APP SHELL
   ========================= */

:root {
    /*--brand: #1F3A5F;*/
    --brand: #FFFFFF;
    --accent: #2563EB;
    /*--bg: #F5F7FA;*/
    --bg: #FFFFFF;
    --card: #FFFFFF;
    --border: #E5E7EB;
    --text: #111827;
    --muted: #6B7280;
    --appbar-h: 60px;
    --bottomnav-h: 64px;
    /* Android fallback for status bar spacing */
    --mobile-top-inset-fallback: 28px;
}

body {
    background: var(--bg);
    color: var(--text);
}

.app-shell {
    min-height: 100vh;
}

/* Top AppBar */
.appbar {
    background: var(--brand);
    color: #fff;
    height: var(--appbar-h);
    display: flex;
    align-items: center;
}

.appbar-sticky {
    position: sticky;
    top: 0;
    z-index: 1020;
}

/* Main content spacing so it never hides behind bottom nav */
.app-content {
    padding-bottom: calc(var(--bottomnav-h) + 16px);
}

.app-content__inner {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* =========================
   MOBILE SAFE AREA (MAUI)
   ========================= */

/* Default: hidden (Web won't show spacer) */
.status-bar-safe-area {
    display: none;
}

/* Mobile only: reserve space above appbar for OS status bar */
.platform-mobile .status-bar-safe-area {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1021;
    background: #f8fbff;
    /* iOS supplies env(safe-area-inset-top); Android often returns 0 */
    height: env(safe-area-inset-top);
    min-height: var(--mobile-top-inset-fallback);
}

/*
 * Project View owns its sticky mobile header and the native host already
 * contributes any platform fallback inset. Keep the browser-provided iOS
 * safe-area value, but do not reserve the shell's additional 28px fallback.
 */
.platform-mobile .app-shell--project-view > .status-bar-safe-area {
    height: env(safe-area-inset-top, 0px);
    min-height: 0;
}

.platform-mobile {
    --appbar-h: 68px;
}

.platform-mobile .appbar {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(14, 165, 233, .14);
    box-shadow: 0 2px 12px rgba(15, 42, 92, .06);
}

.platform-mobile .appbar > .d-flex {
    min-height: 100%;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

/* =========================
   BOTTOM NAV (MOBILE)
   ========================= */

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--bottomnav-h);
    background: #0b0f16;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: stretch;
    z-index: 1030;
}

    .bottom-nav .container-fluid {
        height: 100%;
    }

    /* UL: lock to one row, center vertically, avoid WebView baseline quirks */
    .bottom-nav .nav {
        height: 100%;
        width: 100%;
        display: flex;
        flex-wrap: nowrap !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        /* IMPORTANT: do NOT rely on nav-fill (Blazor <!--!--> nodes can count as items) */
        justify-content: space-between !important;
    }

        /* Make ONLY LI participate in the flex sizing (ignore Blazor marker nodes) */
        .bottom-nav .nav > li.nav-item {
            flex: 1 1 0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            line-height: 0 !important; /* prevents stair-step baseline differences */
            min-width: 0;
        }

        /* Any non-LI direct children: take up no space (covers WebView comment-node behavior) */
        .bottom-nav .nav > :not(li.nav-item) {
            flex: 0 0 0 !important;
            width: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
        }

    /* Normalize Bootstrap's nav-link box model */
    .bottom-nav .nav-link {
        padding: 0 !important;
        border: 0;
        line-height: 1 !important;
    }

    /* The pill itself: fixed height + explicitly restore line-height */
    .bottom-nav .bottom-link {
        color: rgba(255,255,255,.75);
        border-radius: 999px;
        margin: 0 !important;
        padding: 8px 6px;
        height: calc(var(--bottomnav-h) - 12px) !important;
        width: 100% !important;
        max-width: 160px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        line-height: 1 !important;
        transform: translateZ(0);
    }

        /* Active styles */
        .bottom-nav .nav-pills .nav-link.active,
        .bottom-nav .nav-pills .show > .nav-link,
        .bottom-nav .bottom-link.active {
            color: #fff !important;
            background: rgba(255,255,255,.12) !important;
        }

/* Icon box normalization */
.bottom-ico {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
}

    .bottom-ico i {
        font-size: 18px;
        line-height: 1 !important;
        display: block;
    }

.bottom-txt {
    font-size: 12px;
    line-height: 12px;
}

.bottom-nav .bottom-txt {
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bottom-link-button {
    appearance: none;
    border: 0;
    font: inherit;
}

.auth-legal-links,
.beta-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: center;
    margin: 22px auto 0;
    font-size: 0.875rem;
}

    .auth-legal-links a,
    .beta-legal-links a {
        color: #475569;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.bottom-hello {
    max-width: 160px;
}





/* =========================
   CARDS / SECTIONS
   ========================= */

.card-soft {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

.section-header {
    font-weight: 700;
    font-size: 1.05rem;
}

.money {
    font-weight: 800;
    letter-spacing: .2px;
}

.kv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: .35rem 0;
}

    .kv .k {
        color: var(--muted);
        font-size: .9rem;
    }

    .kv .v {
        font-weight: 700;
    }

.disclosure {
    cursor: pointer;
    user-select: none;
    padding: .85rem 1rem;
}

    .disclosure:hover {
        background: rgba(0,0,0,.02);
    }

    .disclosure .chev {
        transition: transform 160ms ease-in-out;
    }

    .disclosure[aria-expanded="true"] .chev {
        transform: rotate(180deg);
    }

.child-row {
    padding: .6rem 1rem;
    border-top: 1px solid var(--border);
}

/* =========================
   WEB TOP NAV + SIDEBAR
   ========================= */

:root {
    --web-topnav-h: 88px; /* set the desktop header height you want */
}

/* apply only to your WebTopNav */
.web-topnav {
    height: var(--web-topnav-h);
    padding-top: 0;
    padding-bottom: 0;
}

    /* keep the logo from making the navbar taller than the set height */
    .web-topnav .navbar-brand img {
        max-height: calc(var(--web-topnav-h) - 16px) !important;
        height: auto;
        width: auto;
    }

/* sidebar starts below the top nav */
.web-sidebar {
    position: fixed;
    top: var(--web-topnav-h);
    left: 0;
    width: 16.6667%; /* col-lg-2 */
    height: calc(100vh - var(--web-topnav-h));
    overflow-y: auto;
    z-index: 1010;
}

.web-sidebar-dark {
    background: #0b0f16 !important;
}

    .web-sidebar-dark .sidebar-nav .sidebar-link {
        color: rgba(255,255,255,.75);
    }

        .web-sidebar-dark .sidebar-nav .sidebar-link:hover {
            background: rgba(255,255,255,.10);
            color: #fff;
        }


/* =========================
   SIDEBAR NAV (uses bottom-link look, but row-style)
   ========================= */

.sidebar-nav .sidebar-link {
    display: flex; /* row layout */
    flex-direction: row; /* override bottom nav's column layout */
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 12px;
    margin: 0; /* sidebar uses list gap */
    border-radius: 12px;
    color: rgba(0,0,0,.70); /* default for white sidebar */
    background: transparent;
}

/* icon sizing for sidebar */
.sidebar-nav .bottom-ico {
    width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 16px;
}

/* label */
.sidebar-nav .bottom-txt {
    font-size: 14px;
    line-height: 14px;
}

/* Hover */
.sidebar-nav .sidebar-link:hover {
    background: rgba(0,0,0,.05);
    color: rgba(0,0,0,.85);
}

/* Active pill state (match your bottom nav vibe) */
.sidebar-nav .sidebar-link.active {
    background: var(--accent);
    color: #fff !important;
    font-weight: 700;
}

    .sidebar-nav .sidebar-link.active .bottom-ico,
    .sidebar-nav .sidebar-link.active .bottom-txt,
    .sidebar-nav .sidebar-link.active i {
        color: #fff !important;
    }

    /* Active styles */
    .sidebar-nav .nav-pills .nav-link.active,
    .sidebar-nav .nav-pills .show > .nav-link,
    .sidebar-nav .bottom-link.active {
        color: #fff !important;
        background: rgba(255,255,255,.12) !important;
    }

/* Inactive icons inherit */
.sidebar-nav i {
    color: currentColor;
}


@media (min-width: 992px) {
    .navbar {
        min-height: 56px;
    }
}


:root {
    --mobile-bottom-inset-fallback: 34px; /* increase to 34px if still blocked */
}

/* Always lift the bottom nav on Mobile */
.platform-mobile .bottom-nav {
    background: linear-gradient(180deg, #10264b 0%, #071326 100%);
    border-top: 1px solid rgba(14, 165, 233, .26);
    box-shadow: 0 -10px 28px rgba(15, 42, 92, .22);
    padding-bottom: var(--mobile-bottom-inset-fallback);
    height: calc(var(--bottomnav-h) + var(--mobile-bottom-inset-fallback));
}

.platform-mobile .bottom-nav .bottom-link {
    color: rgba(255, 255, 255, .72);
}

.platform-mobile .bottom-nav .bottom-ico i {
    color: currentColor;
}

.platform-mobile .bottom-nav .nav-pills .nav-link.active,
.platform-mobile .bottom-nav .nav-pills .show > .nav-link,
.platform-mobile .bottom-nav .bottom-link.active {
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(37, 99, 235, .42), rgba(14, 165, 233, .20)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 16px rgba(0, 0, 0, .16);
}

.platform-mobile .bottom-nav__project .bottom-link {
    max-width: 92px;
}

.bottom-nav-project-more-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1031;
    background: rgba(15, 23, 42, .36);
}

.bottom-nav-project-more {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(var(--bottomnav-h) + var(--mobile-bottom-inset-fallback) + 8px);
    z-index: 1032;
    padding: 8px 10px 12px;
    border: 1px solid rgba(14, 165, 233, .28);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    box-shadow: 0 -16px 42px rgba(15, 42, 92, .24);
    max-height: calc(100vh - var(--bottomnav-h) - var(--mobile-bottom-inset-fallback) - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.bottom-nav-project-more__handle {
    width: 42px;
    height: 4px;
    margin: 0 auto 8px;
    border-radius: 999px;
    background: rgba(30, 58, 138, .24);
}

.bottom-nav-project-more__title {
    color: #1e3a8a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0 4px 8px;
}

.bottom-nav-project-more__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.bottom-nav-project-more__item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid rgba(14, 165, 233, .18);
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.bottom-nav-project-more__item i {
    width: 18px;
    color: #0ea5e9;
    text-align: center;
}

.bottom-nav-project-more__item.is-active {
    border-color: rgba(14, 165, 233, .46);
    background: #dbeafe;
    color: #1e3a8a;
}

.bottom-nav-project-more__item--dashboard {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 48px;
    border-color: rgba(30, 58, 138, .28);
    background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(30, 58, 138, .18);
}

.bottom-nav-project-more__item--dashboard i {
    color: #ffffff;
}

.bottom-nav-project-more__item--danger {
    grid-column: 1 / -1;
    justify-content: center;
}

.bottom-nav-project-more__item--danger i {
    color: #dc2626;
}

/* Ensure content clears the taller nav */
.platform-mobile .app-content {
    width: 100%;
    min-width: 0;
    padding-bottom: calc(var(--bottomnav-h) + var(--mobile-bottom-inset-fallback) + 16px);
}

.platform-mobile .app-content__inner {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 8px !important;
}

.platform-mobile .app-content__inner--fullbleed {
    padding: 0 !important;
}

html.comp-details-offcanvas-open,
body.comp-details-offcanvas-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

html.guided-scope-overlay-open,
body.guided-scope-overlay-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

body.platform-mobile .project-comps-panel__drawer-layer--details,
html.comp-details-offcanvas-open body.platform-mobile .project-comps-panel__drawer-layer--details {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    max-height: 100dvh !important;
    z-index: 2147483002 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    overflow: hidden !important;
    isolation: isolate;
}

body.platform-mobile .project-comps-panel__drawer-layer--details .project-comps-panel__drawer--details {
    position: relative !important;
    z-index: 1;
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

body.platform-mobile .project-comps-panel__drawer-layer--details .project-comps-panel__drawer-header {
    flex: 0 0 auto;
    padding-top: calc(14px + env(safe-area-inset-top, 0px)) !important;
}

body.platform-mobile .project-comps-panel__drawer-layer--details .project-comps-panel__drawer-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important;
    overscroll-behavior: contain;
}

/* iOS (or any env-capable UA with non-zero inset): prefer env() */
@supports (padding: env(safe-area-inset-bottom)) {
    .platform-mobile .bottom-nav {
        padding-bottom: max(env(safe-area-inset-bottom), var(--mobile-bottom-inset-fallback));
        height: calc(var(--bottomnav-h) + max(env(safe-area-inset-bottom), var(--mobile-bottom-inset-fallback)));
    }

    .platform-mobile .app-content {
        padding-bottom: calc(var(--bottomnav-h) + max(env(safe-area-inset-bottom), var(--mobile-bottom-inset-fallback)) + 16px);
    }

    .bottom-nav-project-more {
        bottom: calc(var(--bottomnav-h) + max(env(safe-area-inset-bottom), var(--mobile-bottom-inset-fallback)) + 8px);
    }
}


.app-toast-host {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    z-index: 9999;
    pointer-events: none;
}

.app-toast {
    pointer-events: auto;
    min-width: 280px;
    max-width: 560px;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.app-toast-body {
    flex: 1;
}

.app-toast-close {
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 18px;
    padding: 2px 6px;
    cursor: pointer;
    opacity: .7;
}

    .app-toast-close:hover {
        opacity: 1;
    }

/* Level styles */
.app-toast-info {
    background: #111827;
    color: #fff;
}

.app-toast-success {
    background: #064e3b;
    color: #fff;
}

.app-toast-warning {
    background: #78350f;
    color: #fff;
}

.app-toast-error {
    background: #7f1d1d;
    color: #fff;
}

/* Blazor Server reconnect overlay */
#components-reconnect-modal {
    display: none;
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-rejecting {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.25rem;
}

#components-reconnect-modal.components-reconnect-show::after {
    content: "Reconnecting…";
}

#components-reconnect-modal.components-reconnect-failed::after {
    content: "Connection lost. Please reload.";
}

#components-reconnect-modal.components-reconnect-rejected::after {
    content: "Session expired. Please reload.";
}

/* Google Maps hosts marker previews outside Blazor's scoped-style boundary. */
.opportunity-marker-preview {
    display: grid;
    grid-template-columns: 92px minmax(150px, 1fr);
    gap: .7rem;
    max-width: 330px;
    padding: .15rem;
    color: #14213d;
    font-family: inherit;
}

.opportunity-marker-preview > img {
    width: 92px;
    height: 78px;
    border-radius: 9px;
    object-fit: cover;
    background: #e9eef2;
}
.opportunity-marker-preview--no-image { grid-template-columns: minmax(190px, 1fr); }

.opportunity-marker-preview > div { display: grid; align-content: center; min-width: 0; }
.opportunity-marker-preview span,
.opportunity-marker-preview strong,
.opportunity-marker-preview small { display: block; }
.opportunity-marker-preview strong { overflow: hidden; margin: .15rem 0 .05rem; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.opportunity-marker-preview span:not(.strong):not(.potential),
.opportunity-marker-preview small { color: #607087; font-size: .72rem; }
.opportunity-marker-preview .strong,
.opportunity-marker-preview .potential { font-size: .58rem; font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.opportunity-marker-preview .strong { color: #520D15; }
.opportunity-marker-preview .potential { color: #8a3e04; }
.opportunity-marker-preview__freshness { color: #175b91 !important; font-weight: 800; margin-top: .16rem; }
.opportunity-marker-preview__freshness--recent { color: #526175 !important; }
.opportunity-marker-preview__action {
    align-items: center;
    background: #175b91;
    border: 1px solid #175b91;
    border-radius: 7px;
    color: #fff;
    display: inline-flex;
    font-family: inherit;
    font-size: .7rem;
    font-weight: 800;
    justify-content: center;
    margin-top: .35rem;
    min-height: 2rem;
    padding: .3rem .55rem;
    width: fit-content;
}
.opportunity-marker-preview__action:hover { background: #104a77; border-color: #104a77; }
.opportunity-marker-preview__action:focus-visible { outline: 3px solid rgba(23, 91, 145, .3); outline-offset: 2px; }
