/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-kc989pta5g] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-gradient-bg[b-kc989pta5g] {
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 30%, rgba(176, 27, 56, 0.06) 100%);
}

.app-header[b-kc989pta5g] {
    background-color: #fff;
    border-bottom: 1px solid #e1e1e1;
    position: relative;
    z-index: 100;
}

.app-header-top[b-kc989pta5g]{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 1.5rem;

  position: relative;
  background: linear-gradient(
    90deg,
    rgba(176,27,56,0.06) 0%,
    #fff 35%,
    #fff 65%,
    rgba(16, 185, 129, 0.08) 100%
  );

  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.app-header-top[b-kc989pta5g]::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background: rgba(255,255,255,0.9);
  pointer-events:none;
}

.app-header-top[b-kc989pta5g]::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background: linear-gradient(
    90deg,
    rgba(176, 27, 56, 0.0),
    rgba(176, 27, 56, 0.75),
    rgba(176, 27, 56, 0.0)
  );
}



.header-left[b-kc989pta5g],
.header-right[b-kc989pta5g] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-right[b-kc989pta5g] {
    justify-content: flex-end;
}

.header-center[b-kc989pta5g] {
    text-align: center;
}

.app-title[b-kc989pta5g] {
    font-size: 3rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 800;
    color: #B01B38;
    letter-spacing: 0.08em;
}

.brand-link[b-kc989pta5g] {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
    font-weight: 800;
    color: #111827;
    text-decoration: none !important;
    display: inline-flex;
    align-items: flex-end;
    gap: 1rem;
}

.brand-logo[b-kc989pta5g] {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand-text[b-kc989pta5g] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-left: 1rem;
    margin-top: 0.2rem;
}

.brand-name[b-kc989pta5g] {
    font-size: 1.8rem;
    line-height: 1.05;
    letter-spacing: 0.04em;
    font-weight: 900; /* bold đậm hơn */
    color: #111827; /* đen nét */
}

.brand-prefix[b-kc989pta5g] {
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-main[b-kc989pta5g] {
    font-size: 1.8rem;
    font-weight: 900;
}

.brand-tagline[b-kc989pta5g] {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.brand-link:hover[b-kc989pta5g] {
    color: #1d4ed8;
    text-decoration: none !important;
}

.brand-link:focus[b-kc989pta5g],
.brand-link:active[b-kc989pta5g] {
    text-decoration: none !important;
}

.header-actions-desktop[b-kc989pta5g],
.header-actions-mobile[b-kc989pta5g] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-action-btn[b-kc989pta5g] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    white-space: nowrap;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    min-height: 2rem;
    border: 1px solid transparent;
    background: #f8fafc;
    color: #1f2937;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.header-action-btn i[b-kc989pta5g] {
    font-size: 0.95rem;
}

.header-action-btn span[b-kc989pta5g] {
    font-size: 0.82rem;
}

.header-action-btn:hover[b-kc989pta5g] {
    background: #eef2f7;
    border-color: rgba(148, 163, 184, 0.5);
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.header-action-btn:focus-visible[b-kc989pta5g] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18), 0 0 0 6px rgba(15, 23, 42, 0.1);
}

.header-action-btn--neutral[b-kc989pta5g] {
    background: #f8fafc;
    border-color: rgba(203, 213, 225, 0.8);
}

.header-action-btn--neutral:hover[b-kc989pta5g] {
    background: #f1f5f9;
    border-color: rgba(148, 163, 184, 0.7);
}

.header-action-btn--primary[b-kc989pta5g] {
    background: #0f766e;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.25);
}

.header-action-btn--primary:hover[b-kc989pta5g] {
    background: #115e59;
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.3);
}

.header-action-btn--danger[b-kc989pta5g] {
    background: #fef2f2;
    border-color: rgba(248, 113, 113, 0.4);
    color: #b91c1c;
    box-shadow: 0 6px 16px rgba(185, 28, 28, 0.14);
}

.header-action-btn--danger:hover[b-kc989pta5g] {
    background: #fee2e2;
    color: #991b1b;
    box-shadow: 0 10px 18px rgba(185, 28, 28, 0.2);
}

.header-action-badge[b-kc989pta5g] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.3rem;
    margin-left: 0.3rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
}

