/* /Pages/DynamicFilters.razor.rz.scp.css */
/* Group box around Edge Filters / Vertex Filters (desktop-style bordered group). */
.nx-df-group[b-3ywbvnni7m] {
    border: 1px solid #b9c4d0;
    border-radius: 6px;
    padding: .55rem .8rem .3rem;
    margin-bottom: 1rem;
}

.nx-df-group > legend[b-3ywbvnni7m] {
    float: none;              /* Bootstrap makes legends full-width; undo that */
    width: auto;
    padding: 0 .4rem;
    margin: 0 0 .4rem;
    font-size: .9rem;
    font-weight: 600;
    color: #215E9E;
}

.nx-filter[b-3ywbvnni7m] {
    padding: .35rem 0 .5rem;
}

.nx-filter + .nx-filter[b-3ywbvnni7m] {
    border-top: 1px solid #eef1f5;
}

.nx-hist[b-3ywbvnni7m] {
    display: block;
    margin-top: 5px;         /* air between the readout boxes and the histogram (Marc, 2026-11-01) */
}

/* The editable readout (2026-11-01): two inputs that read as the old muted
   "low – high" text until hovered or focused, when they become boxes. Sized
   by input type; the row wraps under the column name when a date-time pair
   is wider than the panel. The number box SHOWS its up/down spinner at all
   times (Marc, 2026-11-01) — Chromium only draws it on hover unless its
   opacity is pinned — stepping by the column's own step (EditStep). */
.nx-readout[b-3ywbvnni7m] { display: inline-flex; align-items: center; gap: 2px; flex: none; margin-left: auto;
    color: #6c757d; font-size: .8rem; }
.nx-readout-input[b-3ywbvnni7m] { width: 6.4rem; padding: 0 2px 0 3px; border: 1px solid #D5DEE7; border-radius: 4px;
    background: #fff; color: inherit; font: inherit; line-height: 1.35; text-align: right; }
.nx-readout-input[b-3ywbvnni7m]::-webkit-inner-spin-button { opacity: 1; height: 1.2em; margin-left: 2px; cursor: pointer; }
.nx-readout-input.nx-ro-date[b-3ywbvnni7m] { width: 8.6rem; text-align: left; }
.nx-readout-input.nx-ro-time[b-3ywbvnni7m] { width: 5.4rem; text-align: left; }
.nx-readout-input.nx-ro-datetime-local[b-3ywbvnni7m] { width: 11.6rem; text-align: left; }
.nx-readout-input:hover[b-3ywbvnni7m] { border-color: #AEBCCB; }
.nx-readout-input:focus[b-3ywbvnni7m] { border-color: #215E9E; color: #1B2A38; outline: none; }

/* Single dual-thumb range control (devncoffee technique): the two range inputs
   are as THIN as the track (5px) and stacked on the same line, with transparent
   tracks, so only the two thumbs are visible over one shared track + fill — it
   reads as a single slider, not two. */
.nx-dual[b-3ywbvnni7m] {
    position: relative;
    height: 20px;            /* just enough room for the thumb */
    margin-top: 2px;
}

.nx-dual-track[b-3ywbvnni7m],
.nx-dual-fill[b-3ywbvnni7m] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 5px;
    border-radius: 5px;
    pointer-events: none;
}

.nx-dual-track[b-3ywbvnni7m] {
    left: 0;
    right: 0;
    background: #d8e0e8;
}

.nx-dual-fill[b-3ywbvnni7m] {
    background: #215E9E;
}

.nx-dual-input[b-3ywbvnni7m] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 5px;             /* same height as the track -> no visible input box */
    margin: 0;
    background: transparent;
    pointer-events: none;    /* the track isn't interactive... */
    -webkit-appearance: none;
    appearance: none;
}

.nx-dual-input[b-3ywbvnni7m]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 5px;
    background: transparent;
    border: none;
}

.nx-dual-input[b-3ywbvnni7m]::-moz-range-track {
    height: 5px;
    background: transparent;
    border: none;
}

.nx-dual-input[b-3ywbvnni7m]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;    /* ...but each thumb is */
    width: 16px;
    height: 16px;
    margin-top: -5.5px;      /* centre the 16px thumb on the 5px track */
    border-radius: 50%;
    background: #215E9E;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, .5);
    cursor: pointer;
}

