/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-kc989pta5g] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-kc989pta5g] {
    flex: 1;
}

.sidebar[b-kc989pta5g] {
    background-image: linear-gradient(180deg, #0cf7f0 0%, rgb(128 128 128) 70%);
}
.sidebar-mobile[b-kc989pta5g] {
    background-image: linear-gradient(180deg, #0cf7f0 0%, rgb(128 128 128) 70%);
}

.top-row[b-kc989pta5g] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 2rem;
    display: flex;
    align-items: center;
}

    .top-row[b-kc989pta5g]  a, .top-row[b-kc989pta5g]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-kc989pta5g]  a:hover, .top-row[b-kc989pta5g]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-kc989pta5g]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-kc989pta5g] {
        justify-content: space-between;
    }

    .top-row[b-kc989pta5g]  a, .top-row[b-kc989pta5g]  .btn-link {
        margin-left: 0;
    }
    .sidebar-mobile[b-kc989pta5g] {
        height: 100vh;
        position: sticky;
        top: 50px !important;
    }
}

@media (min-width: 641px) {
    .page[b-kc989pta5g] {
        flex-direction: row;
    }

    .sidebar[b-kc989pta5g] {
        max-width: calc(10% + 50px);
        height: 100vh;
        position: sticky;
        top: 50px !important;
    }
    

    .top-row[b-kc989pta5g] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-kc989pta5g]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-kc989pta5g], article[b-kc989pta5g] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-iqpjrornlq] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-iqpjrornlq] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-iqpjrornlq] {
    font-size: 1.1rem;
}

.bi[b-iqpjrornlq] {
    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-iqpjrornlq] {
    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-iqpjrornlq] {
    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-iqpjrornlq] {
    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-iqpjrornlq] {
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-iqpjrornlq] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-iqpjrornlq] {
        padding-bottom: 1rem;
    }

    .nav-item[b-iqpjrornlq]  a {
        color: black;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-iqpjrornlq]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: black;
}

.nav-item[b-iqpjrornlq]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: black;
}

@media (min-width: 641px) {
    .navbar-toggler[b-iqpjrornlq] {
        display: none;
    }

    .collapse[b-iqpjrornlq] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-iqpjrornlq] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Rebars/Status.razor.rz.scp.css */
/* View 3D */
.three-d-placeholder[b-ne58gre3ak] {
    height: 65dvh;
    background: repeating-conic-gradient(#f8f9fa 0% 25%, #ffffff 0% 50%) 50% / 28px 28px;

}

#preview.viewer-host[b-ne58gre3ak] {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: 100%;
    border: none !important;
    outline: none !important;
    border-radius: inherit;
    overflow: hidden;
    background: transparent;
}

    #preview.viewer-host > div[b-ne58gre3ak], #preview.viewer-host canvas[b-ne58gre3ak] {
        border: none !important;
        outline: none !important;
        border-radius: inherit;
        overflow: hidden;
        box-shadow: none !important;
    }

/* Stepper ngang */
.steps-scroll[b-ne58gre3ak] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}

.status-steps[b-ne58gre3ak] {
    --line: #e0e0e0;
    --active: #0d6efd;
    --done: #198754;
    --text: #333;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
}

.step[b-ne58gre3ak] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    padding: 0.25rem 0;
    white-space: nowrap;
}

    .step[b-ne58gre3ak]::after {
        content: "";
        height: 2px;
        width: 5rem;
        background: var(--line);
        margin-left: 0.5rem;
    }
.step-blocked:not(:last-child)[b-ne58gre3ak]::after {
    background: #dc3545;
}
.step-blocked:not(:last-child)[b-ne58gre3ak]::before {
    content: "✕";
    position: absolute;
    right: 0rem;
    top: 50%;
    transform: translateY(-50%);
    color: #dc3545;
    font-weight: 800;
    font-size: 1.4rem;
    width: 5rem;
    text-align: center;
    text-shadow: 0 0 6px #fff;
    pointer-events: none;
}
    .step:last-child[b-ne58gre3ak]::after {
        display: none;
    }

.bubble[b-ne58gre3ak] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--done);
    display: grid;
    place-items: center;
    background: wheat;
    transition: all 0.2s ease;
    flex: 0 0 auto;
}

