/* WordPress-only behavior; original visual tokens and utility CSS are in site.css. */
[hidden]{display:none!important}
body{margin:0}
body.admin-bar>div.flex.min-h-screen{min-height:calc(100vh - 32px)}

.cc-dialog{margin:auto;max-width:24rem;width:calc(100% - 2rem);color:var(--foreground)}
.cc-dialog::backdrop{background:color-mix(in oklch,var(--brand-navy) 40%,transparent)}
.cc-dialog svg{width:1.25rem;height:1.25rem}
#cc-live:not(.sr-only){position:fixed;bottom:1rem;left:50%;transform:translateX(-50%);z-index:100;max-width:calc(100% - 2rem);border:1px solid var(--border);border-radius:1rem;background:var(--card);color:var(--foreground);padding:.75rem 1.25rem;font-size:.875rem}
[data-code-visible]{display:flex;flex-wrap:wrap;gap:.5rem;align-items:stretch;justify-content:flex-end;width:100%;min-width:0;border:1px dashed color-mix(in oklch,var(--primary) 30%,transparent);border-radius:1.5rem;background:var(--accent);padding:.5rem}
[data-code-visible] span{user-select:all;min-width:7.5rem;flex:2 1 7.5rem;overflow-wrap:anywhere;border-radius:1.25rem;background:var(--card);padding:.5rem .75rem;text-align:center;font-family:ui-monospace,monospace;font-size:1rem;font-weight:700;letter-spacing:.05em;color:var(--primary)}
[data-copy]{height:2.75rem;min-width:8rem;flex:1 1 8rem;display:inline-flex;gap:.5rem;align-items:center;justify-content:center;border-radius:9999px;padding:0 1rem;background:var(--primary);color:var(--primary-foreground);font-size:.875rem;font-weight:600}
[data-copy] svg{width:1rem;height:1rem}
[data-filter]{cursor:pointer}
[data-filter][aria-pressed=true]{border-color:var(--primary);background:var(--accent);color:var(--primary);box-shadow:0 0 0 1px var(--primary)}
[data-filter][aria-pressed=false]{border-color:var(--border);background:var(--background);color:var(--muted-foreground);box-shadow:none}
[data-filter][aria-pressed=true] span{background:var(--primary);color:var(--primary-foreground)}
[data-filter][aria-pressed=false] span{background:var(--surface);color:var(--muted-foreground)}
[data-sort][aria-pressed=true]{border:1px solid transparent;background:var(--primary);color:var(--primary-foreground)}
[data-sort][aria-pressed=false]{border:1px solid var(--border);background:var(--background);color:var(--muted-foreground)}
[data-vote][aria-pressed=true]{border-color:var(--primary);background:var(--accent);color:var(--primary)}
[data-category][aria-current=page]{background:var(--accent);color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