.header-action-badge--warning[b-kc989pta5g] {
    background: #fbbf24;
    color: #1f2937;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.2);
}

.header-account-btn[b-kc989pta5g] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e, #1e3a8a);
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.2);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-account-btn:hover[b-kc989pta5g] {
    filter: brightness(0.98);
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.header-account-btn:focus-visible[b-kc989pta5g] {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.25), 0 0 0 6px rgba(30, 58, 138, 0.18);
}

.header-account-btn:active[b-kc989pta5g] {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
}

.header-account-btn .account-avatar[b-kc989pta5g] {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.header-account-btn .account-text[b-kc989pta5g] {
    min-height: 0;
}

.header-account-btn .account-name[b-kc989pta5g] {
    color: #fff;
    font-size: 0.9rem;
}

.header-account-btn .account-permission[b-kc989pta5g] {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

.header-icon-btn[b-kc989pta5g] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
    padding: 0.2rem;
    color: #111827;
    box-shadow: none;
    transition: color 0.2s ease;
}

.header-icon-btn i[b-kc989pta5g] {
    font-size: 1.45rem;
}

.header-icon-btn:hover[b-kc989pta5g] {
    color: #0f172a;
}

.header-icon-btn--account[b-kc989pta5g] {
    color: #1f2937;
}

.header-icon-btn--account i[b-kc989pta5g] {
    font-size: 1.55rem;
}

.header-badge[b-kc989pta5g] {
    position: absolute;
    top: -2px;
    right: -2px;
    transform: translate(20%, -20%);
    font-size: 0.7rem;
    padding: 0.2rem 0.35rem;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

.main-nav[b-kc989pta5g] {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    background: #ffffff;
    position: relative;
    overflow: visible;
    /* CHUYỂN scroll ngang lên đây */
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    z-index: 50;
}
.main-nav[b-kc989pta5g]::-webkit-scrollbar { display: none; }

.main-nav-inner[b-kc989pta5g] {
    display: inline-flex; /* đổi từ flex -> inline-flex */
    min-width: max-content; /* để nó dài theo content */
    align-items: center;
    gap: 1.25rem;
    padding: 0.65rem 1.5rem;
    flex-wrap: nowrap;
    /* QUAN TRỌNG: không được overflow auto/hidden */
    overflow: visible !important;
    position: relative;
}

.main-nav[b-kc989pta5g]  .main-nav-link {
    color: #222;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0;
    white-space: nowrap;
    font-size: 0.95rem;
}

.main-nav[b-kc989pta5g]  .main-nav-link.active,
.main-nav[b-kc989pta5g]  .main-nav-link:hover {
    color: #b01b38;
    text-decoration: none;
}

.main-nav-item[b-kc989pta5g] {
    position: relative;
}

.main-nav-item.has-dropdown[b-kc989pta5g] >  .main-nav-link::after {
    content: "";
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 0.2rem;
    margin-bottom: 0.1rem;
}

.app-main[b-kc989pta5g] {
    flex: 1;
    padding: 0rem 1.5rem 1.5rem 1.5rem;
    background: transparent;
    position: relative;
    z-index: auto;
}

.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) {
    .app-header-top[b-kc989pta5g] {
        grid-template-columns: auto 1fr auto;
        padding: 0.2rem 0.75rem;
    }

    .app-title[b-kc989pta5g] {
        font-size: 1.5rem;
        line-height: 1;
        color: #B01B38;
        letter-spacing: 0.05em;
    }

    .app-main[b-kc989pta5g] {
        padding: 1rem;
    }

    .main-nav-inner[b-kc989pta5g] {
        padding: 0.5rem 0.75rem;
        gap: 1rem;
    }

    .main-nav[b-kc989pta5g]  .main-nav-link {
        font-size: 0.9rem;
    }

    .sidebar-mobile[b-kc989pta5g] {
        height: 100vh;
        position: sticky;
        top: 50px !important;
    }
}

@media (min-width: 641px) {
    .app-header[b-kc989pta5g] {
        position: sticky;
        top: 0;
        z-index: 100;
    }
}

/* Header phải nằm trên main */
.app-header[b-kc989pta5g] {
    position: sticky;
    top: 0;
    z-index: 100;
    isolation: isolate;
    background: #fff;
}

/* ===== Dropdown giống ảnh (underline hover, border-top đậm, hẹp) ===== */

/* dropdown panel */
.main-nav-dropdown[b-kc989pta5g] {
    display: none;
    min-width: 100px; /* hẹp hơn */
    max-width: 200px;
    background: #fff;
    border-radius: 0; /* ảnh góc vuông */
    border: 1px solid rgba(0,0,0,.10);
    border-top: 2px solid #B01B38; /* đường kẻ ngang đậm */

    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    padding: 2px 0;
    font-size: 16px;
    line-height: 1.15;
}

    /* item */
    .main-nav-dropdown[b-kc989pta5g]  .dropdown-item {
        display: block;
        padding: 10px 10px; /* spacing giống ảnh */
        color: #111;
        text-decoration: none !important;
        white-space: nowrap;
        font-weight: 700;
    }

        /* hover: chỉ underline, không background */
        .main-nav-dropdown[b-kc989pta5g]  .dropdown-item:hover {
            background: transparent !important;
            color: #111 !important;
            text-decoration: underline !important;
            text-underline-offset: 4px;
            text-decoration-thickness: 1px;
        }

/* bỏ mũi nhọn (ảnh không có) */
.main-nav-dropdown[b-kc989pta5g]::before {
    display: none !important;
}



/* bridge nằm trên cùng để giữ hover */
.fixed-bridge[b-kc989pta5g] {
    position: fixed;
    z-index: 150;
    background: transparent;
    display: none;
}

/* dropdown fixed */
.fixed-dropdown[b-kc989pta5g] {
    position: fixed;
    z-index: 149;
    display: none;
}

/* show khi hover vào main item */
.main-nav-item.has-dropdown:hover .fixed-dropdown[b-kc989pta5g],
.main-nav-item.has-dropdown:hover .fixed-bridge[b-kc989pta5g] {
    display: block;
}



/* đặt vị trí fixed ngay dưới header/nav (bạn chỉnh số px này cho khớp UI) */
@media (min-width: 641px) {
    .fixed-dropdown[b-kc989pta5g] {
        top: 120px;
        left: 320px;
    }
    /* PC: chỉnh theo vị trí menu "制作管理" */
}

@media (max-width: 640.98px) {
    .fixed-dropdown[b-kc989pta5g] {
        top: 74px;
        left: 140px;
    }
    /* Mobile: chỉnh theo vị trí menu */
}

@media (max-width: 640.98px) {
    .main-nav-dropdown[b-kc989pta5g],
    .fixed-bridge[b-kc989pta5g] {
        display: none !important;
    }
}

.navlink-ref[b-kc989pta5g] {
    display: inline-block;
}

/* mobile nav: default hidden on desktop */
.mnav[b-kc989pta5g],
.mnav-tabs[b-kc989pta5g] {
    display: none;
}

.desktop-only[b-kc989pta5g] {
    display: block;
}

@media (max-width: 640.98px) {
    .desktop-only[b-kc989pta5g] {
        display: none !important;
    }

    .mnav[b-kc989pta5g] {
        display: block;
    }
}

/* ===========================
   Mobile VNExpress-like nav
   =========================== */

.mnav[b-kc989pta5g] {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.mnav-bread[b-kc989pta5g] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mnav-bread[b-kc989pta5g]::-webkit-scrollbar {
    display: none;
}

.mnav-home[b-kc989pta5g] {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: #111;
    text-decoration: none;
}

.mnav-crumb[b-kc989pta5g] {
    position: relative;
    flex: 0 0 auto;
    font-weight: 700;
    color: #111;
    padding: 6px 10px;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.mnav-crumb:first-of-type[b-kc989pta5g] {
    border-left: none;
}

.mnav-crumb.has-sub[b-kc989pta5g]::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    position: relative;
    top: -1px;
}

.mnav-label[b-kc989pta5g] {
    pointer-events: none;
}

.mnav-select[b-kc989pta5g] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: transparent;
    padding-bottom: 2px; /* chừa chỗ để line đỏ không bị cắt */
}

.mnav-tabs[b-kc989pta5g] {
    display: flex;
    gap: 18px;
    padding: 10px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background-color: transparent;
}

.mnav-tabs[b-kc989pta5g]::-webkit-scrollbar {
    display: none;
}

.mnav-tab[b-kc989pta5g] {
    position: relative;
    text-decoration: none !important;
    /* giống PC */
    color: #222;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 0 10px; /* có chỗ cho line đỏ */
    white-space: nowrap;
}

    /* active giống PC */
    .mnav-tab.active[b-kc989pta5g] {
        color: #b01b38 !important;
        font-weight: 600;
    }

        /* line đỏ giống PC */
        .mnav-tab.active[b-kc989pta5g]::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0px;
            height: 2px;
            background: #B01B38;
        }


