.ai-suggestions-panel {
    margin-top: 1rem;
    border: 1px solid #c9d8e8;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(15, 53, 87, 0.08);
}

.ai-suggestions-panel[hidden] {
    display: none;
}

.ai-suggestions-panel__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #dce6f0;
}

.ai-suggestions-panel__header h3 {
    margin: 0.15rem 0 0.25rem;
    color: #0b3358;
    font-size: 1.05rem;
}

.ai-suggestions-panel__header p {
    margin: 0;
    color: #5f7287;
    font-size: 0.83rem;
}

.ai-kicker {
    color: #1766a3;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-panel-close {
    border: 0;
    background: transparent;
    color: #63768a;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.ai-suggestions-status {
    margin: 0.85rem 0;
    border-radius: 10px;
    padding: 0.72rem 0.85rem;
    font-size: 0.84rem;
    background: #edf4fb;
    color: #244963;
}

.ai-suggestions-status.is-loading {
    background: #fff7dc;
    color: #755a00;
}

.ai-suggestions-status.is-success {
    background: #eaf8ef;
    color: #23603a;
}

.ai-suggestions-status.is-error {
    background: #fff0f0;
    color: #8a2a2a;
}

.ai-suggestions-results {
    display: grid;
    gap: 0.75rem;
}

.ai-suggestion-card {
    border: 1px solid #d8e3ed;
    border-radius: 13px;
    background: #fff;
    padding: 0.9rem;
}

.ai-suggestion-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.ai-suggestion-card__top strong {
    color: #0b4f83;
    font-size: 0.94rem;
}

.ai-compatibility {
    border-radius: 999px;
    padding: 0.24rem 0.55rem;
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ai-compatibility--alta {
    background: #d7f6e2;
    color: #17623a;
}

.ai-compatibility--media {
    background: #fff0be;
    color: #725600;
}

.ai-compatibility--baixa {
    background: #e9eef4;
    color: #526273;
}

.ai-suggestion-description {
    margin: 0.65rem 0 0.45rem;
    color: #172d42;
    line-height: 1.45;
    font-size: 0.86rem;
}

.ai-suggestion-justification {
    margin: 0 0 0.55rem;
    color: #52687d;
    line-height: 1.45;
    font-size: 0.8rem;
}

.ai-suggestion-meta {
    display: block;
    color: #718396;
    margin-bottom: 0.7rem;
}

.ai-link-skill.is-linked {
    background: #e7f6ec;
    color: #1c6138;
}

.ai-suggestion-empty {
    padding: 1rem;
    border: 1px dashed #cbd8e5;
    border-radius: 12px;
    color: #617589;
    text-align: center;
}

.button-ai.is-loading {
    opacity: 0.72;
    cursor: wait;
}

@media (max-width: 720px) {
    .ai-suggestions-panel__header,
    .ai-suggestion-card__top {
        align-items: flex-start;
        flex-direction: column;
    }
}
