/* Highlight the calculator link in the existing page section menu. */
.menu_page a[href="#calculator"] {
    gap: 8px;
    background: linear-gradient(135deg, #0785d7, #07569f);
    border-color: #075fae;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 9px rgba(7, 95, 174, .24);
}

.menu_page a[href="#calculator"]::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 17px;
    flex: 0 0 15px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 20'%3E%3Crect x='1' y='1' width='16' height='18' rx='2' fill='none' stroke='white' stroke-width='2'/%3E%3Cpath fill='white' d='M4 4h10v4H4zM4 10h3v3H4zM11 10h3v3h-3zM4 15h3v2H4zM11 15h3v2h-3z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 20'%3E%3Crect x='1' y='1' width='16' height='18' rx='2' fill='none' stroke='white' stroke-width='2'/%3E%3Cpath fill='white' d='M4 4h10v4H4zM4 10h3v3H4zM11 10h3v3h-3zM4 15h3v2H4zM11 15h3v2h-3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.menu_page a[href="#calculator"]:hover {
    background: linear-gradient(135deg, #0876c1, #06477f);
    border-color: #06477f;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(7, 95, 174, .32);
}

.menu_page a[href="#calculator"]:focus-visible {
    outline: 3px solid #f0ae29;
    outline-offset: 3px;
}
