#ma-app-install[hidden], #ma-app-guide [hidden] { display: none; }
#ma-app-install {
    display: inline-flex; align-items: center; justify-content: center; gap: .42rem;
    appearance: none; border: 1px solid #a9c9c2; border-radius: .5rem;
    background: #edf5f0; color: #095e5b; 
    font-family: inherit; font-size: .92rem; font-weight: 600; line-height: 1.2;
    padding: .6rem .8rem; min-height: 42px; cursor: pointer; white-space: nowrap;
}
.ma-account:has(#ma-app-install) { flex-wrap: wrap; }
#ma-app-install:hover { background: #dfeee7; }
#ma-app-install:focus-visible, #ma-app-guide button:focus-visible { outline: 3px solid #1b7776; outline-offset: 3px; }
#ma-app-guide {
    box-sizing: border-box; width: min(27rem, calc(100% - 2rem)); max-height: 85vh; overflow-y: auto;
    margin: auto; padding: 1.4rem; border: 1px solid #c6d5d0; border-radius: .8rem;
    background: #fffdf8; color: #14383c; box-shadow: 0 12px 48px #123f4333; text-align: left;
}
#ma-app-guide::backdrop { background: rgba(13,36,39,.55); }
#ma-app-guide img { display: block; border-radius: .65rem; border: 1px solid #d6e0dc; }
#ma-app-guide h2 { margin: .65rem 0 .3rem; font-size: 1.55rem; }
#ma-app-guide h3 { margin: .9rem 0 .18rem; font-size: 1.1rem; }
#ma-app-guide p { margin: .25rem 0; line-height: 1.5; }
#ma-app-guide .ma-app-online { margin: 1rem 0; font-size: .92rem; }
#ma-app-guide button { padding: .65rem 1.25rem; border: 0; border-radius: .4rem; color: white; background: #096762; font: inherit; font-weight: bold; cursor: pointer; }
@media (display-mode: standalone), print { #ma-app-install, #ma-app-guide { display: none; } }