.index[b-ne58gre3ak] {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

.meta[b-ne58gre3ak] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.label[b-ne58gre3ak] {
    font-weight: 600;
    color: var(--text);
}

.time[b-ne58gre3ak] {
    font-size: 0.75rem;
    opacity: 0.85;
}

.step-done .bubble[b-ne58gre3ak] {
    border-color: var(--done);
    background: wheat;
}

.step-done .index[b-ne58gre3ak] {
    color: var(--done);
}

.step-done[b-ne58gre3ak]::after {
    background: var(--done);
}

.step-active .bubble[b-ne58gre3ak] {
    border-color: var(--done);
    transform: scale(1.02);
    background: red !important;
}

.step-active .index[b-ne58gre3ak], .step-active .label[b-ne58gre3ak] {
    color: var(--active);
}

.step-active .index[b-ne58gre3ak] {
    color: white;
}

.step-disabled[b-ne58gre3ak] {
    cursor: not-allowed;
    opacity: 0.6;
}
.step-blocked-after[b-ne58gre3ak] {
    opacity: 0.4;
    filter: grayscale(0.5);
    pointer-events: none;
    cursor: not-allowed;
}

.step:not(.step-disabled):hover .bubble[b-ne58gre3ak] {
    box-shadow: 0 0 0 4px rgba(13,110,253,0.12);
}

/* Nút ngang */
.dock-actions-horizontal[b-ne58gre3ak] {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}

.dock-button[b-ne58gre3ak] {
    min-width: 220px;
}

    .dock-button button[b-ne58gre3ak] {
        width: 240px;
        font-size: 1.05rem;
        padding: 0.75rem 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-weight: 600;
    }

/* Sidebar phải */
.sticky-right[b-ne58gre3ak] {
    position: sticky;
    top: 1rem;
    z-index: 10;
    max-width: 660px;
    margin-left: 0;
}

    .sticky-right .card[b-ne58gre3ak] {
        font-size: 0.85rem;
        border-radius: 0.5rem;
        margin-top: 0.25rem;
    }

.rebar-info-header[b-ne58gre3ak] {
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
}

.sticky-right .card-header[b-ne58gre3ak] {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.4rem 0.6rem;
}

.sticky-right .table th[b-ne58gre3ak], .sticky-right .table td[b-ne58gre3ak] {
    padding: 0.3rem 0.45rem;
    vertical-align: middle;
}

.sticky-right .table th[b-ne58gre3ak] {
    width: 55%;
    font-weight: 600;
    white-space: nowrap;
}

.sticky-right .table td[b-ne58gre3ak] {
    font-weight: 500;
    color: #333;
}

/* Khoảng cách bố cục */
.row.g-2[b-ne58gre3ak] {
    --bs-gutter-x: 5rem;
}

/* Responsive cho tablet */
@media (max-width: 991.98px) {
    .three-d-placeholder[b-ne58gre3ak] {
        height: 50vh;
    }

    .sticky-right[b-ne58gre3ak] {
        max-width: 100%;
        margin: 0 auto;
    }

    .dock-actions-horizontal[b-ne58gre3ak] {
        gap: 1.25rem;
    }

    .dock-button[b-ne58gre3ak], .dock-button button[b-ne58gre3ak] {
        width: 100%;
        min-width: 0;
    }
}

/* Mobile */
@media (max-width: 576.98px) {
    .row.g-2[b-ne58gre3ak] {
        --bs-gutter-x: 0.75rem;
    }
    .up[b-ne58gre3ak] {
        margin-top: -3rem;
    }
    .three-d-placeholder[b-ne58gre3ak] {
        height: calc(100vh - 250px);
        border-width: 1px !important;
    }
    .container-fluid[b-ne58gre3ak] {
        height: 80dvh; /* dùng dvh ổn định khi thu/phóng */
        display: flex;
        flex-direction: column;
        overflow: auto;
    }
    .steps-scroll[b-ne58gre3ak] {
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    .status-steps[b-ne58gre3ak] {
        --text: blue;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
    }

        .status-steps .step[b-ne58gre3ak] {
            width: 100% !important;
            padding: 0.4rem 0.5rem !important;
            border: 1px solid #e9ecef;
            border-radius: 0.5rem;
            background: #fff;
        }

            .status-steps .step[b-ne58gre3ak]::after {
                display: none !important;
            }

        .status-steps .bubble[b-ne58gre3ak] {
            width: 30px;
            height: 30px;
            border-width: 1.5px;
            background: wheat;
        }

        .status-steps .index[b-ne58gre3ak] {
            font-size: 0.9rem;
        }

        .status-steps .meta .label[b-ne58gre3ak] {
            font-weight: 600;
        }

        .status-steps .meta .time[b-ne58gre3ak] {
            font-size: 0.7rem;
            opacity: 0.8;
        }

    .step-blocked:not(:last-child)[b-ne58gre3ak]::before {
        right: 0.75rem;
        width: auto;
        font-size: 1.2rem;
    }

    .step[b-ne58gre3ak] {
        border: 1px solid black !important;
        border-radius: 8px;
    }

    .step-active[b-ne58gre3ak] {
        background: blue !important;
    }

        .step-active .label[b-ne58gre3ak], .step-active .index[b-ne58gre3ak], .step-active .time[b-ne58gre3ak] {
            color: white;
        }

        .step-active .bubble[b-ne58gre3ak] {
            background: red !important;
        }

    .step-disabled .label[b-ne58gre3ak], .step-disabled .index[b-ne58gre3ak], .step-disabled .time[b-ne58gre3ak] {
        color: black;
    }

    .dock-actions-horizontal[b-ne58gre3ak] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
        margin-top: 0.75rem !important;
    }

    .dock-button[b-ne58gre3ak], .dock-button button[b-ne58gre3ak] {
        width: 100% !important;
        min-width: 0 !important;
    }

        .dock-button button[b-ne58gre3ak] {
            padding: 0.65rem 0.9rem !important;
            font-size: 1rem !important;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .dock-button .small[b-ne58gre3ak] {
            margin-top: 0.35rem !important;
            text-align: center;
        }

    .sticky-right[b-ne58gre3ak] {
        position: static !important;
        max-width: 100% !important;
        margin: 0.75rem 0 0 !important;
    }

        .sticky-right .card[b-ne58gre3ak] {
            font-size: 0.95rem;
        }

        .sticky-right .card-header[b-ne58gre3ak] {
            font-size: 1rem;
            padding: 0.5rem 0.75rem;
        }

        .sticky-right .table th[b-ne58gre3ak], .sticky-right .table td[b-ne58gre3ak] {
            padding: 0.5rem 0.6rem;
        }

    /* Mobile bottom tabs */
    #mobileBottomTabs .mobile-bottom-content[b-ne58gre3ak] {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-bottom-nav[b-ne58gre3ak] {
        
        padding-bottom: env(safe-area-inset-bottom, 0px);
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        gap: 4px;
        padding: 8px 10px;
    }

        .mobile-bottom-nav .nav-link[b-ne58gre3ak] {
            border-radius: 10px;
            height: 56px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-weight: 600;
            gap: 4px;
            border: 1px solid rgba(0,0,0, .08)
        }

            .mobile-bottom-nav .nav-link i[b-ne58gre3ak] {
                font-size: 1.1rem;
                line-height: 1;
            }

            .mobile-bottom-nav .nav-link span[b-ne58gre3ak] {
                font-size: 0.75rem;
                line-height: 1;
            }

            .mobile-bottom-nav .nav-link.active[b-ne58gre3ak] {
                background: #e7f1ff;
                color: #0d6efd;
            }

    #mobileBottomTabs .mobile-tab-pane[b-ne58gre3ak], #m-pane-3d[b-ne58gre3ak] {
        min-height: 55vh;
    }

    #mobileBottomTabs .status-steps.mobile-vertical .step[b-ne58gre3ak] {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 60px;
        padding: 0.6rem 0.75rem;
        border: 1px solid #e9ecef;
        border-radius: 0.5rem;
        background: #fff;
    }

        #mobileBottomTabs .status-steps.mobile-vertical .step[b-ne58gre3ak]::after {
            display: none;
        }
}

