/* DPDP consent banner (public). Non-modal, bottom-docked notice. Style N tokens only.
   Does NOT trap focus or block the page — it is a region, not a dialog overlay. */
.pub-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: var(--pub-card);
    border-top: 1px solid var(--pub-line);
    box-shadow: 0 -6px 24px color-mix(in srgb,var(--brand-navy) 12%,transparent);
    transform: translateY(110%);
    transition: transform .32s ease;
}

.pub-consent.is-open { transform: translateY(0); }

.pub-consent__inner {
    max-width: var(--pub-maxw);
    margin: 0 auto;
    /* respect iOS/Android bottom safe-area so pinned actions clear device chrome */
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.pub-consent__text {
    flex: 1 1 440px;
    margin: 0;
    color: var(--pub-mut);
    font-size: .92rem;
    line-height: 1.55;
}

.pub-consent__text b { color: var(--pub-ink); }
.pub-consent__text a { color: var(--pub-accent-ink); text-decoration: underline; }

.pub-consent__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 640px) {
    .pub-consent__inner { padding: 14px 16px; }
    .pub-consent__actions { width: 100%; }
    .pub-consent__actions .pub-btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .pub-consent { transition: none; }
}
