.self-review-card {
    border-color: rgba(255, 214, 46, .56);
}

.match-warning {
    border-left: 4px solid var(--red);
    border-image: var(--accent-gradient) 1;
    padding: 9px 12px;
    background: linear-gradient(115deg, rgba(116, 24, 214, .24), rgba(239, 27, 53, .22));
}

.self-review-actions {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.self-review-actions form {
    display: grid;
    gap: 14px;
}

.history-candidates {
    display: grid;
    gap: 10px;
}

.self-review-selection {
    display: grid;
    gap: 30px;
}

.history-candidate {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}

.history-candidate:has(input:checked) {
    border-color: var(--yellow);
    background: linear-gradient(125deg, rgba(116, 24, 214, .48), rgba(239, 27, 53, .4));
    box-shadow: inset 0 0 0 1px var(--yellow);
}

.history-candidate input {
    width: auto;
    margin-top: 4px;
}

.history-candidate span,
.history-candidate small {
    display: block;
}

.history-candidate small {
    color: var(--muted);
}

.history-candidate ul {
    margin: 8px 0 0;
    padding-left: 18px;
    font-weight: 400;
}

.name-choice {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.name-choice legend {
    padding: 0 6px;
    font-weight: 800;
}

.name-choice > label {
    display: flex;
    gap: 9px;
    align-items: center;
}

.name-choice > label input {
    width: auto;
    margin: 0;
}

.name-choice .grid2 {
    margin-top: 8px;
}

.name-choice .grid2 label {
    display: grid;
}

.name-choice .grid2 input {
    width: 100%;
}

.claim-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 560px) {
    .claim-actions .button {
        width: 100%;
    }
}
