body.vp-rx-sheet-open{overflow:hidden}.vp-rx-choice{position:fixed;z-index:99999;inset:0;display:flex;padding:24px;align-items:flex-end;justify-content:center;background:rgba(17,18,24,.48);backdrop-filter:blur(3px);animation:vpRxFade .22s ease both}.vp-rx-sheet-panel{position:relative;width:min(920px,100%);max-height:min(82vh,760px);padding:28px;overflow-y:auto;border-radius:14px 14px 6px 6px;background:#fff;color:#191b22;box-shadow:0 -18px 60px rgba(17,18,25,.18);animation:vpRxRise .3s cubic-bezier(.2,.75,.25,1) both}.vp-rx-sheet-handle{display:none;width:42px;height:4px;margin:0 auto 18px;border-radius:4px;background:#d8d9de}.vp-rx-sheet-close{position:absolute;z-index:2;right:max(34px,calc((100vw - 920px)/2 + 34px));bottom:min(calc(82vh - 53px),707px);display:grid;width:34px;height:34px;padding:0!important;place-items:center;border:1px solid #dddfe4!important;border-radius:50%!important;background:#fff!important;color:#454a53!important;font-size:22px;font-weight:400;line-height:1;box-shadow:0 3px 12px rgba(20,21,27,.08)!important;transform:none!important}.vp-rx-sheet-close:hover{border-color:#b9b3eb!important;background:#f8f7ff!important;color:#4b38ee!important}.vp-rx-choice.is-closing{animation:vpRxFadeOut .22s ease both}.vp-rx-choice.is-closing .vp-rx-sheet-panel{animation:vpRxDrop .22s ease both}.vp-rx-choice-head{display:flex;padding-right:45px;align-items:flex-start;justify-content:space-between;gap:20px}.vp-rx-choice-head p,.vp-rx-selected p{margin:0 0 5px;color:#4b38ee;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.vp-rx-choice-head h1{margin:0;font-size:28px;font-weight:600}.vp-rx-choice-head span,.vp-rx-selected span{display:block;margin-top:7px;color:#747a84;font-size:12px}.vp-rx-choice-head>b{padding:7px 10px;border-radius:4px;background:#f1efff;color:#443c7d;font-size:10px}.vp-rx-choice-list{display:grid;margin-top:20px;gap:10px}.vp-rx-choice-list article{display:flex;padding:17px;align-items:center;justify-content:space-between;gap:20px;border:1px solid #e1e3e7;border-radius:5px;background:#fafafa}.vp-rx-choice-list span{color:#7f858e;font-size:9px}.vp-rx-choice-list h2{margin:4px 0;font-size:15px}.vp-rx-choice-list p{margin:0;color:#737984;font-size:10px}.vp-rx-choice-actions{display:flex;gap:7px}.vp-rx-choice-actions form{margin:0}.vp-rx-choice-actions button,.vp-rx-choice-actions a,.vp-rx-choice-other button{display:flex;min-height:40px;padding:0 13px;align-items:center;justify-content:center;border:1px solid #cfcbdc!important;border-radius:4px;background:#fff!important;color:#3d394a!important;font-size:10px;font-weight:650;box-shadow:none!important;transform:none!important}.vp-rx-choice-actions button{border-color:#4b38ee!important;background:#4b38ee!important;color:#fff!important}.vp-rx-choice-actions button:hover{border-color:#3928d8!important;background:#3928d8!important}.vp-rx-choice-actions a:hover,.vp-rx-choice-other button:hover{border-color:#aaa2e7!important;background:#faf9ff!important;color:#4b38ee!important}.vp-rx-choice-other{display:flex;margin-top:14px;justify-content:flex-end;gap:7px}.vp-rx-selected{display:flex;max-width:1120px;margin:28px auto;padding:20px 24px;align-items:center;justify-content:space-between;gap:20px;border:1px solid #dedbe9;border-radius:6px;background:#f8f7ff;color:#191b22}.vp-rx-selected strong{font-size:15px}.vp-rx-selected>a{color:#4b38ee;font-size:10px;font-weight:650;text-decoration:underline}.vp-rx-choice[hidden]{display:none!important}
@keyframes vpRxFade{from{opacity:0}to{opacity:1}}@keyframes vpRxFadeOut{to{opacity:0}}@keyframes vpRxRise{from{opacity:.8;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@keyframes vpRxDrop{to{opacity:.7;transform:translateY(100%)}}
@media(max-width:700px){.vp-rx-choice{padding:0;align-items:flex-end}.vp-rx-sheet-panel{width:100%;max-height:88vh;padding:18px 14px 22px;border-radius:18px 18px 0 0}.vp-rx-sheet-handle{display:block}.vp-rx-sheet-close{right:14px;bottom:calc(88vh - 49px);width:32px;height:32px}.vp-rx-choice-head{padding-right:34px;flex-direction:column}.vp-rx-choice-head h1{font-size:23px}.vp-rx-choice-list article,.vp-rx-selected{align-items:flex-start;flex-direction:column}.vp-rx-choice-actions,.vp-rx-choice-other{width:100%;flex-direction:column}.vp-rx-choice-actions form,.vp-rx-choice-actions button,.vp-rx-choice-actions a,.vp-rx-choice-other button{width:100%}.vp-rx-selected{margin:15px 10px;padding:18px}}
@media(prefers-reduced-motion:reduce){.vp-rx-choice,.vp-rx-sheet-panel,.vp-rx-choice.is-closing,.vp-rx-choice.is-closing .vp-rx-sheet-panel{animation:none}}

/* Desktop saved-prescription dialog polish. */
.vp-rx-sheet-panel > .vp-rx-sheet-close {
    position: absolute;
    z-index: 5;
    top: 20px;
    right: 20px;
    bottom: auto;
    width: 36px;
    height: 36px;
    border-color: #dedfe5 !important;
    background: #f7f7f9 !important;
    color: #333640 !important;
    box-shadow: none !important;
}

.vp-rx-sheet-panel > .vp-rx-sheet-close:hover,
.vp-rx-sheet-panel > .vp-rx-sheet-close:focus-visible {
    border-color: #c8c3ef !important;
    background: #f1efff !important;
    color: #4b38ee !important;
    transform: none !important;
}

.vp-rx-choice-actions {
    display: grid;
    grid-template-columns: minmax(148px, 1fr) minmax(148px, 1fr);
    align-items: end;
    gap: 10px;
}

.vp-rx-choice-actions form {
    display: grid;
    margin: 0;
}

.vp-rx-choice-actions button,
.vp-rx-choice-actions a {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
}

.vp-rx-choice-actions a {
    border-color: #c9c5e8 !important;
    background: #f7f6ff !important;
    color: #342d72 !important;
}

.vp-rx-choice-actions a:hover,
.vp-rx-choice-actions a:focus-visible {
    border-color: #aaa2e7 !important;
    background: #efedff !important;
    color: #342d72 !important;
    transform: none !important;
}

@media(max-width:700px) {
    .vp-rx-sheet-panel > .vp-rx-sheet-close {
        top: 14px;
        right: 14px;
        bottom: auto;
        width: 32px;
        height: 32px;
    }

    .vp-rx-choice-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}
