/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ══ Layout root ══ */
.agro-layout[b-nrt2utal0v] {
    display: flex;
    height: 100vh;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ══ Sidebar ══ */
.agro-sidebar[b-nrt2utal0v] {
    width: 264px;
    min-width: 264px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(2, 132, 199, 0.12);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 4px 0 32px rgba(2, 132, 199, 0.06);
    z-index: 100;
    scrollbar-width: thin;
    scrollbar-color: rgba(2, 132, 199, 0.20) transparent;
}

.agro-sidebar[b-nrt2utal0v]::-webkit-scrollbar       { width: 4px; }
.agro-sidebar[b-nrt2utal0v]::-webkit-scrollbar-track { background: transparent; }
.agro-sidebar[b-nrt2utal0v]::-webkit-scrollbar-thumb { background: rgba(2, 132, 199, 0.20); border-radius: 4px; }

/* ── Logo ── */
.sidebar-logo[b-nrt2utal0v] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 16px 16px;
    border-bottom: 1px solid rgba(2, 132, 199, 0.10);
    flex-shrink: 0;
}

.sidebar-logo-icon[b-nrt2utal0v] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0284C7, #0891B2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.30);
    flex-shrink: 0;
}

.sidebar-logo-text[b-nrt2utal0v] {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.2;
}

.sidebar-logo-sub[b-nrt2utal0v] {
    font-size: 11px;
    color: #94A3B8;
    font-weight: 400;
    margin-top: 1px;
}

/* ── Zone containers & section labels ── */
.nav-zone[b-nrt2utal0v] {
    margin: 3px 6px;
    border-radius: 10px;
    border-left: 3px solid transparent;
    padding: 2px 0;
}

.nav-section-label[b-nrt2utal0v] {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 14px 4px;
    color: #94A3B8;
    user-select: none;
}

