.chatspot-clerk-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(4, 8, 18, .82);
    backdrop-filter: blur(7px);
}
.chatspot-clerk-card {
    position: relative;
    width: min(480px, 100%);
    max-height: 88vh;
    overflow: auto;
    box-sizing: border-box;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    color: #f5f7ff;
    background: #151b2b;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.chatspot-clerk-card h2 { margin: 0 34px 14px 0; font-size: 22px; }
.chatspot-clerk-close {
    position: absolute;
    top: 10px;
    right: 13px;
    padding: 4px 8px;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}
.chatspot-clerk-note, .chatspot-clerk-footnote { margin: 0 0 16px; color: #b9c2d8; line-height: 1.5; }
.chatspot-clerk-footnote { margin: 14px 0 0; font-size: 12px; }
.chatspot-clerk-error, .chatspot-clerk-form-error { color: #ffb7bf; line-height: 1.45; }
.chatspot-clerk-form-error { min-height: 20px; margin: 8px 0; font-size: 13px; }
.chatspot-clerk-card label { display: block; margin: 12px 0 6px; color: #dce2f1; font-size: 13px; font-weight: 600; }
.chatspot-clerk-card input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    color: #fff;
    background: #0e1422;
}
.chatspot-clerk-card button:disabled { opacity: .55; cursor: wait; }
.chatspot-passkey-list { margin: 0 0 16px; }
.chatspot-passkey-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.chatspot-passkey-row strong, .chatspot-passkey-row small { display: block; }
.chatspot-passkey-row small { margin-top: 3px; color: #9da9c3; }
.chatspot-passkey-actions { display: flex; gap: 6px; }
.chatspot-passkey-actions button {
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 6px;
    color: #dce2f1;
    background: transparent;
    cursor: pointer;
}
.chatspot-passkey-empty { color: #9da9c3; text-align: center; }
.chatspot-clerk-hidden { display: none; }
.chatspot-clerk-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 0 16px;
}
.chatspot-clerk-tabs button {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    color: #c8d1e6;
    background: #0e1422;
    cursor: pointer;
}
.chatspot-clerk-tabs button.is-active {
    border-color: #7ea7ff;
    color: #fff;
    background: #26385f;
}
@media (max-width: 520px) {
    .chatspot-clerk-card { padding: 20px 16px; }
    .chatspot-passkey-row { align-items: flex-start; flex-direction: column; }
}


.chatspot-clerk-check { display: flex !important; align-items: flex-start; gap: 10px; margin: 16px 0 !important; line-height: 1.4; }
.chatspot-clerk-check input { width: auto; margin-top: 3px; flex: 0 0 auto; }
.chatspot-clerk-check a { color: #9ab8ff; text-decoration: underline; }
