/* Contact and QR dialog presentation; interactions are supplied separately. */
.qr-panel {
    background: #FFFFFF;
    max-width: 380px;
    padding: 19px;
    text-align: center;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    color: #111111;
}
.qr-image {
    width: 100%;
}
.qr-dialog {
    border: 0;
    border-radius: 6px;
    box-sizing: border-box;
    font: 15px/1.5 system-ui, sans-serif;
    width: min(440px, calc(100% - 28px));
    padding: 23px;
    text-align: center;
    max-height: calc(100% - 24px);
    color: #253245;
}
.qr-dialog::backdrop {
    background: #14263890;
}
.qr-dialog h2 {
    margin: 0 0 17.64px;
}
.qr-grid {
    gap: 11.76px;
    display: flex;
    align-items: stretch;
}
.qr-grid figure {
    align-items: end;
    min-width: 0;
    flex: 1;
    margin: 0;
    display: grid;
}
.qr-grid img {
    height: auto;
    width: 100%;
    display: block;
}
.qr-grid figcaption {
    margin-top: 7.84px;
}
.qr-dialog button {
    margin-top: 17.64px;
    padding: 5px 17px;
    cursor: pointer;
    background: #FFFFFF;
    border: 1px solid #D3DEEB;
    border-radius: 6px;
    font: inherit;
}
dialog.lead-dialog {
    max-width: min(440px, calc(100vw - 32px)) !important;
    max-height: calc(100vh - 32px);
    margin: auto;
    inset: 0;
    background: #FFFFFF;
    position: fixed;
    z-index: 2147483000;
    text-align: left;
    border: 1px solid #D0D7E2;
    border-radius: 6px;
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding: 23px 27px 19px;
    height: fit-content;
    width: min(440px, calc(100vw - 32px)) !important;
    box-shadow: 0 16px 48px #0F172A38;
    box-sizing: border-box;
    color: #111827;
}
dialog.lead-dialog::backdrop {
    background: #0F172A73;
}
dialog.lead-dialog h2 {
    line-height: 1.55;
    font-size: 20px;
    margin: 0 7.84px 0 0;
}
dialog.lead-dialog .lead-description {
    overflow-wrap: break-word;
    overflow: visible;
    margin: 11.76px 0 13.72px;
    line-height: 1.55;
    white-space: normal !important;
    word-break: normal;
    font-size: 15px;
}
dialog.lead-dialog label {
    margin: 0 0 5.88px;
    text-align: left;
    font-size: 14px;
    display: block;
}
dialog.lead-dialog input[type="email"] {
    box-sizing: border-box;
    margin-top: 5.88px;
    display: block;
    width: 100%;
    padding: 7px 9px;
}
dialog.lead-dialog button[aria-label="关闭"] {
    line-height: 1.55;
    background: #00000000;
    font-size: 20px;
    cursor: pointer;
    float: right;
    border: 0;
}
dialog.lead-dialog .lead-description {
    text-wrap: pretty;
    word-break: keep-all;
    overflow-wrap: normal;
}
@media (max-width: 360px) {
    dialog.lead-dialog {
        padding: 15px !important;
    }
    dialog.lead-dialog .lead-description {
        font-size: 14px;
        line-height: 1.55;
        text-wrap: balance;
    }

}
