/* ==========================================================================
   SUPPLY CHAIN MULTI-VIEW STYLES
   --------------------------------------------------------------------------
   File riêng, nạp SAU styles.css. Chỉ ảnh hưởng khối "Dữ liệu chuỗi cung ứng".
   Nguyên tắc: KHÔNG BAO GIỜ cuộn ngang - mọi sơ đồ đều co theo bề rộng khung.
   ========================================================================== */

/* ==========================================================================
   0. ACCENT BỔ SUNG CHO CÁC LOẠI MẮT XÍCH MỚI
   ========================================================================== */
.accent-input   .graph-node-stage-pill { background: #ccfbf1; color: #0f766e; border: 1px solid #5eead4; }
.accent-harvest .graph-node-stage-pill { background: #ecfccb; color: #4d7c0f; border: 1px solid #bef264; }
.accent-audit   .graph-node-stage-pill { background: #fef3c7; color: #b45309; border: 1px solid #fcd34d; }
.accent-sgtin   .graph-node-stage-pill { background: #e0e7ff; color: #4338ca; border: 1px solid #a5b4fc; }
.accent-dish    .graph-node-stage-pill { background: #ffe4e6; color: #be123c; border: 1px solid #fda4af; }

.accent-input   .graph-node-icon-bg { background: #ccfbf1; color: #0f766e; }
.accent-harvest .graph-node-icon-bg { background: #ecfccb; color: #4d7c0f; }
.accent-audit   .graph-node-icon-bg { background: #fef3c7; color: #b45309; }
.accent-sgtin   .graph-node-icon-bg { background: #e0e7ff; color: #4338ca; }
.accent-dish    .graph-node-icon-bg { background: #ffe4e6; color: #be123c; }

.accent-input   .graph-node-box { border-top: 4px solid #14b8a6; }
.accent-harvest .graph-node-box { border-top: 4px solid #84cc16; }
.accent-audit   .graph-node-box { border-top: 4px solid #f59e0b; }
.accent-sgtin   .graph-node-box { border-top: 4px solid #6366f1; }
.accent-dish    .graph-node-box { border-top: 4px solid #f43f5e; }

body[data-theme="dark"] .accent-input   .graph-node-stage-pill,
body[data-theme="dark"] .accent-input   .graph-node-icon-bg { background: rgba(20, 184, 166, 0.18); color: #5eead4; border-color: rgba(94, 234, 212, 0.32); }
body[data-theme="dark"] .accent-harvest .graph-node-stage-pill,
body[data-theme="dark"] .accent-harvest .graph-node-icon-bg { background: rgba(132, 204, 22, 0.18); color: #bef264; border-color: rgba(190, 242, 100, 0.32); }
body[data-theme="dark"] .accent-audit   .graph-node-stage-pill,
body[data-theme="dark"] .accent-audit   .graph-node-icon-bg { background: rgba(245, 158, 11, 0.18); color: #fcd34d; border-color: rgba(252, 211, 77, 0.32); }
body[data-theme="dark"] .accent-sgtin   .graph-node-stage-pill,
body[data-theme="dark"] .accent-sgtin   .graph-node-icon-bg { background: rgba(99, 102, 241, 0.18); color: #a5b4fc; border-color: rgba(165, 180, 252, 0.32); }
body[data-theme="dark"] .accent-dish    .graph-node-stage-pill,
body[data-theme="dark"] .accent-dish    .graph-node-icon-bg { background: rgba(244, 63, 94, 0.18); color: #fda4af; border-color: rgba(253, 164, 175, 0.32); }

/* ==========================================================================
   1. SƠ ĐỒ NHIỀU TẦNG DÙNG CHUNG (Sơ đồ dòng chảy + Sơ đồ tổng quan)
   ----------------------------------------------------------------------
   Node được xếp theo tầng thật của DAG (longest-path layering). Mỗi tầng tự
   xuống dòng bằng flex-wrap khi không đủ chỗ ngang -> KHÔNG BAO GIỜ cuộn ngang.
   Mọi mũi tên là CẠNH THẬT trong dữ liệu, vẽ bằng SVG overlay chỉ dùng đoạn
   dọc + ngang (không có đường chéo, không gộp node thành "hợp lưu" giả).
   ========================================================================== */
#supply-chain-graph-canvas {
    display: block;          /* ghi đè flex-row cũ */
    overflow-x: hidden;      /* không bao giờ cuộn ngang */
    overflow-y: visible;
    padding: 14px 2px 6px;
}

.sc-flow,
.sc-tree {
    position: relative;
    width: 100%;
}

.sc-flow-links,
.sc-tree-links {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    color: #94a3b8;
    z-index: 0;
    overflow: visible;
}

body[data-theme="dark"] .sc-flow-links,
body[data-theme="dark"] .sc-tree-links { color: #475569; }

.sc-flow-link.is-active,
.sc-flow-link-head.is-active,
.sc-tree-link.is-active,
.sc-tree-link-head.is-active {
    color: #2062ff;
    stroke-width: 2.6;
}

body[data-theme="dark"] .sc-flow-link.is-active,
body[data-theme="dark"] .sc-flow-link-head.is-active,
body[data-theme="dark"] .sc-tree-link.is-active,
body[data-theme="dark"] .sc-tree-link-head.is-active { color: #38bdf8; }

.sc-flow-link.is-dim,
.sc-flow-link-head.is-dim,
.sc-tree-link.is-dim,
.sc-tree-link-head.is-dim { opacity: 0.22; }

.sc-flow-link-label {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.2px;
    fill: #64748b;
    text-transform: uppercase;
}

body[data-theme="dark"] .sc-flow-link-label { fill: #94a3b8; }

/* -------- Sơ đồ dòng chảy: MỘT khối flex-wrap duy nhất, KHÔNG chia hàng theo
   tầng -> mắt xích tự lấp đầy hết bề rộng khung (không còn khoảng trống 2 bên),
   hết chỗ mới tự xuống dòng. Mũi tên (SVG overlay) tự nhận diện 2 khối đang ở
   cùng hàng (nối ngang) hay khác hàng (nối dọc) để luôn bám đúng theo khối. -------- */
.sc-flow {
    padding: 4px 0 8px;
}

.sc-flow-flat-cards {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;         /* hết chỗ ngang thì tự xuống dòng */
    justify-content: flex-start;
    align-items: stretch;
    row-gap: 78px;            /* chừa chỗ cho connector dọc + đường vòng né vật cản */
    column-gap: 64px;         /* chừa chỗ cho connector ngang + nhãn giữa 2 khối cùng hàng */
}

.sc-flow-node {
    flex: 0 1 240px;
    min-width: 208px;
    max-width: 270px;
    cursor: pointer;
    outline: none;
}

.sc-flow-node:focus-visible .graph-node-box {
    border-color: #2062ff;
    box-shadow: 0 0 0 3px rgba(32, 98, 255, 0.25);
}

.sc-flow-node.is-selected .graph-node-box {
    border-color: #2062ff;
    box-shadow: 0 10px 26px rgba(32, 98, 255, 0.22);
}

body[data-theme="dark"] .sc-flow-node.is-selected .graph-node-box {
    border-color: #38bdf8;
    box-shadow: 0 10px 26px rgba(56, 189, 248, 0.25);
}

.sc-flow-node.is-dim { opacity: 0.32; }

/* ==========================================================================
   2. KHUNG CHUNG CHO SƠ ĐỒ TỔNG QUAN
   ========================================================================== */
.sc-view-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
    padding: 18px;
    overflow: hidden;
}

body[data-theme="dark"] .sc-view-card {
    background: #111c33;
    border-color: #334155;
}

.sc-view-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px dashed #e2e8f0;
}

body[data-theme="dark"] .sc-view-head { border-bottom-color: #334155; }

.sc-view-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
}

body[data-theme="dark"] .sc-view-title { color: #f1f5f9; }

.sc-view-head-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sc-view-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

body[data-theme="dark"] .sc-view-subtitle { color: #94a3b8; }

.sc-view-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 800;
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.22);
}

body[data-theme="dark"] .sc-view-badge {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.3);
}

/* Thanh hướng dẫn nhỏ phía trên sơ đồ */
.sc-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

/* Chú giải màu theo loại mắt xích */
.sc-legend {
    display: none !important;
}

body[data-theme="dark"] .sc-legend { border-top-color: #334155; }

.sc-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

body[data-theme="dark"] .sc-legend-item { color: #94a3b8; }

.sc-legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 4px;
    border: 1.5px solid;
    flex-shrink: 0;
}

.sc-legend-dot.k-input   { background: #ccfbf1; border-color: #5eead4; }
.sc-legend-dot.k-farm    { background: #d1fae5; border-color: #6ee7b7; }
.sc-legend-dot.k-audit   { background: #fef3c7; border-color: #fcd34d; }
.sc-legend-dot.k-factory { background: #dbeafe; border-color: #93c5fd; }
.sc-legend-dot.k-sgtin   { background: #e0e7ff; border-color: #a5b4fc; }
.sc-legend-dot.k-transit { background: #ede9fe; border-color: #c4b5fd; }
.sc-legend-dot.k-school  { background: #ffedd5; border-color: #fdba74; }
.sc-legend-dot.k-dish    { background: #ffe4e6; border-color: #fda4af; }

/* ==========================================================================
   3. SƠ ĐỒ TỔNG QUAN (khối nhỏ gọn, xếp theo giai đoạn)
   ========================================================================== */
.sc-tree-canvas {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;      /* không cuộn ngang, chỉ cuộn dọc theo trang */
    padding: 4px 2px;
}

.sc-tree {
    display: flex;
    flex-direction: column;
    gap: 54px;               /* khoảng trống để định tuyến connector góc vuông */
    padding: 4px 0 8px;
}

.sc-tree-gen {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sc-tree-gen-label {
    flex: 0 0 auto;
    min-width: 82px;
    white-space: nowrap;
    padding-top: 22px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: right;
}

.sc-tree-gen-cards {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;         /* giai đoạn nào đông thì tự xuống dòng */
    justify-content: center;
    align-items: stretch;
    gap: 12px;
}

.sc-tree-card {
    flex: 0 1 210px;
    min-width: 148px;
    max-width: 260px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 13px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

body[data-theme="dark"] .sc-tree-card {
    background: #0f172a;
    border-color: #334155;
}

.sc-tree-card:hover,
.sc-tree-card:focus-visible {
    transform: translateY(-3px);
    border-color: #2062ff;
    box-shadow: 0 10px 22px rgba(32, 98, 255, 0.16);
}

.sc-tree-card.is-selected {
    border-color: #2062ff;
    border-width: 2px;
    box-shadow: 0 10px 22px rgba(32, 98, 255, 0.22);
}

.sc-tree-card.is-dim { opacity: 0.34; }

.sc-tree-card-top {
    display: flex;
    align-items: center;
    gap: 7px;
}

.sc-tree-card-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sc-tree-card-icon svg { width: 15px; height: 15px; }

.accent-input   .sc-tree-card-icon, .sc-tree-card.accent-input   .sc-tree-card-icon { background: #ccfbf1; color: #0f766e; }
.accent-farm    .sc-tree-card-icon, .sc-tree-card.accent-farm    .sc-tree-card-icon { background: #d1fae5; color: #047857; }
.accent-harvest .sc-tree-card-icon, .sc-tree-card.accent-harvest .sc-tree-card-icon { background: #ecfccb; color: #4d7c0f; }
.accent-audit   .sc-tree-card-icon, .sc-tree-card.accent-audit   .sc-tree-card-icon { background: #fef3c7; color: #b45309; }
.accent-factory .sc-tree-card-icon, .sc-tree-card.accent-factory .sc-tree-card-icon { background: #dbeafe; color: #1d4ed8; }
.accent-sgtin   .sc-tree-card-icon, .sc-tree-card.accent-sgtin   .sc-tree-card-icon { background: #e0e7ff; color: #4338ca; }
.accent-transit .sc-tree-card-icon, .sc-tree-card.accent-transit .sc-tree-card-icon { background: #ede9fe; color: #6d28d9; }
.accent-school  .sc-tree-card-icon, .sc-tree-card.accent-school  .sc-tree-card-icon { background: #ffedd5; color: #c2410c; }
.accent-dish    .sc-tree-card-icon, .sc-tree-card.accent-dish    .sc-tree-card-icon { background: #ffe4e6; color: #be123c; }

.sc-tree-card-stage {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #64748b;
}

body[data-theme="dark"] .sc-tree-card-stage { color: #94a3b8; }

.sc-tree-card-title {
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.32;
    color: #0f172a;
}

body[data-theme="dark"] .sc-tree-card-title { color: #f1f5f9; }

.sc-tree-card-actor {
    font-size: 10.5px;
    line-height: 1.35;
    color: #64748b;
}

body[data-theme="dark"] .sc-tree-card-actor { color: #94a3b8; }

.sc-tree-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px dashed #e2e8f0;
}

body[data-theme="dark"] .sc-tree-card-foot { border-top-color: #334155; }

.sc-tree-card-time {
    font-size: 9.5px;
    font-weight: 700;
    color: #059669;
}

.sc-tree-card-check {
    font-size: 10px;
    font-weight: 800;
    color: #2062ff;
}

body[data-theme="dark"] .sc-tree-card-time { color: #34d399; }
body[data-theme="dark"] .sc-tree-card-check { color: #38bdf8; }

/* ==========================================================================
   4. PANEL CHI TIẾT — DẠNG DRAWER CỐ ĐỊNH (KHÔNG CẦN CUỘN TRANG ĐỂ XEM)
   ----------------------------------------------------------------------
   Neo theo viewport (giống .detail-drawer sẵn có của app) nên dù người dùng
   bấm vào mắt xích ở bất kỳ vị trí nào trên trang, panel luôn hiện ngay
   trong tầm nhìn — không phải cuộn lên/xuống để đọc chi tiết.
   ========================================================================== */
.sc-detail-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

body[data-theme="dark"] .sc-detail-panel {
    background: #0f172a;
    border-color: #334155;
}

.sc-detail-drawer {
    position: fixed;
    z-index: 200;
    width: 350px;
    max-width: calc(100vw - 32px);
    height: auto;
    max-height: calc(100vh - 100px);
    display: none;
    flex-direction: column;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
    overflow-y: auto;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

body[data-theme="dark"] .sc-detail-drawer {
    background: #0f172a;
    border-color: #334155;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.sc-detail-drawer.is-open {
    display: flex;
}

/* Handle bar for Mobile Bottom Sheet */
.sc-sheet-handle-bar {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 8px 0 2px 0;
    background: inherit;
}

.sc-sheet-handle {
    width: 36px;
    height: 4.5px;
    border-radius: 3px;
    background: #cbd5e1;
}

body[data-theme="dark"] .sc-sheet-handle {
    background: #475569;
}

/* Mobile Bottom Sheet & Backdrop */
.sc-panel-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 190;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sc-panel-backdrop.is-open {
    display: block;
    opacity: 1;
}

.sc-detail-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

body[data-theme="dark"] .sc-detail-head {
    background: #111c33;
    border-bottom-color: #334155;
}

.sc-detail-head-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sc-detail-head.accent-input   .sc-detail-head-icon { background: #ccfbf1; color: #0f766e; }
.sc-detail-head.accent-farm    .sc-detail-head-icon { background: #d1fae5; color: #047857; }
.sc-detail-head.accent-harvest .sc-detail-head-icon { background: #ecfccb; color: #4d7c0f; }
.sc-detail-head.accent-audit   .sc-detail-head-icon { background: #fef3c7; color: #b45309; }
.sc-detail-head.accent-factory .sc-detail-head-icon { background: #dbeafe; color: #1d4ed8; }
.sc-detail-head.accent-sgtin   .sc-detail-head-icon { background: #e0e7ff; color: #4338ca; }
.sc-detail-head.accent-transit .sc-detail-head-icon { background: #ede9fe; color: #6d28d9; }
.sc-detail-head.accent-school  .sc-detail-head-icon { background: #ffedd5; color: #c2410c; }
.sc-detail-head.accent-dish    .sc-detail-head-icon { background: #ffe4e6; color: #be123c; }

.sc-detail-head-text { flex: 1 1 auto; min-width: 0; }

.sc-detail-stage {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 2px;
}

.sc-detail-title {
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.32;
    color: #0f172a;
    margin: 0;
}

body[data-theme="dark"] .sc-detail-title { color: #f1f5f9; }

.sc-detail-close {
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 2px;
}

.sc-detail-close:hover { color: #ef4444; }

.sc-detail-body { padding: 14px; }

.sc-detail-sub {
    font-size: 12px;
    line-height: 1.5;
    color: #475569;
    margin: 0 0 10px;
}

body[data-theme="dark"] .sc-detail-sub { color: #cbd5e1; }

.sc-detail-meta-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

.sc-detail-chip {
    font-size: 11px;
    line-height: 1.45;
    color: #475569;
}

.sc-detail-chip strong { color: #0f172a; font-weight: 800; }

body[data-theme="dark"] .sc-detail-chip { color: #94a3b8; }
body[data-theme="dark"] .sc-detail-chip strong { color: #e2e8f0; }

.sc-detail-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

body[data-theme="dark"] .sc-detail-fields {
    background: #111c33;
    border-color: #334155;
}

.sc-detail-field {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sc-detail-field-key {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #94a3b8;
}

.sc-detail-field-val {
    font-size: 11.5px;
    line-height: 1.45;
    color: #0f172a;
    word-break: break-word;
}

body[data-theme="dark"] .sc-detail-field-val { color: #e2e8f0; }

.sc-detail-hash {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 9px;
    background: rgba(32, 98, 255, 0.06);
    border: 1px solid rgba(32, 98, 255, 0.16);
}

.sc-detail-hash-label {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #2062ff;
}

.sc-detail-hash-val {
    font-size: 10.5px;
    color: #475569;
    word-break: break-all;
}

.sc-detail-verified {
    margin-left: auto;
    font-size: 10px;
    font-weight: 800;
    color: #059669;
}

body[data-theme="dark"] .sc-detail-hash-val { color: #94a3b8; }
body[data-theme="dark"] .sc-detail-verified { color: #34d399; }

/* ==========================================================================
   5. RESPONSIVE - MOBILE & KHUNG HẸP
   ========================================================================== */
@media (max-width: 1024px) {
    .sc-sheet-handle-bar {
        display: flex;
    }

    .sc-detail-drawer {
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 75vh !important;
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.25) !important;
        transform: translateY(100%);
        transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
    }

    .sc-detail-drawer.is-open {
        transform: translateY(0);
    }

    .sc-tree-gen-label { display: none; }
    .sc-flow-flat-cards { column-gap: 40px; }
}

@media (max-width: 640px) {
    .sc-view-card { padding: 13px; }
    .sc-tree { gap: 46px; }
    .sc-tree-card { flex: 1 1 140px; min-width: 132px; }
    .sc-flow-flat-cards { row-gap: 44px; column-gap: 36px; }
    .sc-flow-node { flex: 1 1 190px; min-width: 172px; }
}

/* Chế độ giả lập mobile trong trang (sim-container.mobile-sim) — panel vẫn
   neo theo cửa sổ trình duyệt thật (giống hành vi .detail-drawer sẵn có). */
.mobile-sim .sc-tree-gen-label { display: none; }
.mobile-sim .sc-flow-flat-cards { row-gap: 60px; column-gap: 36px; }
.mobile-sim .sc-flow-node { flex: 1 1 190px; min-width: 172px; }
