/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 * Copyright © 2026 Marcel Rymenhout and IniqDash contributors */
/* IniqExpand (components/expandlist): the show-more / show-less control under an expandable list — theme tokens only */
.iqx { all: unset; box-sizing: border-box; flex: none; align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; min-width: 44px; margin: 2px auto 6px; padding: 0 12px; cursor: pointer;
  border-radius: 999px; font: 600 12.5px var(--font); color: var(--text-secondary); -webkit-tap-highlight-color: transparent; }
.iqx svg { width: 18px; height: 18px; transition: rotate var(--dur-fast, .15s) ease; }
.iqx[aria-expanded="true"] svg { rotate: 180deg; }
.iqx[data-control="button"] { background: var(--surface-tertiary); box-shadow: inset 0 0 0 1px var(--border-subtle); }
.iqx[data-control="text"] { color: var(--accent); }
.iqx:hover { color: var(--text-primary); }
.iqx:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .iqx svg { transition: none; } }