/* Mobile tooltray */
.mobile-tooltray .btn-tool[b-ne58gre3ak] {
    width: 42px;
    height: 42px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

    .mobile-tooltray .btn-tool span[b-ne58gre3ak] {
        font-size: 18px;
        line-height: 1;
    }

    .mobile-tooltray .btn-tool i[b-ne58gre3ak] {
        font-size: 1.1rem;
        line-height: 1;
    }

    .mobile-tooltray .btn-tool.active[b-ne58gre3ak] {
        background: #e9ecef;
    }


:root[b-ne58gre3ak] {
    --dock-h: 120px; /* chiều cao dock (điều chỉnh tuỳ ý 100–140px) */
}
/* Khung trang tránh double-scroll */
/*.container-fluid {
    height: 100dvh;*/ /* dùng dvh ổn định khi thu/phóng */
    /*display: flex;
    flex-direction: column;
    overflow: auto;
}*/

/* Hàng chứa 2 cột chiếm hết phần còn lại và cho phép con bên trong cao 100% */
.d-none.d-sm-block .row.g-2[b-ne58gre3ak] {
    flex: 1 1 auto;
    min-height: 0; /* quan trọng để sticky không “hụp” khi zoom */
}
/* Cột giữa & dock dính đáy */
.middle-col[b-ne58gre3ak] {
    display: flex;
    flex-direction: column;
    min-height: 0; /* cho phép con bên trong co giãn đúng */
    height: 100%;
    overflow: auto; /* cột giữa là scroller */
    padding-right: 0.5rem;
    padding-bottom: var(--dock-h); /* chừa chỗ dưới cho dock nằm đè lên */
    scroll-behavior: smooth;
}
.progress-dock[b-ne58gre3ak] {
    position: sticky;
    bottom: env(safe-area-inset-bottom, 0px); /* an toàn trên iOS */
    z-index: 20;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(120%) blur(6px);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 12px rgba(0,0,0,.06);
    padding: 1.25rem 2.5rem;
    border-radius: 1rem 1rem 0 0;
    /* chống “tụt/hụp” do sub-pixel khi zoom */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout paint; /* cô lập vùng vẽ, giảm ảnh hưởng layout bên trên */
}
root[b-ne58gre3ak] {
    --dock-h: 140px; /* chiều cao ước lượng dock + nút + mô tả */
}

/* thay cho height cứng trước đó */
.three-d-placeholder[b-ne58gre3ak] {
    height: clamp(400px, calc(100dvh - var(--dock-h) - 150px), 72vh);
    /* giữ border/background như cũ */
}

.middle-col[b-ne58gre3ak] {
    min-height: 0; /* để flex con tính chiều cao đúng */
}

/* nếu muốn cuộn riêng phần giữa (không bắt buộc) */
@media (min-width: 576px) {
    .middle-col[b-ne58gre3ak] {
        display: flex;
        flex-direction: column;
    }
        /* khung nội dung cuộn (3D + dock) */
        .middle-col > .three-d-placeholder[b-ne58gre3ak] {
            /* đã giới hạn bằng clamp ở trên */
        }
}
@media (min-width: 576px) {
    .middle-col > .three-d-placeholder[b-ne58gre3ak] {
    }
}
.progress-dock[b-ne58gre3ak] {
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(120%) blur(6px);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 12px rgba(0,0,0,.06);
    padding: 1.25rem 2rem;
    border-radius: 1rem 1rem 0 0;
}

.history-list-mobile[b-ne58gre3ak] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.history-item-mobile[b-ne58gre3ak] {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #ffffff;
    font-size: 0.9rem;
}

.history-detail-mobile[b-ne58gre3ak] {
    white-space: normal;
    word-break: break-word;
}

/* Nếu muốn chỉ áp dụng cho màn nhỏ */
@media (min-width: 576px) {
    .history-item-mobile[b-ne58gre3ak] {
        font-size: 0.85rem;
    }
}
/* /Pages/Rebars/ViewModel.razor.rz.scp.css */
/* Khung trang tránh double-scroll */
.container-fluid[b-v6u2rld8j6] {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Cột giữa & dock dính đáy */
.middle-col[b-v6u2rld8j6] {
    position: relative;
    padding-right: 0.5rem;
    align-self: flex-start;
}

.progress-dock[b-v6u2rld8j6] {
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(120%) blur(6px);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 12px rgba(0,0,0,.06);
    padding: 1.25rem 2.5rem;
    border-radius: 1rem 1rem 0 0;
}

/* View 3D */
.three-d-placeholder[b-v6u2rld8j6] {
    height: min(65vh, 720px);
    background: repeating-conic-gradient(#f8f9fa 0% 25%, #ffffff 0% 50%) 50% / 28px 28px;
    border: dashed #ccc !important;
}

#preview.viewer-host[b-v6u2rld8j6] {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: 100%;
    border: none !important;
    outline: none !important;
    border-radius: inherit;
    overflow: hidden;
    background: transparent;
}

    #preview.viewer-host > div[b-v6u2rld8j6], #preview.viewer-host canvas[b-v6u2rld8j6] {
        border: none !important;
        outline: none !important;
        border-radius: inherit;
        overflow: hidden;
        box-shadow: none !important;
    }

/* Stepper ngang */
.steps-scroll[b-v6u2rld8j6] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}

