.d365-chat-account {
    position: fixed;
    left: 94px;
    right: auto;
    bottom: 30px;
    z-index: 999999;
    padding: 8px 12px;
    border: 1px solid #dce3ec;
    border-radius: 18px;
    background: #fff;
    color: #263548;
    box-shadow: 0 2px 12px #14233c12;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    box-sizing: border-box;
    min-height: 34px;
    white-space: nowrap;
    cursor: pointer;
}
@media (max-width: 768px) {
    .d365-chat-account { left: 84px; bottom: 24px; }
}
.d365-chat-account[hidden], .d365-chat-identity [hidden] { display: none !important; }
.d365-crisp-recovery-frame { position: fixed; left: -10000px; top: 0; width: 420px; height: 640px; border: 0; opacity: 0; pointer-events: none; }
.d365-chat-identity {
    box-sizing: border-box;
    width: min(440px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    padding: 30px 28px 24px;
    border: 1px solid #e2e7ef;
    border-radius: 18px;
    color: #253144;
    background: #fff;
    box-shadow: 0 20px 90px #14233c40;
    font-family: inherit;
    overflow: auto;
}
.d365-chat-identity::backdrop { background: #0b183b75; }
.d365-chat-identity h2 { margin: 0 24px 14px 0; font-family: inherit; font-size: 23px; font-weight: 650; line-height: 1.25; }
.d365-chat-identity p { margin: 12px 0; font-size: 14px; line-height: 1.55; }
.d365-chat-identity label { display: block; margin: 22px 0 8px; font-size: 13px; font-weight: 600; }
.d365-chat-identity input {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d5dde8;
    border-radius: 10px;
    background: #f5f7fa;
    color: #253144;
    font: inherit;
}
.d365-chat-actions { display: flex; gap: 10px; margin-top: 18px; }
.d365-chat-actions button {
    flex: 1;
    min-height: 46px;
    border: 1px solid #1e70df;
    border-radius: 9px;
    padding: 10px 14px;
    background: #1e70df;
    color: #fff;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
.d365-chat-actions .d365-chat-secondary { background: #fff; color: #344258; border-color: #d5dde8; }
.d365-chat-actions button:disabled { opacity: .55; cursor: wait; }
.d365-chat-identity .d365-chat-note { color: #67758a; font-size: 12px; margin-bottom: 0; }
.d365-chat-dismiss { position: absolute; top: 12px; right: 14px; padding: 0; border: 0; background: transparent; color: #67758a; font-size: 28px; cursor: pointer; }
.d365-chat-identity :focus-visible, .d365-chat-account:focus-visible { outline: 3px solid #8fbcff; outline-offset: 3px; }
