/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ── Theme variables ── */
:root[b-ljpxda9y0u],
[data-bs-theme="dark"][b-ljpxda9y0u] {
    --top-nav-bg: #111118;
    --top-nav-border: #2a2a3e;
    --top-nav-brand: #c4b5fd;
    --top-nav-link: #a78bfa;
    --top-nav-link-hover: #c4b5fd;
    --top-nav-btn-hover: rgba(139, 92, 246, 0.18);
}

[data-bs-theme="light"][b-ljpxda9y0u] {
    --top-nav-bg: #ffffff;
    --top-nav-border: #e2e8f0;
    --top-nav-brand: #6d28d9;
    --top-nav-link: #7c3aed;
    --top-nav-link-hover: #5b21b6;
    --top-nav-btn-hover: rgba(124, 58, 237, 0.1);
}

/* ── Page layout ── */
.page[b-ljpxda9y0u] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

main[b-ljpxda9y0u] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

article[b-ljpxda9y0u] {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

/* ── Top nav bar ── */
.top-nav[b-ljpxda9y0u] {
    background-color: var(--top-nav-bg);
    border-bottom: 1px solid var(--top-nav-border);
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    gap: 1rem;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand[b-ljpxda9y0u] {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--top-nav-brand);
    text-decoration: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.nav-brand:hover[b-ljpxda9y0u] {
    color: var(--top-nav-link-hover);
    text-decoration: none;
}

.nav-actions[b-ljpxda9y0u] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-action-link[b-ljpxda9y0u] {
    color: var(--top-nav-link);
    font-size: 0.875rem;
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    border-radius: 5px;
    transition: background-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.nav-action-link:hover[b-ljpxda9y0u] {
    background-color: var(--top-nav-btn-hover);
    color: var(--top-nav-link-hover);
    text-decoration: none;
}

.nav-action-btn[b-ljpxda9y0u] {
    background: none;
    border: none;
    cursor: pointer;
}

/* ── Theme toggle ── */
.theme-toggle-btn[b-ljpxda9y0u] {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--top-nav-link);
    width: 2.1rem;
    height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: background-color 0.15s, color 0.15s;
    padding: 0;
    flex-shrink: 0;
    margin-left: 0.25rem;
}

.theme-toggle-btn:hover[b-ljpxda9y0u] {
    background-color: var(--top-nav-btn-hover);
    color: var(--top-nav-link-hover);
}

/* ── Blazor error UI ── */
#blazor-error-ui[b-ljpxda9y0u] {
    background: #1e1010;
    border-top: 1px solid #7f1d1d;
    color: #fca5a5;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.5);
    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-ljpxda9y0u] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    #blazor-error-ui a[b-ljpxda9y0u] {
        color: #f87171;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── Mobile hamburger toggle ── */
.navbar-toggler[b-tyuhs7jk13] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(167, 139, 250, 0.25);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28167, 139, 250, 0.75%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(167, 139, 250, 0.08);
}

.navbar-toggler:checked[b-tyuhs7jk13] {
    background-color: rgba(139, 92, 246, 0.3);
}

/* ── Sidebar header bar ── */
.top-row[b-tyuhs7jk13] {
    min-height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.navbar-brand[b-tyuhs7jk13] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #c4b5fd;
    letter-spacing: 0.01em;
}

/* ── Bootstrap Icon placeholders ── */
.bi[b-tyuhs7jk13] {
    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-tyuhs7jk13] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a78bfa' 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-tyuhs7jk13] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a78bfa' 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-tyuhs7jk13] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a78bfa' 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");
}

.bi-lock-nav-menu[b-tyuhs7jk13] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a78bfa' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-tyuhs7jk13] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a78bfa' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-tyuhs7jk13] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a78bfa' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-tyuhs7jk13] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a78bfa' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-tyuhs7jk13] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a78bfa' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

/* ── Nav items ── */
.nav-item[b-tyuhs7jk13] {
    font-size: 0.9rem;
    padding-bottom: 0.25rem;
}

    .nav-item:first-of-type[b-tyuhs7jk13] {
        padding-top: 0.75rem;
    }

    .nav-item:last-of-type[b-tyuhs7jk13] {
        padding-bottom: 0.75rem;
    }

    .nav-item[b-tyuhs7jk13]  .nav-link {
        color: #c4b5fd;
        background: none;
        border: none;
        border-radius: 6px;
        height: 2.75rem;
        display: flex;
        align-items: center;
        line-height: 2.75rem;
        width: 100%;
        transition: background-color 0.15s, color 0.15s;
    }

