.cfg-drop-button {
    appearance: none;
    border: 1px solid var(--border);
    background: var(--grey-btn);
    color: var(--text-muted);
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cfg-drop-button:hover,
.cfg-drop-button:focus-visible {
    color: var(--accent-bright);
    border-color: var(--accent);
    background: var(--accent-soft);
    outline: none;
}

.cfg-drop-button.is-dragover {
    color: var(--accent-bright);
    border-color: var(--accent-bright);
    background: rgba(217, 158, 50, 0.22);
    box-shadow: 0 0 0 2px rgba(217, 158, 50, 0.25);
}

.cfg-drop-dialog {
    max-width: min(640px, calc(100vw - 2rem));
    width: min(640px, calc(100vw - 2rem));
}

.cfg-drop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    margin: 0 0 0.65rem;
    font-size: 11px;
    color: var(--text-muted);
}

.cfg-drop-meta strong {
    color: var(--text);
    font-weight: 600;
}

.cfg-drop-note {
    margin: 0 0 0.65rem;
    font-size: 11px;
    line-height: 1.45;
    color: var(--accent-bright);
}

.cfg-drop-warnings {
    margin: 0 0 0.65rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2);
    font-size: 11px;
    color: var(--text-muted);
}

.cfg-drop-warnings ul {
    margin: 0.25rem 0 0;
    padding-left: 1.1rem;
}

.cfg-drop-error {
    margin: 0;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(200, 80, 80, 0.45);
    border-radius: var(--radius-sm);
    background: rgba(200, 80, 80, 0.12);
    color: #f0b0b0;
    font-size: 12px;
}

.cfg-drop-pre {
    margin: 0;
    max-height: min(52vh, 420px);
    overflow: auto;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.28);
    color: var(--text);
    font-family: "Google Sans Code", ui-monospace, monospace;
    font-size: 11px;
    line-height: 1.45;
    white-space: pre;
}

.cfg-drop-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.cfg-drop-actions button {
    appearance: none;
    border: 1px solid var(--border);
    background: var(--grey-btn);
    color: var(--text-muted);
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.cfg-drop-actions button:hover,
.cfg-drop-actions button:focus-visible {
    color: var(--accent-bright);
    border-color: var(--accent);
    background: var(--accent-soft);
    outline: none;
}

.cfg-drop-actions button:disabled {
    opacity: 0.5;
    cursor: default;
}

.cfg-drop-status {
    margin: 0 0 0.55rem;
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 720px) {
    .cfg-drop-button {
        font-size: 10px;
        padding: 0.3rem 0.5rem;
    }
}
