/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-fi2vxu1hqu] {
    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[b-fi2vxu1hqu] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-vqmxv157va],
.components-reconnect-repeated-attempt-visible[b-vqmxv157va],
.components-reconnect-failed-visible[b-vqmxv157va],
.components-pause-visible[b-vqmxv157va],
.components-resume-failed-visible[b-vqmxv157va],
.components-rejoining-animation[b-vqmxv157va] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-vqmxv157va],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-vqmxv157va],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-vqmxv157va],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-vqmxv157va],
#components-reconnect-modal.components-reconnect-retrying[b-vqmxv157va],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-vqmxv157va],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-vqmxv157va],
#components-reconnect-modal.components-reconnect-failed[b-vqmxv157va],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-vqmxv157va] {
    display: block;
}


#components-reconnect-modal[b-vqmxv157va] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-vqmxv157va 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-vqmxv157va 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-vqmxv157va 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-vqmxv157va]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-vqmxv157va 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-vqmxv157va {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-vqmxv157va {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-vqmxv157va {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-vqmxv157va] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-vqmxv157va] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-vqmxv157va] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-vqmxv157va] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-vqmxv157va] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-vqmxv157va] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-vqmxv157va] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-vqmxv157va 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-vqmxv157va] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-vqmxv157va {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/ClearPlat.razor.rz.scp.css */
/* ClearPlat — dark, utilitarian workbench. The page is intentionally
   self-styled (rather than reusing the main site's teal palette) so
   managers can tell at a glance they're in the heavy-duty tool. */

.cp-root[b-y4whzrrnxp] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #0b1220;
    color: #e5e7eb;
}

/* ---------- Top bar ---------- */
.cp-topbar[b-y4whzrrnxp] {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px 16px;
    background: #111827;
    border-bottom: 1px solid #1f2937;
    flex: 0 0 auto;
}

.cp-brand[b-y4whzrrnxp] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 700;
    color: #a7f3d0;
}

.cp-brand i[b-y4whzrrnxp] { color: #34d399; }
.cp-brand-name[b-y4whzrrnxp] { font-size: 18px; letter-spacing: 0.5px; }
.cp-brand-tag[b-y4whzrrnxp] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
    font-weight: 500;
}

.cp-community[b-y4whzrrnxp] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
}

.cp-community-info .cp-community-name[b-y4whzrrnxp] {
    font-weight: 600;
    color: #f9fafb;
}
.cp-community-info .cp-community-meta[b-y4whzrrnxp] {
    font-size: 12px;
    color: #9ca3af;
}
.cp-community-empty[b-y4whzrrnxp] {
    color: #6b7280;
    font-style: italic;
}

.cp-topbar-right[b-y4whzrrnxp] {
    display: flex;
    gap: 8px;
}