.status-steps[b-v6u2rld8j6] {
    --line: #e0e0e0;
    --active: #0d6efd;
    --done: #198754;
    --text: #333;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
}

.step[b-v6u2rld8j6] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    padding: 0.25rem 0;
    white-space: nowrap;
}

    .step[b-v6u2rld8j6]::after {
        content: "";
        height: 2px;
        width: 5rem;
        background: var(--line);
        margin-left: 0.5rem;
    }

    .step:last-child[b-v6u2rld8j6]::after {
        display: none;
    }

.bubble[b-v6u2rld8j6] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--done);
    display: grid;
    place-items: center;
    background: wheat;
    transition: all 0.2s ease;
    flex: 0 0 auto;
}

.index[b-v6u2rld8j6] {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

.meta[b-v6u2rld8j6] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.label[b-v6u2rld8j6] {
    font-weight: 600;
    color: var(--text);
}

.time[b-v6u2rld8j6] {
    font-size: 0.75rem;
    opacity: 0.85;
}

.step-done .bubble[b-v6u2rld8j6] {
    border-color: var(--done);
    background: wheat;
}

.step-done .index[b-v6u2rld8j6] {
    color: var(--done);
}

.step-done[b-v6u2rld8j6]::after {
    background: var(--done);
}

.step-active .bubble[b-v6u2rld8j6] {
    border-color: var(--done);
    transform: scale(1.02);
    background: red !important;
}

.step-active .index[b-v6u2rld8j6], .step-active .label[b-v6u2rld8j6] {
    color: var(--active);
}

.step-active .index[b-v6u2rld8j6] {
    color: white;
}

.step-disabled[b-v6u2rld8j6] {
    cursor: not-allowed;
    opacity: 0.6;
}

.step:not(.step-disabled):hover .bubble[b-v6u2rld8j6] {
    box-shadow: 0 0 0 4px rgba(13,110,253,0.12);
}

/* Nút ngang */
.dock-actions-horizontal[b-v6u2rld8j6] {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}

.dock-button[b-v6u2rld8j6] {
    min-width: 220px;
}

    .dock-button button[b-v6u2rld8j6] {
        width: 240px;
        font-size: 1.05rem;
        padding: 0.75rem 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-weight: 600;
    }

/* Sidebar phải */
.sticky-right[b-v6u2rld8j6] {
    position: sticky;
    top: 1rem;
    z-index: 10;
    max-width: 260px;
    margin-left: auto;
}

    .sticky-right .card[b-v6u2rld8j6] {
        font-size: 0.85rem;
        border-radius: 0.5rem;
        margin-top: 0.25rem;
    }

.rebar-info-header[b-v6u2rld8j6] {
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
}

.sticky-right .card-header[b-v6u2rld8j6] {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.4rem 0.6rem;
}

.sticky-right .table th[b-v6u2rld8j6], .sticky-right .table td[b-v6u2rld8j6] {
    padding: 0.3rem 0.45rem;
    vertical-align: middle;
}

.sticky-right .table th[b-v6u2rld8j6] {
    width: 55%;
    font-weight: 600;
    white-space: nowrap;
}

.sticky-right .table td[b-v6u2rld8j6] {
    font-weight: 500;
    color: #333;
}

/* Khoảng cách bố cục */
.row.g-2[b-v6u2rld8j6] {
    --bs-gutter-x: 5rem;
}

/* Responsive cho tablet */
@media (max-width: 991.98px) {
    .three-d-placeholder[b-v6u2rld8j6] {
        height: 50vh;
    }

    .sticky-right[b-v6u2rld8j6] {
        max-width: 100%;
        margin: 0 auto;
    }

    .dock-actions-horizontal[b-v6u2rld8j6] {
        gap: 1.25rem;
    }

    .dock-button[b-v6u2rld8j6], .dock-button button[b-v6u2rld8j6] {
        width: 100%;
        min-width: 0;
    }
}

/* Mobile */
@media (max-width: 576.98px) {
    .row.g-2[b-v6u2rld8j6] {
        --bs-gutter-x: 0.75rem;
    }

    .three-d-placeholder[b-v6u2rld8j6] {
        height: 65vh !important;
        border-width: 1px !important;
    }

    .progress-dock[b-v6u2rld8j6] {
        position: static !important;
        border-radius: 0.5rem !important;
        box-shadow: none !important;
        padding: 0.75rem !important;
        margin-top: 0.5rem;
    }

    .steps-scroll[b-v6u2rld8j6] {
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    .status-steps[b-v6u2rld8j6] {
        --text: blue;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
    }

        .status-steps .step[b-v6u2rld8j6] {
            width: 100% !important;
            padding: 0.4rem 0.5rem !important;
            border: 1px solid #e9ecef;
            border-radius: 0.5rem;
            background: #fff;
        }

            .status-steps .step[b-v6u2rld8j6]::after {
                display: none !important;
            }

        .status-steps .bubble[b-v6u2rld8j6] {
            width: 30px;
            height: 30px;
            border-width: 1.5px;
            background: wheat;
        }

        .status-steps .index[b-v6u2rld8j6] {
            font-size: 0.9rem;
        }

        .status-steps .meta .label[b-v6u2rld8j6] {
            font-weight: 600;
        }

        .status-steps .meta .time[b-v6u2rld8j6] {
            font-size: 0.7rem;
            opacity: 0.8;
        }

    .step[b-v6u2rld8j6] {
        border: 1px solid black !important;
        border-radius: 8px;
    }

    .step-active[b-v6u2rld8j6] {
        background: blue !important;
    }

        .step-active .label[b-v6u2rld8j6], .step-active .index[b-v6u2rld8j6], .step-active .time[b-v6u2rld8j6] {
            color: white;
        }

        .step-active .bubble[b-v6u2rld8j6] {
            background: red !important;
        }

    .step-disabled .label[b-v6u2rld8j6], .step-disabled .index[b-v6u2rld8j6], .step-disabled .time[b-v6u2rld8j6] {
        color: black;
    }

    .dock-actions-horizontal[b-v6u2rld8j6] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
        margin-top: 0.75rem !important;
    }

    .dock-button[b-v6u2rld8j6], .dock-button button[b-v6u2rld8j6] {
        width: 100% !important;
        min-width: 0 !important;
    }

        .dock-button button[b-v6u2rld8j6] {
            padding: 0.65rem 0.9rem !important;
            font-size: 1rem !important;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .dock-button .small[b-v6u2rld8j6] {
            margin-top: 0.35rem !important;
            text-align: center;
        }

    .sticky-right[b-v6u2rld8j6] {
        position: static !important;
        max-width: 100% !important;
        margin: 0.75rem 0 0 !important;
    }

        .sticky-right .card[b-v6u2rld8j6] {
            font-size: 0.95rem;
        }

        .sticky-right .card-header[b-v6u2rld8j6] {
            font-size: 1rem;
            padding: 0.5rem 0.75rem;
        }

        .sticky-right .table th[b-v6u2rld8j6], .sticky-right .table td[b-v6u2rld8j6] {
            padding: 0.5rem 0.6rem;
        }

    /* Mobile bottom tabs */
    #mobileBottomTabs .mobile-bottom-content[b-v6u2rld8j6] {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-bottom-nav[b-v6u2rld8j6] {
        height: calc(56px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        gap: 0;
    }

        .mobile-bottom-nav .nav-link[b-v6u2rld8j6] {
            border-radius: 0;
            height: 56px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-weight: 600;
            gap: 2px;
        }

            .mobile-bottom-nav .nav-link i[b-v6u2rld8j6] {
                font-size: 1.1rem;
                line-height: 1;
            }

            .mobile-bottom-nav .nav-link span[b-v6u2rld8j6] {
                font-size: 0.75rem;
                line-height: 1;
            }

            .mobile-bottom-nav .nav-link.active[b-v6u2rld8j6] {
                background: #e7f1ff;
                color: #0d6efd;
            }

    #mobileBottomTabs .mobile-tab-pane[b-v6u2rld8j6], #m-pane-3d[b-v6u2rld8j6] {
        min-height: 60vh;
    }

    #mobileBottomTabs .status-steps.mobile-vertical .step[b-v6u2rld8j6] {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 60px;
        padding: 0.6rem 0.75rem;
        border: 1px solid #e9ecef;
        border-radius: 0.5rem;
        background: #fff;
    }

        #mobileBottomTabs .status-steps.mobile-vertical .step[b-v6u2rld8j6]::after {
            display: none;
        }
}

/* Mobile tooltray */
.mobile-tooltray .btn-tool[b-v6u2rld8j6] {
    width: 42px;
    height: 42px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

    .mobile-tooltray .btn-tool span[b-v6u2rld8j6] {
        font-size: 18px;
        line-height: 1;
    }

    .mobile-tooltray .btn-tool i[b-v6u2rld8j6] {
        font-size: 1.1rem;
        line-height: 1;
    }

    .mobile-tooltray .btn-tool.active[b-v6u2rld8j6] {
        background: #e9ecef;
    }
