.anlys_v3_drive_overlay {
    position:fixed;
    inset:0;
    z-index:12000;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:rgba(15, 23, 42, .58);
}

.anlys_v3_drive_dialog {
    display:flex;
    flex-direction:column;
    width:min(960px, 100%);
    max-height:min(720px, calc(100vh - 48px));
    overflow:hidden;
    border-radius:20px;
    background:#fff;
    box-shadow:0 24px 70px rgba(15, 23, 42, .28);
}

.anlys_v3_drive_body {
    display:grid;
    grid-template-columns:280px minmax(0, 1fr);
    min-height:420px;
    overflow:hidden;
    border-top:1px solid #e5e7eb;
    border-bottom:1px solid #e5e7eb;
}

.anlys_v3_drive_tree {
    padding:24px;
    overflow:auto;
    border-right:1px solid #e5e7eb;
    background:#f8fafc;
}

.anlys_v3_drive_tree ul {
    margin:12px 0 0;
    padding-left:14px;
    list-style:none;
}

.anlys_v3_drive_tree > ul {
    padding-left:0;
}

.anlys_v3_folder_button {
    width:100%;
    padding:9px 10px;
    border:0;
    border-radius:8px;
    color:#334155;
    background:transparent;
    text-align:left;
}

.anlys_v3_folder_button:hover,
.anlys_v3_folder_button.is_selected {
    color:#0f766e;
    background:#e6fffb;
}

.anlys_v3_drive_files {
    min-width:0;
    padding:24px;
    overflow:auto;
}

.anlys_v3_drive_path {
    margin-bottom:16px;
    color:#64748b;
}

.anlys_v3_drive_file_list {
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
}

.anlys_v3_drive_file {
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:16px;
    border:1px solid #e2e8f0;
    border-radius:10px;
    background:#fff;
    text-align:left;
}

.anlys_v3_drive_file:hover,
.anlys_v3_drive_file.is_selected {
    border-color:#0f766e;
    background:#f0fdfa;
}

.anlys_v3_file_name {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.anlys_v3_file_size {
    flex:none;
    color:#64748b;
}

#anlys_v3_network_box img {
    display:block;
    max-width:100%;
    max-height:560px;
    object-fit:contain;
}

.anlys_v3_vertical_chart {
    display:grid;
    grid-template-columns:72px minmax(0, 1fr);
    min-width:0;
}

#anlys_v3_rank_chart .anlys_v3_chart_axis {
    display:block;
    width:72px !important;
    height:420px !important;
    overflow:visible;
    border-right:1px solid var(--v2-blue-gray-20);
    background:var(--v2-gray-0);
}

.anlys_v3_chart_axis text {
    fill:var(--v2-blue-gray-60);
    font-size:12px;
}

.anlys_v3_chart_scroll {
    min-width:0;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-gutter:stable;
}

#anlys_v3_rank_chart .anlys_v3_chart_plot {
    display:block;
    width:auto !important;
    max-width:none !important;
    height:420px !important;
}

.anlys_v3_chart_grid {
    stroke:var(--v2-blue-gray-10);
    stroke-width:1;
}

.anlys_v3_chart_bar {
    fill:#e7194b;
}

.anlys_v3_chart_label {
    fill:var(--v2-blue-gray-60);
    font-size:12px;
}

@media (max-width:720px) {
    .anlys_v3_drive_body {
        grid-template-columns:1fr;
    }

    .anlys_v3_drive_tree {
        max-height:180px;
        border-right:0;
        border-bottom:1px solid #e5e7eb;
    }

    .anlys_v3_drive_file_list {
        grid-template-columns:1fr;
    }

    .anlys_v3_vertical_chart {
        grid-template-columns:58px minmax(0, 1fr);
    }

    #anlys_v3_rank_chart .anlys_v3_chart_axis {
        width:58px !important;
    }
}