.nx-dual-input[b-3ywbvnni7m]::-moz-range-thumb {
    pointer-events: auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #215E9E;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, .5);
    cursor: pointer;
}


/* ======================================================================== *
 * The panel over the graph (2026-09-21). Absolute inside #graph-shell (NOT
 * #graph-canvas: sigma empties that one on every redraw), above
 * sigma's canvases and the corner buttons' level. SOLID at rest; ".peeking"
 * (set from JS while a slider or the eye button is held) makes everything
 * see-through EXCEPT the filter in hand. Opacity cannot be undone by a child,
 * so the fade is applied to the siblings, never to the panel as a whole.
 * ======================================================================== */
.nx-fp[b-3ywbvnni7m] {
    position: absolute; z-index: 6; left: 0; right: 0; bottom: 0;
    /* Never taller than the canvas minus the corner buttons (Zoom, Move, Filters
       at the top left, 8..110px): the panel must not cover its own toggle. */
    height: var(--nx-fp-h, 46%); min-height: 120px; max-height: calc(100% - 118px);
    display: flex; flex-direction: column;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid #C9D3DC; border-radius: 0 0 5px 5px;
    box-shadow: 0 -6px 18px rgba(16, 38, 60, .16);
    font-size: 12.5px; color: #1B2A38; cursor: default;
    transition: background-color .12s, box-shadow .12s, border-color .12s;
}
.nx-fp.right[b-3ywbvnni7m] {
    left: auto; top: 0; height: auto; max-height: none; min-height: 0;
    width: var(--nx-fp-w, 320px); min-width: 200px; max-width: 85%;
    border-top: 0; border-left: 1px solid #C9D3DC; border-radius: 0 5px 5px 0;
    box-shadow: -6px 0 18px rgba(16, 38, 60, .16);
}
.nx-fp.closed[b-3ywbvnni7m] { display: none; }

/* The resize grip: the top edge when docked at the bottom, the left edge when
   docked on the right. */
