/* First-party contact actions and Google booking dialog; source captures stay intact. */
.qlx-contact-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}
.qlx-contact-actions > .submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    white-space: nowrap;
}
.qlx-contact-actions > .qlx-schedule-call {
    padding: 9px 15px;
    border: 1px solid #dae4e5;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font: inherit;
    text-decoration: none;
}
.qlx-contact-actions > .qlx-schedule-call:hover {
    background: #dae4e5;
    color: #2c5a61;
}
.qlx-contact-actions > .submit-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}
html.qlx-scheduling-open {
    overflow: hidden;
}
.qlx-scheduling-dialog {
    box-sizing: border-box;
    width: min(800px, calc(100% - 48px));
    height: min(660px, calc(100vh - 48px));
    height: min(660px, calc(100dvh - 48px));
    max-width: none;
    max-height: none;
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #15191a;
    font: 400 16px/1.5 "Instrument Sans", sans-serif;
    box-shadow: 0 24px 80px #102b3280;
}
.qlx-scheduling-dialog[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}
.qlx-scheduling-dialog::backdrop {
    background: #102b32b8;
}
.qlx-scheduling-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #dae4e5;
}
.qlx-scheduling-dialog__header h2 {
    margin: 0;
    color: #2c5a61;
    font: 500 22px/1.25 "Onest", sans-serif;
}
.qlx-scheduling-dialog__header p {
    margin: 6px 0 0;
    color: #53676a;
    font: 400 14px/1.5 "Instrument Sans", sans-serif;
}
.qlx-scheduling-dialog__close {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #b8cbcd;
    border-radius: 50%;
    background: #f2f6f6;
    color: #2c5a61;
    cursor: pointer;
}
.qlx-scheduling-dialog__close:hover {
    background: #dae4e5;
}
.qlx-scheduling-dialog :is(button, a):focus-visible {
    outline: 2px solid #2c5a61;
    outline-offset: 3px;
}
.qlx-scheduling-dialog__calendar {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: #fff;
}
.qlx-scheduling-dialog__calendar iframe {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.qlx-scheduling-dialog__status {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0;
    padding: 24px;
    background: #fff;
    color: #53676a;
    text-align: center;
}
.qlx-scheduling-dialog__status[hidden],
.qlx-scheduling-dialog__reveal[hidden] {
    display: none;
}
.qlx-scheduling-dialog__spinner {
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    border: 3px solid #dae4e5;
    border-top-color: #2c5a61;
    border-radius: 50%;
    animation: qlx-calendar-spin .8s linear infinite;
}
.qlx-scheduling-dialog__reveal {
    padding: 8px 16px;
    min-height: 44px;
    border: 1px solid #2c5a61;
    border-radius: 4px;
    background: #fff;
    color: #2c5a61;
    font: inherit;
    cursor: pointer;
}
@keyframes qlx-calendar-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .qlx-scheduling-dialog__spinner {
        animation: none;
    }
}
.qlx-scheduling-dialog__fallback {
    margin: 0;
    padding: 10px 20px;
    border-top: 1px solid #dae4e5;
    background: #f2f6f6;
    color: #53676a;
    font: 400 14px/1.5 "Instrument Sans", sans-serif;
    text-align: center;
}
.qlx-scheduling-dialog__fallback a {
    color: #2c5a61;
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (max-width: 600px) {
    .qlx-scheduling-dialog {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        border-radius: 0;
    }
    .qlx-scheduling-dialog__header {
        padding: 16px;
    }
    .qlx-scheduling-dialog__header h2 {
        font-size: 21px;
    }
    .qlx-scheduling-dialog__header p {
        font-size: 14px;
    }
    .qlx-scheduling-dialog__fallback {
        padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    }
}
