.therapist-chat-notice {
    box-sizing: border-box;
    border: 1px solid #a6cac4;
    border-radius: 18px;
    padding: 22px;
    background: #dcefeb;
    color: #215d57;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
    text-align: start;
}

.therapist-chat-dialog {
    position: fixed;
    inset: 0;
    width: min(380px, calc(100% - 32px));
    max-height: calc(100% - 32px);
    margin: auto;
    overflow: auto;
    box-shadow: 0 12px 44px #17282b59;
}

.therapist-chat-dialog[open] { display: block !important; }
.therapist-chat-dialog::backdrop { background: #17282b99; }
.therapist-chat-dialog [hidden] { display: none !important; }
.therapist-chat-notice p { margin: 0 0 16px; }
.therapist-chat-dialog p { padding-inline-end: 30px; }

.therapist-chat-notice-book {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 10px;
    background: #2e7b72;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.therapist-chat-notice-book:hover { color: #fff; text-decoration: underline; }

.therapist-chat-notice-close {
    position: absolute;
    inset-block-start: 6px;
    inset-inline-end: 6px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #215d57;
    font: 26px/1 sans-serif;
    cursor: pointer;
}

.therapist-chat-notice :focus-visible { outline: 2px solid #215d57; outline-offset: 3px; }
.therapist-chat-notice-page { max-width: 460px; margin: 36px auto; padding: 0 16px; }
