#bwDevTools {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    font-family: system-ui, sans-serif;
    color: white;
}

#bwToolsToggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);

    background: #f5a500;
    color: #111;
    border: 1px solid #7a5200;
    border-radius: 10px 0 0 10px;
    padding: 12px 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    z-index: 100001;
}

#bwToolsPanel {
    width: 260px;
    background: rgba(15, 25, 25, 0.96);
    border-radius: 14px 0 0 14px;
    padding: 14px;
    box-shadow: -6px 0 18px #0009;

    transform: translateX(110%);
    transition: transform 180ms ease;
    z-index: 100000;
}

#bwToolsPanel.open {
    transform: translateX(0);
}

#bwToolsPanel.closed {
    transform: translateX(110%);
    display: none;
}

#bwToolsHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

#bwCollapseBtn {
    background: #333;
    color: white;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 2px 8px;
    cursor: pointer;
}

#bwToolLinks a {
    display: block;
    background: #333;
    color: white;
    text-decoration: none;
    padding: 10px 12px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #444;
    font-size: 18px;
}

#bwToolLinks a:hover {
    background: #444;
}

#bwToolLinks a.active {
    background: #f5a500;
    color: #111;
    font-weight: 700;
}

.bwCheck {
    display: block;
    margin-top: 12px;
}

.bwStats {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ffffff22;
}