/* Component-scoped HUX-10 presentation; importing it cannot recolor the page. */ .hux-privacy { color: inherit; container-type: inline-size; display: grid; gap: 0.75rem; } .hux-privacy-heading { align-items: flex-start; display: flex; gap: 1rem; justify-content: space-between; } .hux-privacy-kicker { color: color-mix(in srgb, currentColor 58%, #22d3ee); display: block; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.055em; text-transform: uppercase; } .hux-privacy h2, .hux-privacy h3 { line-height: 1.35; margin: 0; } .hux-privacy h2 { font-size: 0.875rem; } .hux-privacy h3 { font-size: 0.75rem; } .hux-privacy-state { border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 999px; font-size: 0.625rem; font-weight: 650; padding: 0.25rem 0.5rem; white-space: nowrap; } .hux-privacy-state.is-private { background: color-mix(in srgb, #22d3ee 10%, transparent); border-color: color-mix(in srgb, #22d3ee 42%, currentColor); } .hux-privacy-notice, .hux-privacy-confirm { background: color-mix(in srgb, #22d3ee 5%, transparent); border: 1px solid color-mix(in srgb, #22d3ee 24%, transparent); border-radius: 0.7rem; padding: 0.65rem 0.75rem; } .hux-privacy-notice p, .hux-privacy-confirm span { color: color-mix(in srgb, currentColor 68%, transparent); display: block; font-size: 0.6875rem; line-height: 1.45; margin: 0.2rem 0 0.55rem; } .hux-privacy-retention { display: grid; gap: 0.45rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; } .hux-privacy-retention div { border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent); display: grid; gap: 0.15rem; padding: 0.3rem 0; } .hux-privacy-retention dt { color: color-mix(in srgb, currentColor 58%, transparent); font-size: 0.625rem; } .hux-privacy-retention dd { font-size: 0.6875rem; margin: 0; } .hux-privacy-controls, .hux-privacy-confirm div { display: flex; flex-wrap: wrap; gap: 0.4rem; } .hux-privacy button { background: transparent; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 0.55rem; color: inherit; cursor: pointer; font: inherit; font-size: 0.6875rem; min-height: 2rem; padding: 0.35rem 0.6rem; } .hux-privacy button:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; } .hux-privacy button:disabled { cursor: not-allowed; opacity: 0.5; } .hux-privacy .hux-privacy-danger { border-color: color-mix(in srgb, #fb7185 48%, currentColor); color: color-mix(in srgb, currentColor 88%, #fb7185); } .hux-privacy-confirm { border-color: color-mix(in srgb, #fb7185 28%, transparent); } .hux-privacy-confirm strong { display: block; font-size: 0.75rem; } .hux-privacy-status, .hux-privacy-error { font-size: 0.625rem; margin: 0; } .hux-privacy-status:empty { display: none; } .hux-privacy-error { color: color-mix(in srgb, currentColor 82%, #fb7185); } @container (max-width: 34rem) { .hux-privacy-retention { grid-template-columns: 1fr; } } @media (prefers-reduced-motion: reduce) { .hux-privacy * { scroll-behavior: auto; } }