.nx-fp-grip[b-3ywbvnni7m] { flex: none; height: 9px; cursor: ns-resize; position: relative; touch-action: none; }
.nx-fp-grip[b-3ywbvnni7m]::after { content: ""; position: absolute; left: 50%; top: 3px; width: 34px; height: 3px;
    margin-left: -17px; border-radius: 2px; background: #C2CDD8; }
.nx-fp.right .nx-fp-grip[b-3ywbvnni7m] { position: absolute; left: 0; top: 0; bottom: 0; width: 9px; height: auto; cursor: ew-resize; z-index: 1; }
.nx-fp.right .nx-fp-grip[b-3ywbvnni7m]::after { left: 3px; top: 50%; width: 3px; height: 34px; margin: -17px 0 0; }

.nx-fp-head[b-3ywbvnni7m] { flex: none; display: flex; align-items: center; gap: 4px; padding: 0 8px 5px 12px; }
.nx-fp.right .nx-fp-head[b-3ywbvnni7m] { padding-top: 7px; }
.nx-fp-title[b-3ywbvnni7m] { font-weight: 600; white-space: nowrap; }
.nx-fp-msg[b-3ywbvnni7m] { flex: 1 1 auto; min-width: 0; margin-left: 6px; color: #5C6E7E; font-size: 11.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-fp-btn[b-3ywbvnni7m] { flex: none; width: 26px; height: 24px; padding: 0; display: inline-flex; align-items: center;
    justify-content: center; border: 1px solid transparent; border-radius: 5px; background: none;
    color: #215E9E; cursor: pointer; touch-action: none; }
.nx-fp-btn:hover:not(:disabled)[b-3ywbvnni7m], .nx-fp-btn:focus-visible[b-3ywbvnni7m] { background: #E8F0F8; border-color: #C9D3DC; outline: none; }
.nx-fp-btn:disabled[b-3ywbvnni7m] { color: #9AA7B3; cursor: default; }

.nx-fp-body[b-3ywbvnni7m] { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 0 12px 10px; }
.nx-fp-empty[b-3ywbvnni7m] { margin: 8px 0; color: #5C6E7E; }
.nx-df-options[b-3ywbvnni7m] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-bottom: 8px; }
.nx-fp .nx-df-group[b-3ywbvnni7m] { margin-bottom: .6rem; transition: border-color .12s; }

/* Edge Filters | Vertex Filters. Sticky, so the tabs stay reachable however far
   the list is scrolled. */
.nx-fp-tabs[b-3ywbvnni7m] { position: sticky; top: 0; z-index: 1; display: flex; gap: 2px; margin: 0 -12px 4px;
    padding: 0 12px; background: rgba(255, 255, 255, .97); border-bottom: 1px solid #D5DEE7;
    transition: opacity .12s; }
.nx-fp-tab[b-3ywbvnni7m] { flex: 1 1 0; min-width: 0; padding: 5px 6px 6px; border: 0; border-bottom: 2px solid transparent;
    background: none; color: #5C6E7E; font: inherit; font-weight: 600; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.nx-fp-tab:hover[b-3ywbvnni7m] { color: #1B2A38; }
.nx-fp-tab.active[b-3ywbvnni7m] { color: #215E9E; border-bottom-color: #215E9E; }
.nx-fp-tab:focus-visible[b-3ywbvnni7m] { outline: 2px solid #215E9E; outline-offset: -2px; }
.nx-fp .nx-filter[b-3ywbvnni7m] { transition: opacity .12s; }

/* ---- see-through ---- */
.nx-fp.peeking[b-3ywbvnni7m] { background-color: transparent; box-shadow: none; border-color: transparent; }
.nx-fp.peeking .nx-fp-grip[b-3ywbvnni7m],
.nx-fp.peeking .nx-fp-head > *:not(.nx-fp-peek)[b-3ywbvnni7m],
.nx-fp.peeking .nx-df-options[b-3ywbvnni7m],
.nx-fp.peeking .nx-fp-tabs[b-3ywbvnni7m],
.nx-fp.peeking .nx-fp-empty[b-3ywbvnni7m],
.nx-fp.peeking .nx-df-group > legend[b-3ywbvnni7m],
.nx-fp.peeking .nx-filter:not(.nx-active)[b-3ywbvnni7m] { opacity: .04; }
.nx-fp.peeking .nx-df-group[b-3ywbvnni7m] { border-color: transparent; }
.nx-fp.peeking .nx-filter.nx-active[b-3ywbvnni7m] {
    background: rgba(255, 255, 255, .93); border-radius: 6px; border-top-color: transparent;
    box-shadow: 0 1px 7px rgba(16, 38, 60, .22); padding-left: 8px; padding-right: 8px;
    margin-left: -8px; margin-right: -8px;
}
.nx-fp.peeking .nx-fp-peek[b-3ywbvnni7m] { background: #215E9E; color: #fff; }
/* /Shared/MainShell.razor.rz.scp.css */
.page[b-jxzwnkqud9] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-jxzwnkqud9] {
    flex: 1;
}

.sidebar[b-jxzwnkqud9] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-jxzwnkqud9] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-jxzwnkqud9]  a, .top-row[b-jxzwnkqud9]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-jxzwnkqud9]  a:hover, .top-row[b-jxzwnkqud9]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-jxzwnkqud9]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-jxzwnkqud9] {
        display: none;
    }

    .top-row.auth[b-jxzwnkqud9] {
        justify-content: space-between;
    }

    .top-row[b-jxzwnkqud9]  a, .top-row[b-jxzwnkqud9]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-jxzwnkqud9] {
        flex-direction: row;
    }

    .sidebar[b-jxzwnkqud9] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-jxzwnkqud9] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-jxzwnkqud9]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-jxzwnkqud9], article[b-jxzwnkqud9] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
