/* ========================================================================
   consent-banner.css -- ScribeHold analytics consent banner

   Component layer of the modular CSS bundle. Consumes tokens from
   tokens.css. One instance lives in _Layout, emitted only when a
   measurement id is configured.

     .consent-banner          -- fixed bottom region (not a modal)
     .consent-banner__inner   -- centred content column
     .consent-banner__text    -- the disclosure copy
     .consent-banner__actions -- accept/decline control row

   All color, type, spacing, radius, and motion values come from
   tokens.css. No hard-coded hex values in this file.

   Bundle order: tokens -> base -> layout -> components/* -> pages/*
   ======================================================================== */

.consent-banner {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: var(--z-toast);
    padding: var(--space-4);
    border-top: 1px solid var(--color-border-strong);
    background: var(--color-bg-parchment);
    color: var(--color-ink);
    box-shadow: var(--shadow-lg);
}

.consent-banner[hidden] {
    display: none;
}

.consent-banner__inner {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
}

.consent-banner__text {
    flex: 1 1 var(--measure-narrow);
    margin: 0;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
}

.consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}
