#prc-root [hidden], .prc-footer [hidden], .prc-embed [hidden] {
    display: none !important;
}

#prc-root, .prc-footer, .prc-embed {
    color: #142331;
    font: normal 1rem/1.5 system-ui, sans-serif;
}

.prc-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    border-block-start: 0.3rem solid var(--prc-accent, #21364d);
    border-block-end: 1px solid #c0c9d5;
    background: #f5f7fa;
}

#prc-root h2 {
    color: inherit;
    font: 700 1.25rem/1.3 system-ui, sans-serif;
    margin: 0 0 0.4rem;
}

#prc-root p {
    font: inherit;
    margin: 0 0 0.65rem;
}

#prc-root .prc-copy {
    flex: 1 1 20rem;
}

.prc-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

#prc-root button, .prc-footer button, .prc-embed button {
    min-height: 44px;
    margin: 0;
    border: 1px solid #21364d;
    border-radius: 0.25rem;
    background: #fff;
    color: #142331;
    font: 650 0.95rem/1.25 system-ui, sans-serif;
    text-align: center;
    text-transform: none;
    padding: 0.56rem 0.8rem;
    cursor: pointer;
}

#prc-root button:hover, .prc-footer button:hover, .prc-embed button:hover {
    background: #e4e9ef;
    color: #142331;
}

#prc-root button:disabled {
    background: #e4e9ef;
    color: #414d5a;
    cursor: default;
}

#prc-root :focus-visible, .prc-footer :focus-visible, .prc-embed :focus-visible {
    outline: 3px solid #0864ac;
    outline-offset: 3px;
}

#prc-root .prc-policy, .prc-embed a {
    color: #134d78;
    text-decoration: underline;
}

#prc-root .prc-policy + .prc-policy {
    margin-inline-start: 0.7rem;
}

#prc-dialog {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: min(36rem, calc(100% - 1.5rem));
    max-height: calc(100% - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    margin: auto;
    padding: clamp(1rem, 4vw, 1.5rem);
    border: 1px solid #a7b2bf;
    border-block-start: 0.3rem solid var(--prc-accent, #21364d);
    border-radius: 0.45rem;
    background: #fff;
    color: #142331;
    overflow: auto;
    overscroll-behavior: contain;
}

#prc-dialog:not([open]) { display: none; }
#prc-dialog::backdrop { background: rgb(15 28 41 / 65%); }
#prc-dialog .prc-actions { margin-top: 1rem; }
#prc-dialog fieldset { margin: 0 0 0.8rem; padding: 0.65rem; border: 1px solid #8494a5; }
#prc-dialog legend { padding-inline: 0.3rem; font-weight: 700; }
#prc-dialog label { min-height: 44px; display: flex; align-items: center; gap: 0.5rem; font-weight: 700; cursor: pointer; }
#prc-dialog input[type="checkbox"] { width: 1.2rem; height: 1.2rem; accent-color: #21364d; }
#prc-reload-note { margin-top: 0.75rem !important; }

.prc-footer { padding: 0.75rem 1rem; background: #f5f7fa; text-align: center; }
.prc-embed iframe { display: block; width: 100%; min-height: 19rem; border: 0; }

.prc-sr {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    white-space: nowrap;
}
