.azimut-pwa-install {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 50;
    max-width: calc(100vw - 40px);
    padding: 12px 20px;
    border: 0;
    border-radius: 28px;
    background: #007077;
    color: #fff;
    font: 600 14px/1.4 Arial, sans-serif;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
    cursor: pointer;
}

.azimut-pwa-install[hidden] { display: none; }

.azimut-pwa-install:hover,
.azimut-offline-action:hover { background: #00565b; }

.azimut-pwa-install:focus-visible,
.azimut-pwa-help button:focus-visible,
.azimut-offline-action:focus-visible {
    outline: 3px solid #12939b;
    outline-offset: 4px;
}

.azimut-pwa-help {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: min(440px, calc(100% - 32px));
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 28px;
    overflow-y: auto;
    border: 0;
    border-radius: 24px;
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 16px 64px rgba(0, 0, 0, .2);
    text-align: left;
    font: 16px/1.5 Arial, sans-serif;
}

.azimut-pwa-help::backdrop { background: rgba(0, 0, 0, .45); }
.azimut-pwa-help-icon { display: block; border-radius: 14px; }
.azimut-pwa-help h2 { margin: 20px 0 12px; font: 700 24px/1.25 Arial, sans-serif; }
.azimut-pwa-help-intro { margin: 0 0 20px; color: #666; }
.azimut-pwa-help-steps { margin: 0; padding: 0 0 0 24px; list-style: decimal; }
.azimut-pwa-help-steps li { margin: 0 0 16px; padding-left: 4px; }
.azimut-pwa-share-icon { display: inline-block; width: 22px; height: 22px; color: #007077; vertical-align: middle; }
.azimut-pwa-help-note { margin: 20px 0; color: #666; font-size: 14px; }
.azimut-pwa-help-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f7f7;
    color: #1a1a1a;
    font: 28px/1 Arial, sans-serif;
    cursor: pointer;
}
.azimut-pwa-help-done {
    width: 100%;
    padding: 14px 20px;
    border: 0;
    border-radius: 24px;
    background: #007077;
    color: #fff;
    font: 600 16px/1.4 Arial, sans-serif;
    cursor: pointer;
}
.azimut-pwa-help-done:hover { background: #00565b; }

.azimut-offline {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #f3f7f7;
    color: #1a1a1a;
    font: 18px/1.6 Arial, sans-serif;
}

.azimut-offline-card {
    box-sizing: border-box;
    width: min(560px, calc(100% - 32px));
    margin: 24px 0;
    padding: clamp(24px, 6vw, 48px);
    border-radius: 24px;
    background: #fff;
    text-align: center;
}

.azimut-offline-logo {
    width: 190px;
    max-width: 100%;
    height: auto;
}

.azimut-offline-card h1 {
    margin: 32px 0 16px;
    font-size: clamp(24px, 5vw, 32px);
    line-height: 1.25;
}

.azimut-offline-card p { margin: 0 0 24px; color: #666; }

.azimut-offline-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.azimut-offline-action {
    padding: 12px 20px;
    border: 0;
    border-radius: 24px;
    background: #007077;
    color: #fff;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}
