.sr-sub-dialog {
    box-sizing: border-box;
    width: min(28rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 1.5rem;
    border: 1px solid #24415c;
    border-radius: 1rem;
    background: #102034;
    color: #f0f6fc;
    font-family: inherit;
    overflow-wrap: anywhere;
}

.sr-sub-dialog::backdrop {
    background: rgb(3 10 19 / 75%);
}

.sr-sub-dialog h2 {
    margin-block: 0 0.75rem;
    font-size: 1.125rem;
}

.sr-sub-dialog p {
    min-height: 3rem;
    line-height: 1.8;
}

.sr-sub-dialog progress {
    width: 100%;
    height: 0.75rem;
    accent-color: #38bdf8;
}

.sr-sub-dialog form {
    display: flex;
    justify-content: end;
}

.sr-sub-dialog [hidden] {
    display: none;
}
