[data-analytics-id] {
    margin-inline: auto;
    width: min(100% - 2rem, 72rem);
}

.analytics-notice {
    position: fixed;
    z-index: 20;
    inset: auto auto 1rem 1rem;
    width: min(34rem, 100% - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    padding: 1.25rem;
    color: #17263c;
    background: #fff;
    border: 1px solid #b9c4d3;
    border-radius: .75rem;
    box-shadow: 0 .5rem 2rem #17263c25;
}

.analytics-notice h2 {
    margin: 0;
    font-size: 1.25rem;
}

.analytics-notice p {
    margin: .5rem 0 1rem;
}

.analytics-notice a,
.analytics-settings {
    text-decoration: underline;
}

.analytics-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.analytics-actions button {
    padding: .6rem .8rem;
    border: 1px solid #4b607b;
    border-radius: .4rem;
    background: #f3f6fa;
    color: #17263c;
    font: inherit;
    cursor: pointer;
}

.analytics-settings {
    padding: .6rem 0;
    border: 0;
    color: #17263c;
    background: transparent;
    font: inherit;
    cursor: pointer;
}
