
/* Toolbox */ .dw-toolbox {
    position: fixed;
    top: 64px; /* adjust if header overlaps */
    right: 16px;
    background: #ffffff;
    border: 1px solid #e0e6f0;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    padding: 8px;
    z-index: 1100;
    display: flex;
    gap: 8px;
}

.dw-btn {
    padding: 6px 10px;
    font-size: 13px;
    color: #333;
    background: #f7f9fc;
    border: 1px solid #d8dee9;
    border-radius: 6px;
    cursor: pointer;
}

    .dw-btn:hover {
        background: #eef2f7;
    }
/* Diagnostics panel */

.diagnostics-panel {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 360px;
    max-height: 50vh;
    overflow: auto;
    background: #1f2937;
    color: #f9fafb;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
    padding: 12px;
    z-index: 1000;
}

    .diagnostics-panel h3 {
        margin: 0 0 8px;
    }

.diag-section h4 {
    margin: 8px 0 4px;
    font-weight: 600;
}

.diag-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.diag-section li {
    font-size: 12px;
    line-height: 1.4;
    padding: 4px 0;
    border-bottom: 1px dotted rgba(255,255,255,0.15);
}
/* Highlight styles */
.diagnostic-highlight {
    box-shadow: 0 0 0 3px orange !important;
    background-color: rgba(255, 165, 0, 0.15) !important;
    transition: box-shadow 0.2s ease-in-out;
}


.diagnostic-highlight-hover {
    outline: 2px dashed #ff9800;
    outline-offset: 2px;
}
.dw-selection-box {
    position: fixed;
    border: 2px dashed #ff9800;
    background: rgba(255, 153, 0, 0.1);
    z-index: 9999;
    pointer-events: none;
}

.dw-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
    background: #F7F1F1;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .dw-btn:hover {
        background: #e5e7eb;
    }

    .dw-btn i {
        font-size: 14px;
        color: #4b5563;
    }