.nav-item[b-tyuhs7jk13]  a.active {
    background-color: rgba(139, 92, 246, 0.3);
    color: #e9d5ff;
}

.nav-item[b-tyuhs7jk13]  .nav-link:hover {
    background-color: rgba(139, 92, 246, 0.15);
    color: #e9d5ff;
}

/* ── Section divider (optional) ── */
.nav-section-label[b-tyuhs7jk13] {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(167, 139, 250, 0.5);
    padding: 1rem 1rem 0.25rem;
}

/* ── Mobile nav scroll ── */
.nav-scrollable[b-tyuhs7jk13] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-tyuhs7jk13] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-tyuhs7jk13] {
        display: none;
    }

    .nav-scrollable[b-tyuhs7jk13] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-thtkx8ow2v],
.components-reconnect-repeated-attempt-visible[b-thtkx8ow2v],
.components-reconnect-failed-visible[b-thtkx8ow2v],
.components-pause-visible[b-thtkx8ow2v],
.components-resume-failed-visible[b-thtkx8ow2v],
.components-rejoining-animation[b-thtkx8ow2v] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-thtkx8ow2v],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-thtkx8ow2v],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-thtkx8ow2v],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-thtkx8ow2v],
#components-reconnect-modal.components-reconnect-retrying[b-thtkx8ow2v],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-thtkx8ow2v],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-thtkx8ow2v],
#components-reconnect-modal.components-reconnect-failed[b-thtkx8ow2v],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-thtkx8ow2v] {
    display: block;
}


#components-reconnect-modal[b-thtkx8ow2v] {
    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-thtkx8ow2v 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-thtkx8ow2v 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-thtkx8ow2v 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-thtkx8ow2v]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-thtkx8ow2v 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-thtkx8ow2v {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-thtkx8ow2v {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-thtkx8ow2v {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-thtkx8ow2v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-thtkx8ow2v] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-thtkx8ow2v] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-thtkx8ow2v] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-thtkx8ow2v] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-thtkx8ow2v] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-thtkx8ow2v] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-thtkx8ow2v 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-thtkx8ow2v] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-thtkx8ow2v {
    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/DrawingPage.razor.rz.scp.css */
/* ── Toolbar ── */
.dp-toolbar[b-oq25uemhlj] {
    width: 160px;
    flex-shrink: 0;
    border-right: 1px solid var(--np-toolbar-border);
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 8px;
    overflow-y: auto;
}

.dp-project-name[b-oq25uemhlj] {
    color: var(--np-name-color);
    font-size: 10px;
    padding: 0 2px 8px;
    border-bottom: 1px solid var(--np-divider);
    word-break: break-all;
    line-height: 1.4;
    overflow: hidden;
    max-height: 38px;
}

.dp-section-label[b-oq25uemhlj] {
    color: var(--np-label-color-highlight);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 2px;
    margin-top: 4px;
}

.dp-divider[b-oq25uemhlj] {
    border-color: var(--np-divider);
    margin: 4px 0;
}

.dp-stat[b-oq25uemhlj] {
    color: var(--np-stat-color);
    font-size: 10px;
}

/* ── Active tool highlight ── */
.dp-btn-active[b-oq25uemhlj] {
    background: #00c4aa !important;
    border-color: #00c4aa !important;
    color: #212b29 !important;
}

[data-bs-theme="light"] .dp-btn-active[b-oq25uemhlj] {
    background: #d0f5f0 !important;
    border-color: #009b86 !important;
    color: #006b5e !important;
}

/* ── Property controls ── */
.dp-prop-label[b-oq25uemhlj] {
    color: var(--np-label-color);
    font-size: 10px;
    display: block;
    margin-bottom: 2px;
}

.dp-color-wrap[b-oq25uemhlj] {
    position: relative;
    width: 100%;
    height: 28px;
    border: 1px solid var(--np-input-border);
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 4px;
}

.dp-color-input[b-oq25uemhlj] {
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.dp-range[b-oq25uemhlj] {
    width: 100%;
    accent-color: #00c4aa;
    cursor: pointer;
}

.dp-check-row[b-oq25uemhlj] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--np-label-color);
    font-size: 11px;
    cursor: pointer;
}