/* ---------- Buttons ---------- */
.cp-btn[b-y4whzrrnxp] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #374151;
    background: #1f2937;
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    text-decoration: none;
}
.cp-btn:hover[b-y4whzrrnxp] { background: #374151; }
.cp-btn:disabled[b-y4whzrrnxp] { opacity: 0.4; cursor: not-allowed; }

.cp-btn-primary[b-y4whzrrnxp] {
    background: #059669;
    border-color: #047857;
    color: #ecfdf5;
}
.cp-btn-primary:hover[b-y4whzrrnxp] { background: #047857; }

.cp-btn-secondary[b-y4whzrrnxp] {
    background: #2563eb;
    border-color: #1d4ed8;
    color: #eff6ff;
}
.cp-btn-secondary:hover[b-y4whzrrnxp] { background: #1d4ed8; }

.cp-btn-ghost[b-y4whzrrnxp] {
    background: transparent;
    border-color: #374151;
    color: #d1d5db;
}
.cp-btn-ghost:hover[b-y4whzrrnxp] { background: #1f2937; }

/* ---------- Picker ---------- */
.cp-picker[b-y4whzrrnxp] {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: auto;
}
.cp-picker-card[b-y4whzrrnxp] {
    width: min(600px, 100%);
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.cp-picker-title[b-y4whzrrnxp] {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #f9fafb;
}
.cp-picker-sub[b-y4whzrrnxp] {
    margin: 0 0 16px;
    color: #9ca3af;
    font-size: 13px;
}
.cp-search[b-y4whzrrnxp] {
    width: 100%;
    padding: 10px 12px;
    background: #0b1220;
    color: #e5e7eb;
    border: 1px solid #374151;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}
.cp-search:focus[b-y4whzrrnxp] { border-color: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,0.15); }

.cp-picker-list[b-y4whzrrnxp] {
    margin-top: 12px;
    max-height: 50vh;
    overflow: auto;
    border-radius: 8px;
    border: 1px solid #1f2937;
}
.cp-picker-row[b-y4whzrrnxp] {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid #1f2937;
    padding: 10px 12px;
    color: #e5e7eb;
    cursor: pointer;
}
.cp-picker-row:last-child[b-y4whzrrnxp] { border-bottom: none; }
.cp-picker-row:hover[b-y4whzrrnxp] { background: #1f2937; }
.cp-picker-row-name[b-y4whzrrnxp] { font-weight: 600; }
.cp-picker-row-meta[b-y4whzrrnxp] { font-size: 12px; color: #9ca3af; }
.cp-picker-loading[b-y4whzrrnxp], .cp-picker-empty[b-y4whzrrnxp] { margin-top: 16px; color: #9ca3af; }

/* ---------- Main layout (toolrail | canvas | side) ---------- */
.cp-main[b-y4whzrrnxp] {
    flex: 1 1 0;
    display: grid;
    grid-template-columns: 60px 1fr 360px;
    /* Single explicit row at 1fr so the grid actually fills the available
       vertical space. Without this the implicit row sizes to content, and
       .cp-canvas — whose children are all position:absolute — collapses
       to 0px tall, which makes Mapbox's resize() divide by zero and throw
       "Invalid LngLat object: (NaN, NaN)" during map construction. */
    grid-template-rows: 1fr;
    min-height: 0;
}

.cp-toolrail[b-y4whzrrnxp] {
    background: #111827;
    border-right: 1px solid #1f2937;
    padding: 8px 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
}

.cp-toolgroup-label[b-y4whzrrnxp] {
    font-size: 9px;
    text-align: center;
    color: #6b7280;
    letter-spacing: 1px;
    margin: 4px 0 4px;
}
.cp-toolgroup-items[b-y4whzrrnxp] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 4px;
}
.cp-tool[b-y4whzrrnxp] {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #1f2937;
    border: 1px solid #374151;
    color: #d1d5db;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cp-tool:hover[b-y4whzrrnxp] {
    background: #374151;
    color: #f9fafb;
}
.cp-tool.active[b-y4whzrrnxp] {
    background-color: #09f !important;
}

/* ---------- Single-parcel detail panel ---------- */
.cp-detail-group[b-y4whzrrnxp] {
    margin-top: 12px;
}
.cp-detail-group:first-child[b-y4whzrrnxp] {
    margin-top: 0;
}
.cp-detail-group-label[b-y4whzrrnxp] {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-bottom: 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid #374151;
}
.cp-detail-list[b-y4whzrrnxp] {
    margin: 0;
    padding: 0;
}
.cp-detail-row[b-y4whzrrnxp] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 3px 0;
    font-size: 12px;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}
.cp-detail-row:last-child[b-y4whzrrnxp] {
    border-bottom: none;
}
.cp-detail-row dt[b-y4whzrrnxp] {
    color: #9ca3af;
    margin: 0;
}
.cp-detail-row dd[b-y4whzrrnxp] {
    color: #f3f4f6;
    margin: 0;
    word-break: break-word;
}

/* ---------- Elements panel ---------- */
.cp-element-list[b-y4whzrrnxp] {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}
.cp-element-row[b-y4whzrrnxp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    color: #d1d5db;
    border: 1px solid transparent;
}
.cp-element-row:hover[b-y4whzrrnxp] {
    background: #1f2937;
}
.cp-element-row.selected[b-y4whzrrnxp] {
    background: #1e293b;
    border-color: #fbbf24;
    color: #fde68a;
}
.cp-element-name[b-y4whzrrnxp] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Visually fade a group whose elements are hidden from the map so the
   panel makes the state obvious without removing the group from the
   list (the user can still see / interact with it to toggle back). */
.cp-section-dim[b-y4whzrrnxp] {
    opacity: 0.55;
}
.cp-section-dim h3[b-y4whzrrnxp],
.cp-section-dim .cp-element-row[b-y4whzrrnxp] {
    text-decoration: line-through;
    text-decoration-color: rgba(148, 163, 184, 0.55);
}

/* ---------- Canvas ---------- */
.cp-canvas[b-y4whzrrnxp] {
    position: relative;
    background: #0b1220;
}
.cp-map[b-y4whzrrnxp] {
    position: absolute;
    inset: 0;
}
.cp-canvas-loading[b-y4whzrrnxp] {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: rgba(17,24,39,0.85);
    border: 1px solid #1f2937;
    border-radius: 6px;
    font-size: 13px;
    color: #9ca3af;
    z-index: 5;
}
.cp-floating-control[b-y4whzrrnxp] {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: rgba(17,24,39,0.92);
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    color: #d1d5db;
    width: 220px;
}
.cp-floating-control label[b-y4whzrrnxp] { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cp-floating-control input[type="range"][b-y4whzrrnxp] { width: 100%; }

.cp-statusbar[b-y4whzrrnxp] {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 5;
}
.cp-status-pill[b-y4whzrrnxp] {
    background: rgba(17,24,39,0.92);
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 12px;
    color: #d1d5db;
}
.cp-status-pill strong[b-y4whzrrnxp] { color: #f9fafb; }
.cp-mono[b-y4whzrrnxp] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---------- Side panel ---------- */
.cp-side[b-y4whzrrnxp] {
    background: #111827;
    border-left: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.cp-side-tabs[b-y4whzrrnxp] {
    display: flex;
    border-bottom: 1px solid #1f2937;
}
.cp-side-tab[b-y4whzrrnxp] {
    flex: 1 1 0;
    padding: 10px 8px;
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 12px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.cp-side-tab:hover[b-y4whzrrnxp] { color: #e5e7eb; }
.cp-side-tab.active[b-y4whzrrnxp] {
    color: #34d399;
    border-bottom-color: #34d399;
    background: #1f2937;
}
.cp-side-body[b-y4whzrrnxp] {
    flex: 1 1 0;
    overflow-y: auto;
    padding: 12px 14px;
}
.cp-section[b-y4whzrrnxp] { margin-bottom: 18px; }
.cp-section h3[b-y4whzrrnxp] {
    margin: 0 0 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    font-weight: 600;
}
.cp-muted[b-y4whzrrnxp] { color: #9ca3af; font-size: 13px; }
.cp-mt[b-y4whzrrnxp] { margin-top: 6px; }
.cp-label[b-y4whzrrnxp] {
    display: block;
    margin: 12px 0 6px;
    color: #d1d5db;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cp-row-actions[b-y4whzrrnxp] {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.cp-row-actions.cp-stack[b-y4whzrrnxp] { flex-direction: column; }
.cp-row-actions.cp-stack .cp-btn[b-y4whzrrnxp] { width: 100%; }

.cp-chips[b-y4whzrrnxp] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cp-chips-scroll[b-y4whzrrnxp] {
    max-height: 180px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid #1f2937;
    border-radius: 6px;
}
.cp-chip[b-y4whzrrnxp] {
    background: #1f2937;
    border: 1px solid #374151;
    color: #d1d5db;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 14px;
    cursor: pointer;
}
.cp-chip:hover[b-y4whzrrnxp] { border-color: #4b5563; }
.cp-chip.active[b-y4whzrrnxp] {
    background: #047857;
    border-color: #34d399;
    color: #ecfdf5;
}

.cp-file[b-y4whzrrnxp] {
    margin-top: 6px;
    color: #d1d5db;
    font-size: 13px;
}

.cp-error[b-y4whzrrnxp] {
    margin-top: 8px;
    padding: 8px 10px;
    background: #7f1d1d;
    color: #fee2e2;
    border-radius: 6px;
    font-size: 13px;
}

.cp-heat-legend[b-y4whzrrnxp] {
    margin-top: 10px;
}
.cp-heat-bar[b-y4whzrrnxp] {
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(to right, #22c55e 0%, #eab308 50%, #dc2626 100%);
    border: 1px solid #1f2937;
}
.cp-heat-scale[b-y4whzrrnxp] {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #d1d5db;
    margin-top: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.cp-help[b-y4whzrrnxp] {
    margin: 0;
    padding-left: 18px;
    color: #d1d5db;
    font-size: 13px;
}
.cp-help li[b-y4whzrrnxp] { margin-bottom: 6px; }
.cp-help li strong[b-y4whzrrnxp] { color: #34d399; }

/* Mapbox / Draw controls need to sit cleanly on the dark canvas. */
[b-y4whzrrnxp] .mapboxgl-ctrl-group { background: #111827; border: 1px solid #1f2937; }
[b-y4whzrrnxp] .mapboxgl-ctrl-group button { color: #e5e7eb; }
[b-y4whzrrnxp] .mapboxgl-ctrl-group button:hover { background: #1f2937; }

/* ---------- Filter builder + custom export ---------- */
.cp-filter-row[b-y4whzrrnxp] {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 6px;
    margin-bottom: 6px;
    align-items: center;
}
.cp-filter-row .cp-filter-val[b-y4whzrrnxp] { grid-column: span 1; }
.cp-filter-row .cp-search[b-y4whzrrnxp] { font-size: 12px; padding: 4px 6px; }

.cp-check[b-y4whzrrnxp] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d1d5db;
    font-size: 13px;
    cursor: pointer;
}
.cp-check input[type="checkbox"][b-y4whzrrnxp] { accent-color: #34d399; }

.cp-export-grid[b-y4whzrrnxp] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 8px;
}
.cp-export-group[b-y4whzrrnxp] {
    background: #0f172a;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 8px 10px;
}
.cp-export-group-header[b-y4whzrrnxp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 12px;
    color: #a7f3d0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cp-export-list[b-y4whzrrnxp] {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 180px;
    overflow-y: auto;
}
.cp-export-list li[b-y4whzrrnxp] { margin: 2px 0; }
.cp-btn-xs[b-y4whzrrnxp] {
    padding: 2px 8px;
    font-size: 11px;
    line-height: 1.4;
}

/* ---------- Parcel groups ---------- */
.cp-swatch[b-y4whzrrnxp] {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid #1f2937;
    flex: 0 0 auto;
}
.cp-color[b-y4whzrrnxp] {
    width: 40px;
    height: 28px;
    padding: 0;
    border: 1px solid #1f2937;
    background: #111827;
    border-radius: 4px;
    cursor: pointer;
}
.cp-mono[b-y4whzrrnxp] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #9ca3af; }
.cp-section-dim[b-y4whzrrnxp] { opacity: 0.55; }
