[hidden] { display: none !important; }
.pwa-tools {
    position: fixed;
    right: 12px;
    bottom: 12px;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 1050;
    max-width: min(360px, calc(100vw - 24px));
    font: 14px/1.5 Arial, sans-serif;
}
.pwa-button {
    background: #111;
    color: #fff;
    border: 1px solid #777;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    min-height: 44px;
}
.pwa-button:focus-visible { outline: 3px solid #397ec0; outline-offset: 2px; }
.pwa-message {
    margin: 8px 0 0;
    padding: 14px;
    background: #fff;
    color: #222;
    border: 1px solid #aaa;
    border-radius: 8px;
    box-shadow: 0 4px 16px #0003;
}
.pwa-message p { margin: 0 0 12px; }
@media (display-mode: standalone) {
    body { min-height: 100dvh; }
}
@media print { .pwa-tools { display: none; } }
