/* SPV Locations v1.11: distinguish destructive actions, even inside nested dialogs. */
#modal .spv-more-footer .spv-clear-week,
#modal .spv-more-footer .spv-clear-week.button,
dialog#modal.spv-tools-dialog .spv-more-footer .spv-clear-week{
  background-color:#fff0f3!important;color:#943c52!important;border:2px solid #e7b2bf!important;
  box-shadow:inset 0 1px 0 #fff8fa!important;font-weight:800!important;
}
#modal .spv-more-footer .spv-open-reset,
#modal .spv-more-footer .spv-open-reset.button,
dialog#modal.spv-tools-dialog .spv-more-footer .spv-open-reset{
  background-color:#f6c5d1!important;color:#761d3a!important;border:2px solid #d97e98!important;
  box-shadow:inset 0 1px 0 #fce9ef!important;font-weight:850!important;
}
#modal .spv-more-footer .spv-clear-week:hover{background-color:#ffe2ea!important}
#modal .spv-more-footer .spv-open-reset:hover{background-color:#f2aebf!important}
#modal .spv-more-footer button:focus-visible{outline:3px solid #863652!important;outline-offset:2px}
#modal.spv-tools-dialog .premium-tool-danger{background-color:#f8d3dd!important;border:2px solid #d98598!important;color:#7b2440!important;font-weight:800!important}
#modal.spv-tools-dialog .premium-tool-danger:hover{background-color:#efb8c8!important}
@media(max-width:400px){#modal .spv-more-footer button{font-size:13px!important;line-height:1.25!important}}

/* v1.17: account picker stays still; only a genuinely overflowing card can scroll. */
html.spv-login-open,body.spv-login-open{overflow:hidden!important;overscroll-behavior:none!important}
body.spv-login-open{position:fixed!important;inset:0!important;width:100%!important}
#spv-demo-login{top:0!important;bottom:auto!important;height:var(--spv-visible-height,100dvh)!important;max-height:100dvh!important;overflow:hidden!important;overscroll-behavior:none!important;min-height:0!important;padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important}
#spv-demo-login .spv-login-card{min-height:0!important;max-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:none!important;scrollbar-width:none!important}
#spv-demo-login::-webkit-scrollbar,#spv-demo-login .spv-login-card::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.summary .metric:last-child small{display:block;min-height:1.3em;margin-top:7px;font-size:10px;line-height:1.3;color:var(--ink,#253746)}
.summary .metric[role=button]:focus-visible{outline:3px solid #d5a457;outline-offset:3px}