.mnav-tabs-fill[b-kc989pta5g] {
    gap: 0;
}

.mnav-tabs-fill .mnav-tab[b-kc989pta5g] {
    flex: 1 1 0;
    text-align: center;
}

@media (min-width: 641px) {
    .desktop-only[b-kc989pta5g] {
        display: block;
    }
}
/* /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: stretch;
    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-reset:not(:last-child)[b-ne58gre3ak]::after {
    background: var(--line);
}

.step-reset:not(:last-child)[b-ne58gre3ak]::before {
    content: "";
    display: none;
}

.connector-reset-icon[b-ne58gre3ak] {
    position: absolute;
    right: 1.7rem;
    top: 15%;
    transform: translateY(-50%);
    font-size: 1.35rem;
    color: #000;
}

.connector-warning-icon[b-ne58gre3ak] {
    position: absolute;
    right: 1.7rem;
    top: 15%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #dc3545;
}

.has-warning-icon:not(:last-child)[b-ne58gre3ak]::before {
    display: 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;
    }
}
.step-warning:not(:last-child)[b-ne58gre3ak]::after {
    background: #dc3545;
}

.step-warning:not(:last-child)[b-ne58gre3ak]::before {
    content: "";
    position: absolute;
    right: 1.7rem;
    top: 15%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='none' stroke='%23dc3545' stroke-width='10'/%3E%3Crect x='45' y='22' width='10' height='42' fill='%23dc3545'/%3E%3Ccircle cx='50' cy='72' r='6' fill='%23dc3545'/%3E%3C/svg%3E") center/contain no-repeat;
    pointer-events: none;
}
/* 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,
    .step-warning:not(:last-child)[b-ne58gre3ak]::before,
    .step-reset:not(:last-child)[b-ne58gre3ak]::before {
        width: 2rem;
        height: 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;
        }

    /* Ensure active step text stays white on mobile */
    .status-steps.mobile-vertical .step.step-active .label[b-ne58gre3ak],
    .status-steps.mobile-vertical .step.step-active .index[b-ne58gre3ak],
    .status-steps.mobile-vertical .step.step-active .time[b-ne58gre3ak] {
        color: #fff !important;
    }
        .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;
        }
    .connector-reset-icon[b-ne58gre3ak] {
        position: absolute;
        right: 1.7rem;
        top: 1.3rem;
        transform: translateY(-50%);
        font-size: 1.35rem;
        color: #000;
    }
    .connector-warning-icon[b-ne58gre3ak] {
        position: absolute;
        right: 1.7rem;
        top: 1.3rem;
        transform: translateY(-50%);
        font-size: 1.35rem;
        color: #dc3545;
    }
    .step-blocked:not(:last-child)[b-ne58gre3ak]::after {
        background: #dc3545;
    }

    .step-blocked:not(:last-child)[b-ne58gre3ak]::before {
        content: "✕";
        position: absolute;
        right: 1.3rem;
        top: 1.3rem;
        transform: translateY(-50%);
        color: #dc3545;
        font-weight: 800;
        font-size: 1.35rem;
        text-align: center;
        text-shadow: 0 0 6px #fff;
        pointer-events: 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: pre-wrap;
    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;
    }
}
/* Scrollable status history table */
.status-history-scroll[b-ne58gre3ak] {
    max-height: 47.5vh;
    overflow-y: auto;
}
.history-detail[b-ne58gre3ak] {
    white-space: pre-wrap;
    word-break: break-word;
}

.history-detail-cell[b-ne58gre3ak] {
    white-space: normal;
    min-width: 240px;
}
/* /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;
    }
