.ms-kit-dialog {
    box-sizing: border-box;
    width: min(76rem, 94vw);
    max-width: 94vw;
    max-height: 88vh;
    max-height: 88dvh;
    margin: auto;
    border: 1px solid #cad7df;
    border-radius: .75rem;
    padding: 0 1.25rem 1.25rem;
    background: white;
    color: #233848;
    box-shadow: 0 1rem 4rem #16344744;
    overflow: auto;
    overscroll-behavior: contain;
}
.ms-kit-dialog::backdrop { background: rgb(18 43 62 / 55%); }
.ms-kit-dialog-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #cad7df;
    background: white;
}
.ms-kit-dialog-head h2 { margin: 0; font-size: 1.35rem; }
.ms-kit-dialog-head button { flex: none; }
.ms-kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: 1rem;
}
.ms-kit-component {
    min-width: 0;
    padding: 1rem;
    border: 1px solid #cad7df;
    border-radius: .5rem;
    overflow-wrap: anywhere;
}
.ms-kit-dialog .ms-kit-component h3 { font-size: 1.08rem; text-transform: none; letter-spacing: normal; color: #00467a; }
.ms-kit-component h3 span { display: block; font-size: .85rem; margin-bottom: .2rem; }
.ms-kit-component h4 { margin: .85rem 0 .25rem; }
.ms-kit-component p { margin: .5rem 0; line-height: 1.5; }
.ms-kit-component .ms-ghs-strip { margin: .75rem 0; }
