/* Zamyślnik. Komunikat o przebudowie 1.0.0. */
html.zmp-notice-open { overflow: hidden !important; }
dialog.zmp-notice,
dialog.zmp-notice * { box-sizing: border-box; }
dialog.zmp-notice:not([open]) { display: none !important; }
dialog.zmp-notice[open] {
    display: block;
    position: fixed;
    inset: 0;
    width: min(620px, calc(100% - 2rem));
    max-width: calc(100% - 2rem);
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    height: fit-content;
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #d7cdbf;
    border-top: 3px solid #9a7744;
    border-radius: 14px;
    background: #fcfaf5;
    box-shadow: 0 24px 90px rgb(9 27 35 / 25%);
    color: #263e45;
    font: 400 1rem/1.7 Georgia, 'Times New Roman', serif;
    text-align: left;
    animation: zmp-notice-appear 180ms ease-out;
}
dialog.zmp-notice::backdrop {
    background: rgb(13 31 39 / 60%);
    backdrop-filter: blur(2px);
}
dialog.zmp-notice .zmp-notice__content { padding: 2rem 2.25rem; }
dialog.zmp-notice :is(p, h2) {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-transform: none;
    overflow-wrap: anywhere;
}
dialog.zmp-notice .zmp-notice__brand {
    margin-bottom: 1.125rem;
    color: #183c47;
    font: italic 400 1.25rem/1.3 Georgia, 'Times New Roman', serif;
    letter-spacing: 0;
}
dialog.zmp-notice .zmp-notice__label {
    margin-bottom: .625rem;
    color: #76572f;
    font: 700 .6875rem/1.5 Arial, Helvetica, sans-serif;
    letter-spacing: .09em;
    text-transform: uppercase;
}
dialog.zmp-notice .zmp-notice__title {
    margin-bottom: 1rem;
    color: #183c47;
    font: 400 1.75rem/1.22 Georgia, 'Times New Roman', serif;
    letter-spacing: -.02em;
    text-align: left;
    text-wrap: balance;
}
dialog.zmp-notice .zmp-notice__text {
    margin-bottom: 1.5rem;
    color: #3b4a50;
    font: 400 1rem/1.75 Georgia, 'Times New Roman', serif;
    letter-spacing: normal;
    text-align: justify;
    text-align-last: left;
    white-space: pre-line;
    hyphens: auto;
    -webkit-hyphens: auto;
}
dialog.zmp-notice .zmp-notice__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-width: 44px;
    min-height: 46px;
    max-width: 100%;
    margin: 0;
    padding: .75rem 1rem;
    border: 1px solid #183c47;
    border-radius: 5px;
    background: #183c47;
    box-shadow: none;
    color: #fff;
    font: 700 .875rem/1.5 Arial, Helvetica, sans-serif;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    overflow-wrap: anywhere;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
dialog.zmp-notice .zmp-notice__button:hover { background: #285461; }
dialog.zmp-notice .zmp-notice__button:focus-visible {
    outline: 3px solid #1b6498;
    outline-offset: 4px;
}
@keyframes zmp-notice-appear { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 480px) {
    dialog.zmp-notice .zmp-notice__content { padding: 1.5rem 1.25rem; }
    dialog.zmp-notice .zmp-notice__title { font-size: 1.5rem; }
    dialog.zmp-notice .zmp-notice__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    dialog.zmp-notice[open] { animation: none; }
}
@media (forced-colors: active) {
    dialog.zmp-notice[open] { border-color: CanvasText; }
    dialog.zmp-notice .zmp-notice__button { background: ButtonFace; color: ButtonText; border-color: ButtonText; }
    dialog.zmp-notice .zmp-notice__button:focus-visible { outline-color: Highlight; }
}
@media print { dialog.zmp-notice[open] { display: none !important; } }