/* Zone-specific colors */
.nav-zone-master[b-nrt2utal0v]     { background: rgba(2, 132, 199, 0.05);   border-left-color: rgba(2, 132, 199, 0.30); }
.nav-zone-master     .nav-section-label[b-nrt2utal0v] { color: #0369A1; }

.nav-zone-production[b-nrt2utal0v] { background: rgba(5, 150, 105, 0.05);   border-left-color: rgba(5, 150, 105, 0.30); }
.nav-zone-production .nav-section-label[b-nrt2utal0v] { color: #047857; }

.nav-zone-chemicals[b-nrt2utal0v]  { background: rgba(217, 119, 6, 0.05);   border-left-color: rgba(217, 119, 6, 0.35); }
.nav-zone-chemicals  .nav-section-label[b-nrt2utal0v] { color: #B45309; }

.nav-zone-warehouses[b-nrt2utal0v] { background: rgba(120, 53, 15, 0.05);   border-left-color: rgba(120, 53, 15, 0.25); }
.nav-zone-warehouses .nav-section-label[b-nrt2utal0v] { color: #92400E; }

.nav-zone-leases[b-nrt2utal0v]     { background: rgba(109, 40, 217, 0.05);  border-left-color: rgba(109, 40, 217, 0.25); }
.nav-zone-leases     .nav-section-label[b-nrt2utal0v] { color: #6D28D9; }

.nav-zone-fleet[b-nrt2utal0v]      { background: rgba(100, 116, 139, 0.05); border-left-color: rgba(100, 116, 139, 0.30); }
.nav-zone-fleet      .nav-section-label[b-nrt2utal0v] { color: #475569; }

.nav-zone-hr[b-nrt2utal0v]         { background: rgba(8, 145, 178, 0.05);   border-left-color: rgba(8, 145, 178, 0.30); }
.nav-zone-hr         .nav-section-label[b-nrt2utal0v] { color: #0891B2; }

.nav-zone-finance[b-nrt2utal0v]    { background: rgba(37, 99, 235, 0.05);   border-left-color: rgba(37, 99, 235, 0.30); }
.nav-zone-finance    .nav-section-label[b-nrt2utal0v] { color: #1D4ED8; }

.nav-zone-meteo[b-nrt2utal0v]      { background: rgba(2, 132, 199, 0.05);   border-left-color: rgba(2, 132, 199, 0.25); }
.nav-zone-meteo      .nav-section-label[b-nrt2utal0v] { color: #0284C7; }

.nav-zone-waste[b-nrt2utal0v]      { background: rgba(22, 163, 74, 0.05);   border-left-color: rgba(22, 163, 74, 0.30); }
.nav-zone-waste      .nav-section-label[b-nrt2utal0v] { color: #15803D; }

.nav-zone-notifications[b-nrt2utal0v] { background: rgba(220, 38, 38, 0.04); border-left-color: rgba(220, 38, 38, 0.25); }
.nav-zone-notifications .nav-section-label[b-nrt2utal0v] { color: #B91C1C; }

.nav-zone-events[b-nrt2utal0v]     { background: rgba(219, 39, 119, 0.04);  border-left-color: rgba(219, 39, 119, 0.25); }
.nav-zone-events     .nav-section-label[b-nrt2utal0v] { color: #BE185D; }

.nav-zone-quality[b-nrt2utal0v]    { background: rgba(124, 58, 237, 0.05);  border-left-color: rgba(124, 58, 237, 0.25); }
.nav-zone-quality    .nav-section-label[b-nrt2utal0v] { color: #7C3AED; }

.nav-zone-analytics[b-nrt2utal0v]  { background: rgba(8, 145, 178, 0.05);   border-left-color: rgba(8, 145, 178, 0.30); }
.nav-zone-analytics  .nav-section-label[b-nrt2utal0v] { color: #0891B2; }

.nav-zone-documents[b-nrt2utal0v]  { background: rgba(120, 53, 15, 0.04);   border-left-color: rgba(120, 53, 15, 0.20); }
.nav-zone-documents  .nav-section-label[b-nrt2utal0v] { color: #92400E; }

.nav-zone-personal[b-nrt2utal0v]   { background: rgba(16, 185, 129, 0.05);  border-left-color: rgba(16, 185, 129, 0.30); }
.nav-zone-personal   .nav-section-label[b-nrt2utal0v] { color: #065F46; }

.nav-zone-system[b-nrt2utal0v]     { background: rgba(15, 23, 42, 0.04);    border-left-color: rgba(15, 23, 42, 0.15); }
.nav-zone-system     .nav-section-label[b-nrt2utal0v] { color: #334155; }

/* ══ Main area ══ */
.agro-main[b-nrt2utal0v] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

/* ── Top bar ── */
.agro-topbar[b-nrt2utal0v] {
    height: 56px;
    min-height: 56px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(2, 132, 199, 0.12);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 24px;
    box-shadow: 0 2px 16px rgba(2, 132, 199, 0.05);
    z-index: 50;
    flex-shrink: 0;
}

.topbar-breadcrumb[b-nrt2utal0v] { flex: 1; font-size: 14px; color: #475569; }
.topbar-title[b-nrt2utal0v] {
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
}

/* ── Page content ── */
.page-content[b-nrt2utal0v] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    background: transparent;
}

/* ── Account dropdown ── */
.account-dropdown[b-nrt2utal0v] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 234px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15);
    border: 1px solid #E2E8F0;
    z-index: 1300;
    overflow: hidden;
    padding: 4px 0;
}

.account-menu-header[b-nrt2utal0v] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 10px;
}

.account-menu-name[b-nrt2utal0v] {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-menu-role[b-nrt2utal0v] {
    font-size: 11px;
    color: #64748B;
    margin-top: 1px;
}

.account-menu-divider[b-nrt2utal0v] {
    height: 1px;
    background: #E2E8F0;
    margin: 4px 0;
}

.account-menu-item[b-nrt2utal0v] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    font-family: inherit;
    text-align: left;
}

.account-menu-item:hover[b-nrt2utal0v]           { background: #F1F5F9; }
.account-menu-item-danger[b-nrt2utal0v]          { color: #DC2626; }
.account-menu-item-danger:hover[b-nrt2utal0v]    { background: #FEF2F2; }

/* ── Mobile responsive ── */
@media (max-width: 768px) {
    .agro-sidebar[b-nrt2utal0v] {
        position: fixed;
        left: -264px;
        top: 0;
        z-index: 200;
    }
    .agro-sidebar.open[b-nrt2utal0v] { left: 0; }
    .page-content[b-nrt2utal0v] { padding: 16px; }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-w02gqpzex5] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-w02gqpzex5] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-w02gqpzex5] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-w02gqpzex5] {
    font-size: 1.1rem;
}

.bi[b-w02gqpzex5] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-w02gqpzex5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-w02gqpzex5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-w02gqpzex5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-w02gqpzex5] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-w02gqpzex5] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-w02gqpzex5] {
        padding-bottom: 1rem;
    }

    .nav-item[b-w02gqpzex5]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-w02gqpzex5]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-w02gqpzex5]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-w02gqpzex5] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-w02gqpzex5] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-w02gqpzex5] {
        display: none;
    }

    .nav-scrollable[b-w02gqpzex5] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Land/Map.razor.rz.scp.css */
/* ── Root: fill the entire page-content area (cancels 24px padding) ── */
.gis-root[b-7erwrap63o] {
    display: flex;
    flex-direction: column;
    margin: -24px;
    height: calc(100vh - 56px); /* 56px = agro-topbar */
    overflow: hidden;
    background: #0d1117;
}

/* ── Toolbar ── */
.gis-toolbar[b-7erwrap63o] {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 44px;
    min-height: 44px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(30, 107, 58, 0.14);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 10;
    flex-shrink: 0;
}

.gis-toolbar-group[b-7erwrap63o] {
    display: flex;
    align-items: center;
    gap: 2px;
}

.gis-toolbar-sep[b-7erwrap63o] {
    width: 1px;
    height: 22px;
    background: rgba(0, 0, 0, 0.12);
    margin: 0 6px;
    flex-shrink: 0;
}

.gis-hint[b-7erwrap63o] {
    font-size: 12px;
    color: #94A3B8;
    font-style: italic;
    padding-left: 4px;
}

/* Selected parcel badge */
.gis-parcel-badge[b-7erwrap63o] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 107, 58, 0.08);
    border: 1px solid rgba(30, 107, 58, 0.22);
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 500;
    color: #1E6B3A;
}

.gis-badge-area[b-7erwrap63o] {
    font-size: 11px;
    font-weight: 600;
    color: #D97706;
    background: rgba(217, 119, 6, 0.10);
    border-radius: 4px;
    padding: 1px 6px;
}

/* ── Map wrapper ── */
.gis-map-wrap[b-7erwrap63o] {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* ── Cesium div fills the wrapper ── */
.gis-cesium[b-7erwrap63o] {
    width: 100%;
    height: 100%;
}

/* Fix Cesium canvas sizing */
.gis-cesium canvas[b-7erwrap63o] {
    width: 100% !important;
    height: 100% !important;
}

/* ── Loading overlay ── */
.gis-loader[b-7erwrap63o] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(13, 17, 23, 0.80);
    color: white;
    font-size: 14px;
    z-index: 20;
}

/* ── Legend panel ── */
.gis-legend[b-7erwrap63o] {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.07);
    min-width: 180px;
    z-index: 15;
}

.gis-legend-title[b-7erwrap63o] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #64748B;
    margin-bottom: 8px;
}

.gis-legend-row[b-7erwrap63o] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #334155;
    margin-bottom: 5px;
}

.gis-legend-swatch[b-7erwrap63o] {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
    opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════════════
   FLOATING PANEL  (MapPanel.razor rendered inside .gis-map-wrap)
   ::deep so styles penetrate into the child component
   ═══════════════════════════════════════════════════════════════ */

[b-7erwrap63o] .gis-float-panel {
    position: absolute;
    z-index: 25;
    display: flex;
    flex-direction: column;
    min-width: 200px;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    user-select: none;
}

[b-7erwrap63o] .gis-float-panel.panel-docked-left,
[b-7erwrap63o] .gis-float-panel.panel-docked-right {
    border-radius: 0;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.14);
}

[b-7erwrap63o] .gis-float-panel.gis-panel-hidden { display: none; }

[b-7erwrap63o] .gis-float-panel.gis-panel-dragging {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.32);
    opacity: 0.94;
}

