/* Avenra Core: floating "Demos" panel (live preview sites). Logical properties for RTL. */
.avr-demo-switcher { position: fixed; z-index: 980; inset-inline-start: 1.25rem; bottom: 1.25rem; font-family: var(--avr-font-body, system-ui, sans-serif); }
.avr-demo-switcher summary { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1rem; border-radius: 999px; background: var(--avr-secondary, #0f172a); color: #fff; font-size: .9rem; font-weight: 600; list-style: none; cursor: pointer; box-shadow: 0 10px 30px rgba(15, 23, 42, .25); }
.avr-demo-switcher summary::-webkit-details-marker { display: none; }
.avr-demo-switcher summary:focus-visible { outline: 2px solid var(--avr-primary, #2563eb); outline-offset: 3px; }
.avr-demo-switcher__panel { position: absolute; inset-inline-start: 0; bottom: calc(100% + .75rem); width: min(340px, calc(100vw - 2.5rem)); max-height: min(70vh, 560px); overflow: auto; padding: 1rem; border: 1px solid var(--avr-border, #e2e8f0); border-radius: 16px; background: var(--avr-background, #fff); color: var(--avr-text, #334155); box-shadow: 0 24px 60px rgba(15, 23, 42, .22); }
.avr-demo-switcher__title { margin: 0 0 .75rem; font-size: .8rem; font-weight: 600; color: var(--avr-heading, #0f172a); }
.avr-demo-switcher ul { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.avr-demo-switcher a { display: flex; align-items: center; gap: .75rem; padding: .5rem .6rem; border-radius: 10px; color: inherit; text-decoration: none; }
.avr-demo-switcher a:hover, .avr-demo-switcher a:focus-visible { background: var(--avr-surface, #f5f7fa); }
.avr-demo-switcher a[aria-current] { background: var(--avr-surface, #f5f7fa); box-shadow: inset 3px 0 0 var(--avr-primary, #2563eb); }
.avr-demo-switcher__num { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--avr-demo-color, #334155); color: #fff; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.avr-demo-switcher strong { display: block; color: var(--avr-heading, #0f172a); font-size: .92rem; }
.avr-demo-switcher small { display: block; font-size: .78rem; opacity: .75; }
.avr-has-mobile-bar .avr-demo-switcher { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) { .avr-has-mobile-bar .avr-demo-switcher { bottom: 1.25rem; } }
@media print { .avr-demo-switcher { display: none; } }
