.gradea-a11y-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #7a5cff, #111827);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    z-index: 99999;
    outline: none;
}
.gradea-a11y-fab:focus {
    box-shadow: 0 0 0 3px #fbbf24, 0 10px 25px rgba(15, 23, 42, 0.6);
}
.gradea-a11y-fab-icon {
    letter-spacing: 0.03em;
}

#gradea-a11y-panel-root {
    position: fixed;
    right: 90px;
    bottom: 40px;
    z-index: 99998;
}

#gradea-a11y-panel {
    width: 360px;
    max-height: 70vh;
    background: #020617;
    color: #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    position: relative;
}
#gradea-a11y-panel.hidden {
    display: none;
}
.gradea-a11y-panel-header {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.25), transparent 55%), radial-gradient(circle at 100% 0, rgba(129, 140, 248, 0.3), transparent 55%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    cursor: move;
}
.gradea-a11y-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.gradea-a11y-panel-logo {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #22d3ee, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #0b1120;
}
.gradea-a11y-panel-name {
    font-size: 13px;
    font-weight: 600;
}
.gradea-a11y-panel-actions {
    display: flex;
    gap: 4px;
}
.gradea-a11y-panel-btn {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.7);
    color: #e5e7eb;
    cursor: pointer;
    font-size: 13px;
}
.gradea-a11y-panel-btn:hover {
    background: rgba(30, 64, 175, 0.9);
}

.gradea-a11y-panel-tabs {
    display: flex;
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.08), transparent 55%);
}
.gradea-a11y-panel-tab {
    flex: 1;
    padding: 8px 10px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    color: #9ca3af;
}
.gradea-a11y-panel-tab.active {
    color: #e5e7eb;
    background: linear-gradient(to right, rgba(37, 99, 235, 0.35), rgba(8, 47, 73, 0.9));
}
.gradea-a11y-panel-tab-icon {
    font-size: 13px;
}

.gradea-a11y-panel-body {
    padding: 10px 12px;
    font-size: 12px;
    overflow-y: auto;
    max-height: 52vh;
}

/* simple issues styling */
.gradea-a11y-panel-issues-summary {
    margin-bottom: 8px;
}
.gradea-a11y-panel-issue {
    border-radius: 10px;
    padding: 8px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(55, 65, 81, 0.9);
    margin-bottom: 6px;
}
.gradea-a11y-panel-issue-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}
.gradea-a11y-panel-issue-id {
    font-weight: 600;
    font-size: 11px;
}
.gradea-a11y-panel-issue-impact {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 999px;
    text-transform: uppercase;
}
.gradea-a11y-panel-issue-impact-critical {
    background: rgba(220, 38, 38, 0.2);
    color: #fecaca;
}
.gradea-a11y-panel-issue-impact-serious {
    background: rgba(249, 115, 22, 0.2);
    color: #fed7aa;
}
.gradea-a11y-panel-issue-impact-moderate {
    background: rgba(234, 179, 8, 0.2);
    color: #fef3c7;
}
.gradea-a11y-panel-issue-impact-minor {
    background: rgba(34, 197, 94, 0.2);
    color: #bbf7d0;
}
.gradea-a11y-panel-issue-desc {
    font-size: 11px;
    color: #d1d5db;
    margin-bottom: 4px;
}
.gradea-a11y-panel-issue-link {
    font-size: 11px;
    color: #38bdf8;
    text-decoration: none;
}
.gradea-a11y-panel-issue-link:hover {
    text-decoration: underline;
}