/* ── Title bar ── */
[b-7erwrap63o] .gis-panel-titlebar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 7px;
    min-height: 32px;
    flex-shrink: 0;
    cursor: grab;
    background: linear-gradient(135deg, #F0F4FF 0%, #E0E8FF 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}

[b-7erwrap63o] .gis-float-panel.gis-panel-dragging .gis-panel-titlebar { cursor: grabbing; }

[b-7erwrap63o] .gis-panel-title {
    flex: 1;
    font-size: 11.5px;
    font-weight: 700;
    color: #1E40AF;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

[b-7erwrap63o] .gis-panel-actions {
    display: flex;
    gap: 1px;
    flex-shrink: 0;
}

[b-7erwrap63o] .gis-panel-btn {
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
}

[b-7erwrap63o] .gis-panel-btn:hover { background: rgba(37, 99, 235, 0.12); color: #2563EB; }
[b-7erwrap63o] .gis-panel-btn-close:hover { background: rgba(220, 38, 38, 0.10); color: #DC2626; }

/* ── Panel content wrapper (no scroll here — tabs handle it) ── */
[b-7erwrap63o] .gis-panel-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* ── Resize handles ── */
[b-7erwrap63o] .gis-rh { position: absolute; z-index: 5; }

[b-7erwrap63o] .gis-rh-e  { right: 0;  top: 32px; bottom: 0; width: 5px;  cursor: ew-resize; }
[b-7erwrap63o] .gis-rh-w  { left: 0;   top: 32px; bottom: 0; width: 5px;  cursor: ew-resize; }
[b-7erwrap63o] .gis-rh-s  { bottom: 0; left: 0;   right: 0;  height: 5px; cursor: ns-resize; }
[b-7erwrap63o] .gis-rh-se { right: 0;  bottom: 0; width: 10px; height: 10px; cursor: se-resize; }

/* hide irrelevant handles when docked */
[b-7erwrap63o] .panel-docked-left  .gis-rh-w,
[b-7erwrap63o] .panel-docked-left  .gis-rh-s,
[b-7erwrap63o] .panel-docked-left  .gis-rh-se { display: none; }

[b-7erwrap63o] .panel-docked-right .gis-rh-e,
[b-7erwrap63o] .panel-docked-right .gis-rh-s,
[b-7erwrap63o] .panel-docked-right .gis-rh-se { display: none; }

/* ── Dock indicator overlay ── */
[b-7erwrap63o] .gis-dock-indicator {
    position: absolute;
    top: 0; bottom: 0;
    width: 0;
    pointer-events: none;
    z-index: 50;
    background: rgba(37, 99, 235, 0.10);
    border: 2px dashed rgba(37, 99, 235, 0.40);
    opacity: 0;
}

[b-7erwrap63o] .gis-dock-indicator.gdi-left  { left: 0; right: auto; opacity: 1; }
[b-7erwrap63o] .gis-dock-indicator.gdi-right { right: 0; left: auto; opacity: 1; }

/* ── Panel section (content blocks) ── */
[b-7erwrap63o] .gis-panel-section {
    margin-bottom: 10px;
}

[b-7erwrap63o] .gis-panel-section-title {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #94A3B8;
    margin-bottom: 5px;
    padding-bottom: 3px;
    border-bottom: 1px solid #E2E8F0;
}

[b-7erwrap63o] .gis-layer-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 2px;
    font-size: 12px;
    color: #334155;
    cursor: pointer;
}

[b-7erwrap63o] .gis-layer-row:hover { background: rgba(37,99,235,0.05); border-radius: 4px; }

[b-7erwrap63o] .gis-layer-swatch {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
    opacity: 0.8;
}

[b-7erwrap63o] .gis-panel-prop {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    padding: 3px 0;
    border-bottom: 1px solid #F1F5F9;
    color: #475569;
}

[b-7erwrap63o] .gis-panel-prop span { color: #94A3B8; }
[b-7erwrap63o] .gis-panel-prop b    { color: #1E293B; }

[b-7erwrap63o] .gis-panel-empty {
    font-size: 11px;
    color: #94A3B8;
    font-style: italic;
}

/* ── Panel: custom tab bar ── */
[b-7erwrap63o] .gis-panel-tabbar {
    display: flex;
    flex-shrink: 0;
    background: #F0F4FF;
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}

[b-7erwrap63o] .gis-panel-tab {
    flex: 1;
    padding: 5px 6px;
    font-size: 10.5px;
    font-weight: 500;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #64748B;
    cursor: pointer;
    letter-spacing: 0.2px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

[b-7erwrap63o] .gis-panel-tab:hover { color: #2563EB; background: rgba(37,99,235,0.06); }

[b-7erwrap63o] .gis-panel-tab.gis-tab-active {
    color: #1E40AF;
    font-weight: 700;
    border-bottom-color: #2563EB;
    background: rgba(37,99,235,0.05);
}

[b-7erwrap63o] .gis-tab-badge {
    font-size: 9.5px;
    font-weight: 700;
    background: #2563EB;
    color: #fff;
    border-radius: 8px;
    padding: 0 5px;
    line-height: 14px;
}

/* ── Panel: tab content area (scrollable) ── */
[b-7erwrap63o] .gis-panel-tabcontent {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
}

/* ── Panel: polygon list row ── */
[b-7erwrap63o] .gis-poly-row {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 2px;
    border-radius: 5px;
    cursor: default;
}

[b-7erwrap63o] .gis-poly-row:hover { background: rgba(37,99,235,0.06); }

[b-7erwrap63o] .gis-poly-swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
    opacity: 0.85;
}

[b-7erwrap63o] .gis-poly-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

[b-7erwrap63o] .gis-poly-name {
    font-size: 11.5px;
    font-weight: 600;
    color: #1E293B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-7erwrap63o] .gis-poly-meta {
    font-size: 10px;
    color: #94A3B8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Tree toolbar ── */
[b-7erwrap63o] .gis-tree-toolbar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 2px 6px;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 4px;
    flex-shrink: 0;
}

[b-7erwrap63o] .gis-tree-btn-new {
    font-size: 10.5px;
    font-weight: 600;
    color: #2563EB;
    border: 1px dashed rgba(37,99,235,0.40);
    background: rgba(37,99,235,0.05);
    border-radius: 5px;
    padding: 2px 8px;
    cursor: pointer;
}
[b-7erwrap63o] .gis-tree-btn-new:hover { background: rgba(37,99,235,0.12); }

[b-7erwrap63o] .gis-tree-btn-poly {
    color: #16A34A;
    border-color: rgba(22,163,74,0.40);
    background: rgba(22,163,74,0.06);
}
[b-7erwrap63o] .gis-tree-btn-poly:hover { background: rgba(22,163,74,0.14); }

/* ── Group row ── */
[b-7erwrap63o] .gis-tree-group-row {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 2px;
    border-radius: 4px;
    min-height: 24px;
}
[b-7erwrap63o] .gis-tree-group-row:hover { background: rgba(37,99,235,0.05); }
[b-7erwrap63o] .gis-tree-group-row:hover .gis-tree-actions { opacity: 1; }

[b-7erwrap63o] .gis-tree-toggle {
    width: 14px; height: 14px; flex-shrink: 0;
    border: none; background: transparent; cursor: pointer;
    font-size: 9px; color: #94A3B8; padding: 0;
    display: flex; align-items: center; justify-content: center;
}
[b-7erwrap63o] .gis-tree-toggle:hover { color: #2563EB; }

[b-7erwrap63o] .gis-tree-folder-icon { font-size: 12px; flex-shrink: 0; }

[b-7erwrap63o] .gis-tree-group-name {
    font-size: 11.5px;
    font-weight: 600;
    color: #1E293B;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[b-7erwrap63o] .gis-tree-count {
    font-size: 10px;
    color: #94A3B8;
    flex-shrink: 0;
    margin-right: 2px;
}

[b-7erwrap63o] .gis-tree-actions {
    display: flex;
    gap: 1px;
    flex-shrink: 0;
    opacity: 0;
}

/* ── Inline tree buttons ── */
[b-7erwrap63o] .gis-tree-btn {
    width: 18px; height: 18px; padding: 0;
    border: none; border-radius: 3px; background: transparent;
    cursor: pointer; font-size: 11px; color: #64748B;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
[b-7erwrap63o] .gis-tree-btn:hover          { background: rgba(37,99,235,0.12); color: #2563EB; }
[b-7erwrap63o] .gis-tree-btn-ok:hover       { background: rgba(22,163,74,0.12); color: #16A34A; }
[b-7erwrap63o] .gis-tree-btn-cancel:hover   { background: rgba(100,116,139,0.12); }
[b-7erwrap63o] .gis-tree-btn-del:hover      { background: rgba(220,38,38,0.10); color: #DC2626; }

/* ── Inline rename / add input ── */
[b-7erwrap63o] .gis-tree-input {
    flex: 1;
    min-width: 0;
    font-size: 11px;
    border: 1px solid rgba(37,99,235,0.35);
    border-radius: 4px;
    padding: 1px 5px;
    outline: none;
    background: #fff;
    color: #1E293B;
}
[b-7erwrap63o] .gis-tree-input:focus { border-color: #2563EB; }

/* ── Polygon row inside tree ── */
[b-7erwrap63o] .gis-tree-poly-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 2px;
    border-radius: 4px;
    cursor: default;
}
[b-7erwrap63o] .gis-tree-poly-row:hover { background: rgba(37,99,235,0.04); }

[b-7erwrap63o] .gis-poly-actions {
    display: flex;
    gap: 1px;
    flex-shrink: 0;
    opacity: 0;
    margin-left: auto;
}
[b-7erwrap63o] .gis-tree-poly-row:hover .gis-poly-actions { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   EDIT PANEL FORM
   ═══════════════════════════════════════════════════════════════ */

/* ── Vertex-edit mode toolbar (top of edit form) ── */
[b-7erwrap63o] .gis-edit-btnbar {
    display: flex;
    gap: 6px;
    padding-bottom: 8px;
    margin-bottom: 2px;
    border-bottom: 1px solid #E2E8F0;
}

[b-7erwrap63o] .gis-edit-btn-mode {
    flex: 1;
    padding: 6px 0;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #2563EB;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.2px;
}
[b-7erwrap63o] .gis-edit-btn-mode:hover    { background: #1D4ED8; }

[b-7erwrap63o] .gis-edit-btn-mode.gis-edit-btn-done {
    background: #16A34A;
}
[b-7erwrap63o] .gis-edit-btn-mode.gis-edit-btn-done:hover { background: #15803D; }

[b-7erwrap63o] .gis-edit-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 2px;
}

[b-7erwrap63o] .gis-edit-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

[b-7erwrap63o] .gis-edit-row > label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #94A3B8;
    text-transform: uppercase;
}

[b-7erwrap63o] .gis-edit-readonly {
    font-size: 11.5px;
    color: #64748B;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    padding: 3px 7px;
}

[b-7erwrap63o] .gis-edit-input,
[b-7erwrap63o] .gis-edit-select,
[b-7erwrap63o] .gis-edit-textarea {
    font-size: 11.5px;
    color: #1E293B;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    padding: 3px 7px;
    background: #fff;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
[b-7erwrap63o] .gis-edit-input:focus,
[b-7erwrap63o] .gis-edit-select:focus,
[b-7erwrap63o] .gis-edit-textarea:focus { border-color: #2563EB; }

[b-7erwrap63o] .gis-edit-colors {
    display: flex;
    align-items: center;
    gap: 6px;
}

[b-7erwrap63o] .gis-color-pick {
    width: 36px;
    height: 26px;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    padding: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

[b-7erwrap63o] .gis-edit-input-sm {
    font-size: 11px;
    width: 70px;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    padding: 3px 5px;
    outline: none;
}
[b-7erwrap63o] .gis-edit-input-sm:focus { border-color: #2563EB; }

[b-7erwrap63o] .gis-edit-row-check {
    flex-direction: row;
    align-items: center;
    gap: 6px;
}
[b-7erwrap63o] .gis-edit-row-check > label { text-transform: none; font-size: 11.5px; color: #334155; }

[b-7erwrap63o] .gis-edit-footer {
    display: flex;
    gap: 6px;
    padding-top: 6px;
    border-top: 1px solid #E2E8F0;
    margin-top: 4px;
}

[b-7erwrap63o] .gis-edit-btn-save {
    flex: 1;
    padding: 5px 0;
    font-size: 11.5px;
    font-weight: 600;
    color: #fff;
    background: #2563EB;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
[b-7erwrap63o] .gis-edit-btn-save:hover { background: #1D4ED8; }

[b-7erwrap63o] .gis-edit-btn-cancel {
    padding: 5px 12px;
    font-size: 11.5px;
    color: #64748B;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    border-radius: 5px;
    cursor: pointer;
}
[b-7erwrap63o] .gis-edit-btn-cancel:hover { background: #E2E8F0; }

/* ── Parcel assignment button ── */
[b-7erwrap63o] .gis-edit-btn-parcel {
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #15803D;
    background: rgba(22,163,74,0.08);
    border: 1px solid rgba(22,163,74,0.35);
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
}
[b-7erwrap63o] .gis-edit-btn-parcel:hover {
    background: rgba(22,163,74,0.16);
    border-color: rgba(22,163,74,0.55);
}

/* ── Assigned parcel badge inside edit form ── */
[b-7erwrap63o] .gis-edit-parcel-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(22,163,74,0.08);
    border: 1px solid rgba(22,163,74,0.25);
    border-radius: 5px;
    padding: 4px 8px;
    font-size: 11px;
    color: #15803D;
    font-weight: 500;
}
[b-7erwrap63o] .gis-edit-parcel-badge span { flex: 1; }
/* /Components/Pages/Land/Parcels.razor.rz.scp.css */
/* ── Crystal Light theme — Parcels page ── */

.parcel-code[b-4qcp58tfy5] {
    font-size: 11px;
    font-weight: 600;
    color: #2563EB;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 4px;
    padding: 2px 6px;
    white-space: nowrap;
}

/* Disable all animations per CLAUDE.md */
*[b-4qcp58tfy5], *[b-4qcp58tfy5]::before, *[b-4qcp58tfy5]::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
}
/* /Components/Shared/NavGroup.razor.rz.scp.css */
.nav-group[b-isli3pjkuz] {
    margin-bottom: 1px;
}

.nav-group-header[b-isli3pjkuz] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin: 2px 8px;
    border-radius: 10px;
    cursor: pointer;
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    user-select: none;
    position: relative;
}

.nav-group-header:hover[b-isli3pjkuz] {
    background: #DBEAFE;
    color: #2563EB;
}

.nav-group-header.child-active[b-isli3pjkuz] {
    background: #DBEAFE;
    color: #1D4ED8;
    font-weight: 600;
}

.nav-group-header.child-active[b-isli3pjkuz]::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #0284C7;
    border-radius: 0 3px 3px 0;
}

.nav-group-label[b-isli3pjkuz] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-group-items[b-isli3pjkuz] {
    padding-left: 4px;
    padding-bottom: 2px;
}
/* /Components/Shared/NavItem.razor.rz.scp.css */
.nav-item[b-5jjog60f5k] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin: 2px 8px;
    border-radius: 10px;
    text-decoration: none;
    color: #475569;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.nav-item:hover[b-5jjog60f5k] {
    background: #DBEAFE;
    color: #2563EB;
    text-decoration: none;
}

.nav-item.active[b-5jjog60f5k] {
    background: #DBEAFE;
    color: #1D4ED8;
    font-weight: 600;
}

.nav-item.active[b-5jjog60f5k]::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: #0284C7;
    border-radius: 0 3px 3px 0;
}

.nav-item.sub[b-5jjog60f5k] {
    padding: 6px 16px 6px 44px;
    font-size: 12.5px;
    font-weight: 400;
}

[b-5jjog60f5k] .nav-icon {
    font-size: 18px !important;
    flex-shrink: 0;
}
