.aimcode-key-actions { display: flex; align-items: center; gap: .5rem; justify-content: flex-end; }
.aimcode-key-ping-button { white-space: nowrap; }
.aimcode-key-ping-result { grid-column: 1 / -1; min-width: 0; overflow-wrap: anywhere; padding-top: .55rem; border-top: 1px solid var(--line, #30323d); font-size: .875rem; color: #c9d2ec; }
.aimcode-key-ping-result code { color: #a0f1bd; white-space: pre-wrap; }
.aimcode-key-ping-result.is-error { color: #ffaaa5; }
.aimcode-key-ping-dialog { width: min(460px, calc(100% - 2rem)); max-height: calc(100% - 2rem); margin: auto; padding: clamp(1rem, 4vw, 1.6rem); border: 1px solid #424552; border-radius: 16px; background: #171920; color: #f3f4f9; box-shadow: 0 18px 64px #0009; }
.aimcode-key-ping-dialog::backdrop { background: #090b12b8; }
.aimcode-key-ping-dialog h2 { font-size: 1.3rem; margin: 0 0 .6rem; }
.aimcode-key-ping-dialog p { line-height: 1.5; margin: 0; color: #d3d9ea; }
.aimcode-key-ping-remember { display: flex; gap: .55rem; align-items: center; margin: 1.2rem 0; cursor: pointer; }
.aimcode-key-ping-remember input { width: 1rem; height: 1rem; flex: none; }
.aimcode-key-ping-dialog-actions { display: flex; gap: .65rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .api-key-row > .aimcode-key-actions { grid-area: 2 / 2; } }

.api-key-leading .aimcode-key-ping-model { display: block; margin-top: .25rem; color: #c1c9df; font-size: .75rem; line-height: 1.4; overflow-wrap: anywhere; }
.api-key-leading .aimcode-key-ping-model b { color: #ecefff; font-weight: 600; }