.dp-label-btn[b-oq25uemhlj] {
    margin-top: 2px;
}

/* ── Alignment buttons ── */
.dp-align-row[b-oq25uemhlj] {
    display: flex;
    gap: 3px;
    margin-bottom: 4px;
}

.dp-align-btn[b-oq25uemhlj] {
    flex: 1;
    padding: 4px 2px;
    font-size: 10px;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--np-input-border);
    border-radius: 40px;
    color: var(--np-label-color);
    transition: background .12s, color .12s;
}

.dp-align-btn:hover[b-oq25uemhlj] {
    background: var(--np-btn-hover);
    color: var(--np-text);
}

/* ── Label edit dialog ── */
.np-dialog-backdrop[b-oq25uemhlj] {
    position: fixed;
    inset: 0;
    background: var(--np-backdrop);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-dialog-box[b-oq25uemhlj] {
    background: var(--np-dialog-bg);
    border: 1px solid var(--np-dialog-border);
    border-radius: 8px;
    padding: 22px 24px;
    box-shadow: 0 8px 32px var(--np-dialog-shadow);
}

.np-dialog-title[b-oq25uemhlj] {
    color: var(--np-dialog-title);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.np-dialog-input[b-oq25uemhlj] {
    width: 100%;
    box-sizing: border-box;
    background: var(--np-input-bg);
    border: 1px solid var(--np-input-border);
    border-radius: 5px;
    color: var(--np-input-color);
    padding: 9px 11px;
    font-size: 13px;
    outline: none;
}

.np-dialog-row[b-oq25uemhlj] {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    justify-content: flex-end;
}

.np-btn-ghost[b-oq25uemhlj] {
    background: transparent;
    border: 1px solid var(--np-ghost-border);
    color: var(--np-ghost-color);
    border-radius: 4px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 12px;
}

.np-btn-confirm[b-oq25uemhlj] {
    background: #00c4aa;
    border: none;
    color: #000;
    border-radius: 4px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.np-btn-confirm:hover[b-oq25uemhlj] { background: #00dfbf; }

/* ── Layers panel ── */
.dp-objpanel[b-oq25uemhlj] {
    width: 190px;
    flex-shrink: 0;
    border-left: 1px solid var(--np-toolbar-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dp-objpanel-header[b-oq25uemhlj] {
    padding: 7px 10px;
    font-size: 10px;
    font-weight: 600;
    color: var(--np-label-color);
    text-transform: uppercase;
    letter-spacing: .08em;
    border-bottom: 1px solid var(--np-toolbar-border);
    flex-shrink: 0;
}

.dp-objpanel-list[b-oq25uemhlj] {
    flex: 1;
    overflow-y: auto;
}

.dp-obj-row[b-oq25uemhlj] {
    display: flex;
    align-items: center;
    padding: 4px 6px;
    gap: 3px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,.04);
    transition: background .1s;
}

.dp-obj-row:hover[b-oq25uemhlj] { background: var(--np-btn-hover); }

.dp-obj-row.dp-obj-selected[b-oq25uemhlj] {
    background: #1e3a4a;
    border-left: 2px solid #00c4aa;
    padding-left: 4px;
}

[data-bs-theme="light"] .dp-obj-row.dp-obj-selected[b-oq25uemhlj] {
    background: #d0f5f0;
    border-left: 2px solid #009b86;
}

.dp-obj-icon[b-oq25uemhlj] {
    width: 14px;
    text-align: center;
    font-size: 11px;
    color: var(--np-label-color);
    flex-shrink: 0;
}

.dp-obj-name[b-oq25uemhlj] {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--np-text);
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 3px;
    cursor: default;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
}

.dp-obj-name-edit[b-oq25uemhlj] {
    background: var(--np-input-bg);
    outline: 1px solid #00c4aa;
    cursor: text;
    user-select: text;
    white-space: normal;
}

.dp-obj-grip[b-oq25uemhlj] {
    font-size: 13px;
    color: var(--np-label-color);
    cursor: grab;
    flex-shrink: 0;
    opacity: 0.45;
    user-select: none;
    line-height: 1;
    padding: 0 1px;
}

.dp-obj-grip:active[b-oq25uemhlj] { cursor: grabbing; }

.dp-obj-row:hover .dp-obj-grip[b-oq25uemhlj] { opacity: 0.8; }

.dp-obj-dragging[b-oq25uemhlj] {
    opacity: 0.35;
}

.dp-obj-dropover[b-oq25uemhlj] {
    box-shadow: inset 0 2px 0 #00c4aa;
}

[data-bs-theme="light"] .dp-obj-dropover[b-oq25uemhlj] {
    box-shadow: inset 0 2px 0 #009b86;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ── Category tabs ── */
.proj-tabs[b-e6bpf999ni] {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.proj-tab[b-e6bpf999ni] {
    background: #292e33;
    border: 1px solid rgb(85, 85, 112);
    border-radius: 40px;
    color: #cccccc;
    padding: 7px 18px;
    font-size: 13px;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

.proj-tab:hover[b-e6bpf999ni] {
    background: #3b4249;
    color: #ffffff;
}

.proj-tab--active[b-e6bpf999ni] {
    background: #292e33;
    border-color: #00c4aa;
    color: #00c4aa;
    font-weight: 600;
}

[data-bs-theme="light"] .proj-tab[b-e6bpf999ni] { background: #f1f0f7; border-color: #cccbdf; color: #333; }
[data-bs-theme="light"] .proj-tab:hover[b-e6bpf999ni] { background: #e4e2f4; color: #111; }
[data-bs-theme="light"] .proj-tab--active[b-e6bpf999ni] { background: #f1f0f7; border-color: #009b86; color: #009b86; }

/* ── Page header ── */
.proj-page-title[b-e6bpf999ni] {
    font-size: 22px;
    font-weight: 700;
    color: var(--np-dialog-title);
}

/* ── Loading / empty state ── */
.proj-loading[b-e6bpf999ni] {
    color: var(--np-stat-color);
    padding: 40px 0;
}

.proj-empty-icon[b-e6bpf999ni] {
    font-size: 52px;
    margin-bottom: 16px;
    color: var(--np-divider);
}

.proj-empty-text[b-e6bpf999ni] {
    color: var(--np-stat-color);
    font-size: 14px;
}

/* ── Project grid ── */
.proj-grid[b-e6bpf999ni] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.proj-card[b-e6bpf999ni] {
    position: relative;
    background: #282d32;
    border: 1px solid #3d4349;
    border-radius: 10px;
    padding: 20px 16px 14px;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s, background .15s;
}

.proj-card:hover[b-e6bpf999ni] {
    border-color: #555d66;
    background: #2f353b;
}

.proj-card-actions[b-e6bpf999ni] {
    position: absolute;
    top: 8px;
    right: 8px;
    display: none;
    gap: 4px;
}

.proj-card:hover .proj-card-actions[b-e6bpf999ni] { display: flex; }

.proj-card-icon[b-e6bpf999ni] {
    font-size: 32px;
    color: #00c4aa;
    margin-bottom: 10px;
}

[data-bs-theme="light"] .proj-card[b-e6bpf999ni] { background: #f1f3f5; border-color: #ced4da; }
[data-bs-theme="light"] .proj-card:hover[b-e6bpf999ni] { border-color: #adb5bd; background: #e9ecef; }
[data-bs-theme="light"] .proj-card-icon[b-e6bpf999ni] { color: #009b86; }
[data-bs-theme="light"] .proj-card-date[b-e6bpf999ni] { color: #888; }

.proj-card-name[b-e6bpf999ni] {
    font-size: 14px;
    font-weight: 600;
    color: var(--np-dialog-title);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.proj-card-date[b-e6bpf999ni] {
    font-size: 11px;
    color: var(--np-stat-color);
}

.proj-rename-input[b-e6bpf999ni] {
    display: block;
    width: 100%;
    background: var(--np-input-bg);
    border: 1px solid #00c4aa;
    border-radius: 4px;
    color: var(--np-input-color);
    padding: 3px 7px;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 4px;
}

[data-bs-theme="light"] .proj-rename-input[b-e6bpf999ni] { border-color: #009b86; }

/* ── Icon buttons ── */
.proj-icon-btn[b-e6bpf999ni] {
    background: transparent;
    border: none;
    color: var(--np-stat-color);
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1;
}

.proj-icon-btn:hover[b-e6bpf999ni] {
    background: var(--np-btn-hover);
    color: var(--np-name-color);
}

[data-bs-theme="light"] .proj-icon-btn:hover[b-e6bpf999ni] { background: #e9ecef; color: #495057; }
.proj-icon-btn--danger:hover[b-e6bpf999ni] { color: #ff6b6b; }
[data-bs-theme="light"] .proj-icon-btn--danger:hover[b-e6bpf999ni] { color: #be3a3a; }

/* ── Action buttons ── */
.proj-btn-teal[b-e6bpf999ni] {
    background: #00c4aa;
    border: none;
    color: #000;
    border-radius: 5px;
    padding: 7px 18px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.proj-btn-teal:hover[b-e6bpf999ni] { background: #00dfbf; }

.proj-btn-ghost[b-e6bpf999ni] {
    background: transparent;
    border: 1px solid var(--np-ghost-border);
    color: var(--np-ghost-color);
    border-radius: 4px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 12px;
}

[data-bs-theme="light"] .proj-btn-ghost[b-e6bpf999ni] { color: #555; }

/* ── New project dialog ── */
.proj-dialog-backdrop[b-e6bpf999ni] {
    position: fixed;
    inset: 0;
    background: var(--np-backdrop);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proj-dialog-box[b-e6bpf999ni] {
    background: var(--np-dialog-bg);
    border: 1px solid var(--np-dialog-border);
    border-radius: 8px;
    padding: 22px 24px;
    min-width: 280px;
    box-shadow: 0 8px 32px var(--np-dialog-shadow);
}

.proj-dialog-title[b-e6bpf999ni] {
    color: var(--np-dialog-title);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.proj-dialog-input[b-e6bpf999ni] {
    width: 100%;
    box-sizing: border-box;
    background: var(--np-input-bg);
    border: 1px solid var(--np-input-border);
    border-radius: 5px;
    color: var(--np-input-color);
    padding: 9px 11px;
    font-size: 14px;
    outline: none;
}

.proj-dialog-row[b-e6bpf999ni] {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    justify-content: flex-end;
}
/* /Components/Pages/NodePage.razor.rz.scp.css */
/* ── Toolbar ── */
.np-toolbar[b-1obtqrb18r] {
    width: 140px;
    flex-shrink: 0;
    border-right: 1px solid var(--np-toolbar-border);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 8px;
    overflow-y: auto;
}

.np-project-name[b-1obtqrb18r] {
    color: var(--np-name-color);
    font-size: 10px;
    padding: 0 2px 8px;
    border-bottom: 1px solid var(--np-divider);
    word-break: break-all;
    line-height: 1.4;
    overflow: hidden;
    max-height: 38px;
}

.np-section-label[b-1obtqrb18r] {
    color: var(--np-label-color-highlight);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 2px;
}

.np-divider[b-1obtqrb18r] {
    border-color: var(--np-divider);
    margin: 4px 0;
}

.np-stat[b-1obtqrb18r] {
    color: var(--np-stat-color);
    font-size: 10px;
}

/* ── Dialogs ── */
.np-dialog-backdrop[b-1obtqrb18r] {
    position: fixed;
    inset: 0;
    background: var(--np-backdrop);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-dialog-box[b-1obtqrb18r] {
    background: var(--np-dialog-bg);
    border: 1px solid var(--np-dialog-border);
    border-radius: 8px;
    padding: 22px 24px;
    box-shadow: 0 8px 32px var(--np-dialog-shadow);
}

.np-dialog-title[b-1obtqrb18r] {
    color: var(--np-dialog-title);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.np-dialog-input[b-1obtqrb18r] {
    width: 100%;
    box-sizing: border-box;
    background: var(--np-input-bg);
    border: 1px solid var(--np-input-border);
    border-radius: 5px;
    color: var(--np-input-color);
    padding: 9px 11px;
    font-size: 13px;
    outline: none;
}

.np-dialog-hint[b-1obtqrb18r] {
    color: var(--np-hint-color);
    font-size: 10px;
    margin-top: 5px;
}

.np-dialog-row[b-1obtqrb18r] {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    justify-content: flex-end;
}

.np-btn-ghost[b-1obtqrb18r] {
    background: transparent;
    border: 1px solid var(--np-ghost-border);
    color: var(--np-ghost-color);
    border-radius: 4px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 12px;
}

.np-btn-confirm[b-1obtqrb18r] {
    background: #00c4aa;
    border: none;
    color: #000;
    border-radius: 4px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.np-btn-confirm:hover[b-1obtqrb18r] { background: #00dfbf; }
