.vetpyq-web-dialog,
.vetpyq-web-locked {
    --vetpyq-web-ink: #202020;
    --vetpyq-web-muted: #505e5e;
    --vetpyq-web-dark-teal: #00696a;
    --vetpyq-web-gold: #cf991d;
    --vetpyq-web-background: #f5f7f7;
}

.vetpyq-web-dialog {
    color: var(--vetpyq-web-ink);
    font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    box-sizing: border-box;
    width: min(31rem, calc(100% - 2rem));
    max-height: calc(100% - 2rem);
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 1.25rem;
    overflow: auto;
    overscroll-behavior: contain;
    background: #fff;
    box-shadow: 0 18px 68px rgb(0 37 38 / 25%);
    z-index: 2147483647;
}

.vetpyq-web-dialog:not([open]) {
    display: none;
}

.vetpyq-web-dialog::backdrop {
    background: rgb(9 37 39 / 58%);
}

html:has(.vetpyq-web-dialog[open]) {
    overflow: hidden;
}

.vetpyq-web-inline-lock {
    box-sizing: border-box;
    grid-area: 1 / 1;
    z-index: 1;
    width: min(29rem, calc(100% - 1rem));
    margin: 1.85rem auto 0.65rem;
    border: 1px solid #dcebea;
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 8px 26px rgb(0 69 69 / 8%);
    color: var(--vetpyq-web-ink);
    font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.vetpyq-web-inline-lock .vetpyq-web-card {
    padding: clamp(1rem, 4vw, 1.75rem);
}

.vetpyq-web-locked :is(.vetpyq-web-preview-id, .vetpyq-web-preview-heading) {
    margin: 1.5rem 0 1rem;
    padding: 1.25rem 0.75rem;
    border-radius: 1rem;
    color: var(--vetpyq-web-ink);
    font-size: 1.25rem;
    text-align: center;
}

.vetpyq-web-preview-id {
    background: #f3e6ce;
}

.vetpyq-web-preview-heading {
    background: #e7f2f2;
    text-transform: uppercase;
}

.vetpyq-web-question-stem {
    max-width: 100%;
    overflow-x: auto;
    overflow-wrap: anywhere;
}

.vetpyq-web-question-stem img {
    max-width: 100%;
    height: auto;
}

.vetpyq-web-masked-copy {
    padding: 0.25rem 0.35rem;
    overflow: hidden;
    color: var(--vetpyq-web-muted);
    pointer-events: none;
    user-select: none;
}

.vetpyq-web-masked-copy p {
    margin: 0;
    overflow-wrap: anywhere;
    opacity: 0.68;
    filter: blur(6.5px);
}

.vetpyq-web-masked-answer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    isolation: isolate;
    background: radial-gradient(ellipse at center, #eef7f7 0%, transparent 76%);
}

.vetpyq-web-masked-answer .vetpyq-web-masked-copy {
    grid-area: 1 / 1;
}

.vetpyq-web-preview-lock {
    display: grid;
    place-items: center;
    width: 4.25rem;
    height: 4.25rem;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    background: #e8f5f4;
    color: var(--vetpyq-web-dark-teal);
}

.vetpyq-web-card {
    position: relative;
    padding: clamp(1.25rem, 5vw, 2.25rem);
    text-align: center;
}

.vetpyq-web-card .vetpyq-web-close {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--vetpyq-web-muted);
    box-shadow: none;
    cursor: pointer;
}

.vetpyq-web-card .vetpyq-web-close:hover {
    background: var(--vetpyq-web-background);
    color: var(--vetpyq-web-dark-teal);
}

.vetpyq-web-card h2[tabindex="-1"]:focus {
    outline: none;
}

.vetpyq-web-inline-lock .vetpyq-web-card h3 {
    margin: 0 auto 0.5rem;
    color: var(--vetpyq-web-ink);
    font: 700 clamp(1.25rem, 4vw, 1.6rem)/1.2 system-ui, sans-serif;
}

.vetpyq-web-card .vetpyq-web-logo {
    display: block;
    width: 3.75rem;
    height: 3.75rem;
    margin: 0 auto 1rem;
    object-fit: contain;
}

.vetpyq-web-card h1,
.vetpyq-web-card h2 {
    margin: 0 auto 0.75rem;
    font: 750 clamp(1.5rem, 5vw, 2rem)/1.2 system-ui, sans-serif;
    color: var(--vetpyq-web-ink);
}

.vetpyq-web-card p {
    margin: 0 auto 1.25rem;
    color: var(--vetpyq-web-muted);
}

.vetpyq-web-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.vetpyq-web-card .vetpyq-web-button {
    box-sizing: border-box;
    display: flex;
    flex: 1 1 8.25rem;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.875rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid #a1c7c7;
    border-radius: 0.65rem;
    background: #fff;
    color: var(--vetpyq-web-dark-teal);
    font: 700 0.95rem/1.25 system-ui, sans-serif;
    text-decoration: none;
}

.vetpyq-web-card .vetpyq-web-button:hover {
    background: var(--vetpyq-web-background);
}

.vetpyq-web-card .vetpyq-web-button img {
    flex: 0 0 1.375rem;
    width: 1.375rem;
    height: 1.375rem;
}

.vetpyq-web-card form {
    margin: 0;
}

.vetpyq-web-card .vetpyq-web-continue {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    margin: 0.65rem 0 0;
    padding: 0.5rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: var(--vetpyq-web-dark-teal);
    font: 400 0.95rem/1.25 system-ui, sans-serif;
    text-decoration: none;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
}

.vetpyq-web-locked .vetpyq-web-inline-lock .vetpyq-web-card a {
    text-decoration: none;
}

.vetpyq-web-card :is(a, button):focus-visible {
    outline: 3px solid var(--vetpyq-web-gold);
    outline-offset: 3px;
}

@media (max-height: 440px) {
    .vetpyq-web-dialog .vetpyq-web-card {
        padding-block: 1rem;
    }

    .vetpyq-web-dialog .vetpyq-web-logo {
        width: 3rem;
        height: 3rem;
        margin-bottom: 0.6rem;
    }

    .vetpyq-web-dialog .vetpyq-web-card p {
        margin-bottom: 0.75rem;
    }
}
