.side-rail{
    position:fixed;
    left:0;
    top:0;

    width:56px;
    height:100vh;

    background:rgba(5,10,20,.96);

    border-right:1px solid rgba(255,255,255,.05);

    z-index:9999;

    box-shadow:0 0 40px rgba(0,0,0,.8);

    display:flex;
    flex-direction:column;
    align-items:center;

    padding-top:18px;

    gap:14px;
}

.side-rail a{
    width:38px;
    height:38px;

    border-radius:14px;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    font-size:16px;

    color:#d1d5db;

    transition:.2s;
}

.side-rail a:hover{
    background:rgba(59,130,246,.15);

    box-shadow:0 0 12px rgba(59,130,246,.35);

    transform:scale(1.05);

    color:white;
}

.side-rail a span{
    display:none;
}

.side-rail .agent-mark{
    display:flex;
    align-items:center;
    justify-content:center;

    width:24px;
    height:24px;

    border-radius:8px;
    border:1px solid rgba(74,222,128,.65);

    background:rgba(34,197,94,.14);
    color:#86efac;

    font-size:11px;
    font-weight:900;
    line-height:1;
}

.side-rail .code-agent-link:hover .agent-mark{
    border-color:#93c5fd;
    color:white;
    background:rgba(59,130,246,.22);
}

body{
    padding-left:68px !important;
}

.nav-icon{
    width:18px;
    height:18px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}


/* CHART_LAYOUT_FIX_START */
body.chart-page {
    margin:0 !important;
    padding:24px 16px 24px 80px !important;
    box-sizing:border-box !important;
    max-width:100vw !important;
    overflow-x:hidden !important;
}

body.chart-page .chart-wrap,
body.chart-page .chart-grid,
body.chart-page main,
body.chart-page .container,
body.chart-page .box {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
}

body.chart-page canvas,
body.chart-page #chart {
    max-width:100% !important;
}

@media (max-width:700px) {
    body.chart-page {
        padding:16px 8px 16px 68px !important;
    }
}
/* CHART_LAYOUT_FIX_END */
