/* Public account components: identical on the website and Maps, independent of Hyper. */
body :is(#profileModal,#purchaseHistoryModal,.account-menu) {
    font-size:16px; line-height:1.5; font-weight:400; color:#0b1f3a;
    --bs-body-color:#0b1f3a; --bs-body-bg:#f5f8f7; --bs-border-color:#dee2e6;
    --bs-border-radius:.375rem; --bs-border-width:1px;
    --bs-secondary-color:rgba(33,37,41,.75);
}
body :is(#profileModal,#purchaseHistoryModal,.account-menu) :is(button,input,label,h2,h5,p,a,span,dt,dd,summary) { line-height:1.5; }
body :is(#profileModal,#purchaseHistoryModal) .btn {
    font-size:16px; line-height:24px; font-weight:600;
    padding:6px 12px; border-radius:999px; box-shadow:none;
    border-width:1px; border-style:solid; text-transform:none; letter-spacing:normal;
}
body :is(#profileModal,#purchaseHistoryModal) .btn:focus-visible { outline:2px solid #39a96b; outline-offset:3px; }
body #profileModal .btn-group > .btn:not(:last-child) { border-top-right-radius:0; border-bottom-right-radius:0; }
body #profileModal .btn-group > .btn:not(:first-child) { border-top-left-radius:0; border-bottom-left-radius:0; margin-left:-1px; }
body #profileModal .auth-body { padding:30px 32px 28px; background:#fff; }
body #profileModal .auth-title { font-size:20.48px; line-height:1.2; font-weight:700; margin-bottom:6px; }
body #profileModal .auth-label { font-size:13.28px; line-height:1.5; font-weight:600; }
body #profileModal .auth-input { font-size:14.4px; line-height:1.5; }
body #profileModal .btn-group { margin-top:24px !important; margin-bottom:24px !important; }
body #profileModal .btn-primary { padding-top:8px !important; padding-bottom:8px !important; }
body #profileModal .bg-light { background-color:#f8f9fa !important; }
body #profileModal .text-muted { color:rgba(33,37,41,.75) !important; }
body #purchaseHistoryModal .modal-content { background:#fff; box-shadow:none; }
body #purchaseHistoryModal .modal-header { padding:16px; border-bottom:1px solid #dee2e6; }
body #purchaseHistoryModal .modal-title { font-size:20px !important; line-height:30px; font-weight:700; color:#0b1f3a; }
body #purchaseHistoryModal .modal-body { padding:16px; color:#0b1f3a; }
body #purchaseHistoryModal .modal-footer { padding:12px; border-top:1px solid #dee2e6; }
body #purchaseHistoryModal .btn-sm { font-size:14px; line-height:21px; padding:4px 8px; }
body #purchaseHistoryModal .btn-outline-primary { color:#2e8d61; border-color:#39a96b; background:transparent; }
body #purchaseHistoryModal .btn-outline-primary:hover { color:#fff; background:#39a96b; }
body .account-menu {
    --bs-dropdown-bg:#f5f8f7; --bs-dropdown-link-color:#212529;
    --bs-dropdown-link-hover-bg:#e9ecef; --bs-dropdown-link-hover-color:#1e2125;
    min-width:160px; padding:8px 0; background:#f5f8f7;
    border:1px solid rgba(0,0,0,.176); border-radius:6px; box-shadow:none;
}
body .account-menu .dropdown-item { font-family:'Be Vietnam Pro',sans-serif !important; font-size:16px; font-weight:400; line-height:24px; padding:4px 16px; color:#212529; }
body .account-menu .dropdown-item:hover, body .account-menu .dropdown-item:focus { background:#e9ecef; color:#1e2125; }
body .account-menu .dropdown-item.text-danger { color:#dc3545 !important; }
@media(max-width:575.98px) {
    body #profileModal .auth-body { padding:24px 20px; }
    body #purchaseHistoryModal .modal-header { padding:12px 16px; }
    body #purchaseHistoryModal .modal-title { font-size:18px !important; }
    body #purchaseHistoryModal .modal-body { padding:16px 12px; }
    body #purchaseHistoryModal .modal-footer { padding:12px 16px; }
}
/* Keep selected tabs and account button interaction states consistent. */
body #profileModal .btn-outline-primary.active,
body #profileModal .btn-outline-primary[aria-selected="true"] {
    --bs-btn-active-color:#fff;
    color:#fff;
}
body .site-signin-button:hover,
body .site-signin-button:focus,
body .site-signin-button:active,
body .site-signin-button[aria-expanded="true"] {
    --bs-btn-hover-bg:#173a2a;
    --bs-btn-hover-border-color:#173a2a;
    --bs-btn-hover-color:#fff;
    --bs-btn-active-bg:#173a2a;
    --bs-btn-active-border-color:#173a2a;
    --bs-btn-active-color:#fff;
    background-color:#173a2a;
    border-color:#173a2a;
    color:#fff;
}
