.pwa-update-notice {
    position: fixed;
    z-index: 10000;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(16px, env(safe-area-inset-left));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 720px;
    margin-inline: auto;
    padding: 12px 14px;
    border: 1px solid #5eead4;
    border-radius: 12px;
    background: #f0fdfa;
    color: #134e4a;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.2);
    font: 600 14px/1.4 Arial, sans-serif;
}

.pwa-update-notice[hidden] {
    display: none;
}

.pwa-update-notice button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 14px;
    border: 0;
    border-radius: 8px;
    background: #0f766e;
    color: #ffffff;
    font: inherit;
    cursor: pointer;
}

.pwa-update-notice button:focus-visible {
    outline: 3px solid rgba(13, 148, 136, 0.35);
    outline-offset: 2px;
}

.pwa-offline-page {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
        max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    box-sizing: border-box;
    background: #f4f7f8;
    color: #172b2d;
    font-family: Arial, sans-serif;
}

.pwa-offline-card {
    width: min(100%, 420px);
    padding: 28px;
    box-sizing: border-box;
    border: 1px solid #d4e4e2;
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.1);
}

.pwa-offline-card img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
}

.pwa-offline-card h1 {
    margin: 18px 0 8px;
    font-size: 24px;
}

.pwa-offline-card p {
    margin: 0 0 22px;
    color: #52666a;
    line-height: 1.55;
}

.pwa-offline-card a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    box-sizing: border-box;
    border-radius: 9px;
    background: #0f766e;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}
