@media (max-width: 767px) {
    body .vzmcp-shell .vzmcp-popover--preview .vzmcp-popover__card {
        box-sizing: border-box;
        width: max-content;
        max-width: 100%;
        margin-bottom: 18px;
    }
    .vzmcp-popover--preview .vzlp-option {
        appearance: none;
        width: 100%;
        border: 0;
        border-bottom: 1px solid var(--vzmcp-line, #e8e7f1);
        border-radius: 0;
        background: transparent;
        text-align: left;
        text-decoration: none;
        text-transform: none;
        color: var(--vzmcp-ink, #100d4c);
        cursor: pointer;
    }
    .vzmcp-popover--preview .vzlp-option:hover { background: #f8f6ff; }
    .vzmcp-popover--preview .vzlp-option:focus-visible { outline: 2px solid #5c3bf4; outline-offset: -2px; }
    .vzmcp-popover--preview .vzmcp-preview-option__copy { min-width: 0; }
}

.vzlp-dialog, .vzlp-page {
    --vzlp-ink: #100d4c;
    --vzlp-muted: #5e5a80;
    --vzlp-accent: #5c3bf4;
    --vzlp-hover: #4a28df;
    --vzlp-line: #e8e7f1;
    --vzlp-tint: #f6f4ff;
    font: 400 14px/1.5 Poppins, Arial, sans-serif;
    color: var(--vzlp-ink);
}
.vzlp-dialog *, .vzlp-page * { box-sizing: border-box; }
.vzlp-dialog [hidden], .vzlp-page [hidden] { display: none !important; }
.vzlp-dialog p, .vzlp-dialog h2, .vzlp-dialog h3 { margin: 0; color: inherit; font-family: inherit; }
.vzlp-dialog a, .vzlp-page a { color: var(--vzlp-hover); }
.vzlp-dialog :focus-visible, .vzlp-page :focus-visible { outline: 2px solid var(--vzlp-accent); outline-offset: 2px; }
.vzlp-dialog h2:focus { outline: none; }
.vzlp-modal-open { overflow: hidden; }

.vzlp-dialog {
    padding: 0;
    border: 0;
    background: transparent;
    width: min(468px, calc(100% - 36px));
    max-width: none;
    max-height: none;
    overflow: visible;
}
.vzlp-dialog::backdrop { background: rgb(22 16 52 / 26%); animation: vzlp-fade-in 180ms ease-out both; }
.vzlp-dialog.is-closing::backdrop { animation: vzlp-fade-out 160ms ease-in both; }
.vzlp-sheet {
    background: white;
    border-radius: 16px;
    box-shadow: 0 16px 55px rgb(16 13 76 / 16%);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: auto;
    overscroll-behavior: contain;
    animation: vzlp-enter 220ms cubic-bezier(.2,.75,.25,1) both;
}
.vzlp-dialog.is-closing .vzlp-sheet { animation: vzlp-exit 160ms ease-in both; }
.vzlp-forward { animation: vzlp-next 170ms ease-out both; }
.vzlp-back { animation: vzlp-previous 170ms ease-out both; }
@keyframes vzlp-enter { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes vzlp-exit { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(22px); } }
@keyframes vzlp-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vzlp-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes vzlp-next { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes vzlp-previous { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

.vzlp-header { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; min-height: 58px; padding: 4px 10px; border-bottom: 1px solid var(--vzlp-line); }
.vzlp-header h2 { text-align: center; font-size: 19px; font-weight: 600; line-height: 1.25; }
.vzlp-dialog button, .vzlp-page button { font-family: inherit; text-transform: none; cursor: pointer; }
.vzlp-dialog button:disabled { cursor: default; }
.vzlp-dialog .vzlp-icon-button { display: grid; place-items: center; width: 40px; min-height: 40px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--vzlp-ink); }
.vzlp-icon-button:hover { background: var(--vzlp-tint); }
.vzlp-icon-button .dashicons { width: 16px; height: 16px; font-size: 16px; }
.vzlp-content { padding: 16px 20px 22px; }
.vzlp-content > p { color: var(--vzlp-muted); font-size: 13px; margin-bottom: 14px; }
.vzlp-content > p[role="alert"] { color: #a72946; }
.vzlp-watch, .vzlp-appointment { display: flex; align-items: center; gap: 10px; background: #faf9fe; border: 1px solid var(--vzlp-line); border-radius: 10px; padding: 8px 10px; text-align: left; }
.vzlp-watch img { width: 60px; height: 58px; object-fit: contain; border-radius: 6px; }
.vzlp-watch strong, .vzlp-appointment strong { display: block; font-size: 13px; font-weight: 600; }
.vzlp-watch p, .vzlp-appointment p { color: var(--vzlp-muted); font-size: 11px; margin-top: 2px; }
.vzlp-appointment > .dashicons { display: grid; place-items: center; flex: 0 0 34px; height: 34px; color: var(--vzlp-hover); background: var(--vzlp-tint); border-radius: 7px; }
.vzlp-appointment > div { flex: 1; min-width: 0; }

.vzlp-form { display: grid; gap: 14px; margin-top: 18px; }
.vzlp-form label { display: block; font-size: 13px; font-weight: 500; }
.vzlp-form small { color: var(--vzlp-muted); font-size: 11px; font-weight: 400; }
.vzlp-form input:not(.vzlp-trap), .vzlp-form textarea {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 5px 0 0;
    padding: 8px 11px;
    background: white;
    border: 1px solid #cbc8dd;
    border-radius: 8px;
    color: var(--vzlp-ink);
    font: 400 16px/1.4 Poppins, Arial, sans-serif;
}
.vzlp-form textarea { min-height: 65px; resize: vertical; }
.vzlp-form textarea::placeholder { color: var(--vzlp-muted); font-size: 12px; }
.vzlp-trap { position: absolute !important; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.vzlp-form .vzlp-privacy { font-size: 11px; color: var(--vzlp-muted); }
.vzlp-dialog .vzlp-error { color: #a72946; font-size: 12px; }

.vzlp-dialog .vzlp-primary, .vzlp-page .vzlp-primary { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 9px 14px; border: 0; border-radius: 8px; color: white; background: var(--vzlp-accent); font: 500 14px/1.4 Poppins, Arial, sans-serif; text-decoration: none; text-align: center; }
.vzlp-dialog .vzlp-primary:hover, .vzlp-page .vzlp-primary:hover { background: var(--vzlp-hover); color: white; }
.vzlp-dialog .vzlp-primary:disabled { background: #edeaf5; color: var(--vzlp-muted); }
.vzlp-dialog .vzlp-text, .vzlp-page .vzlp-text { color: var(--vzlp-hover); text-decoration: underline; text-underline-offset: 2px; background: transparent; border: 0; min-height: 38px; padding: 4px; font: 500 12px/1.5 Poppins, Arial, sans-serif; }

.vzlp-calendar { margin-top: 17px; display: grid; gap: 8px; }
.vzlp-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 6px; }
.vzlp-line h3 { font-size: 13px; font-weight: 500; }
.vzlp-week { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--vzlp-muted); }
.vzlp-week button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; background: white; border: 1px solid var(--vzlp-line); border-radius: 6px; color: var(--vzlp-hover); }
.vzlp-week button:disabled { color: var(--vzlp-muted); opacity: .65; }
.vzlp-week .dashicons { width: 12px; height: 12px; font-size: 12px; }
.vzlp-line select { width: auto; max-width: 55%; min-height: 32px; padding: 3px 5px; border: 1px solid var(--vzlp-line); border-radius: 6px; background: white; color: var(--vzlp-ink); font: 400 12px/1.35 Poppins, Arial, sans-serif; }
.vzlp-dates, .vzlp-times { display: grid; gap: 5px; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-bottom: 5px; }
.vzlp-times { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vzlp-dates button, .vzlp-times button { background: white; border: 1px solid #cbc8dd; border-radius: 8px; color: var(--vzlp-ink); font-size: 13px; min-height: 44px; padding: 4px 2px; }
.vzlp-dates button { min-height: 53px; }
.vzlp-dates span, .vzlp-dates strong { display: block; }
.vzlp-dates span { color: var(--vzlp-muted); font-size: 11px; }
.vzlp-dates strong { font-weight: 500; }
.vzlp-dates button[aria-pressed="true"], .vzlp-times button[aria-pressed="true"] { border-color: var(--vzlp-accent); background: var(--vzlp-tint); color: var(--vzlp-hover); box-shadow: inset 0 0 0 1px var(--vzlp-accent); }
.vzlp-dates button:disabled { border-color: var(--vzlp-line); background: #f6f4fa; color: var(--vzlp-muted); }

.vzlp-confirm { display: grid; justify-items: center; gap: 12px; text-align: center; }
.vzlp-confirm > .dashicons { display: grid; place-items: center; border-radius: 50%; background: var(--vzlp-tint); color: var(--vzlp-hover); width: 48px; height: 48px; font-size: 22px; }
.vzlp-confirm > p { color: var(--vzlp-muted); font-size: 13px; overflow-wrap: anywhere; }
.vzlp-confirm .vzlp-appointment { width: 100%; }
.vzlp-confirm aside { width: 100%; padding-top: 12px; border-top: 1px solid var(--vzlp-line); text-align: left; font-size: 13px; }
.vzlp-confirm aside p { margin: 3px 0 5px; color: var(--vzlp-muted); }

.vzlp-page { margin: 0; background: #f8f7fd; min-height: 100vh; }
.vzlp-page-header { display: grid; place-items: center; min-height: 58px; border-bottom: 1px solid var(--vzlp-line); background: white; font-weight: 600; }
.vzlp-page-header a { color: var(--vzlp-ink); text-decoration: none; }
.vzlp-page-card { width: min(680px, calc(100% - 24px)); margin: 24px auto; padding: clamp(15px, 4vw, 28px); border: 1px solid var(--vzlp-line); border-radius: 15px; background: white; }
.vzlp-page-card h1 { font-size: clamp(20px, 5vw, 28px); margin-top: 0; }
.vzlp-page-card h2 { font-size: 16px; }
.vzlp-page-card video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 9px; background: #f1eff7; }
.vzlp-page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.vzlp-page-actions .vzlp-primary { width: auto; }

@media (max-width: 767px) {
    .vzlp-dialog { top: auto; bottom: 0; margin: auto 0 0; width: 100%; }
    .vzlp-sheet { border-radius: 17px 17px 0 0; max-height: calc(100vh - 12px); max-height: calc(100dvh - 12px); }
    .vzlp-content { padding: 16px 18px max(18px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
    .vzlp-content { padding-inline: 14px; }
    .vzlp-week { gap: 3px; }
    .vzlp-week button { width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .vzlp-dialog::backdrop, .vzlp-dialog.is-closing::backdrop, .vzlp-sheet, .vzlp-dialog.is-closing .vzlp-sheet, .vzlp-forward, .vzlp-back { animation: none; }
    .vzmcp-popover--preview, .vzmcp-popover--preview .vzmcp-popover__card { transition: none !important; }
}
