:is(button, a, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
button, a, select { touch-action: manipulation; }
.overlay, .ap-sheet, .ap-ovl, .modal { overscroll-behavior: contain; }
.modal-x, .ap-x { min-width: 44px; min-height: 44px; }
.cq-card[role="button"]:focus-visible { outline-offset: -3px; }
.cq-cli:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }
.portal-skip { position: fixed; left: 16px; top: 8px; z-index: 10000; padding: 12px 18px; background: var(--card, white); color: var(--text); transform: translateY(-150%); }
.portal-skip:focus { transform: none; }
[tabindex="-1"] { scroll-margin-top: 90px; }
select.finput { background: var(--card); color: var(--text); }
.cq-drive-row, .crumb { font: inherit; color: inherit; text-align: left; }
button.cq-drive-row { width: 100%; background: transparent; border: 0; }
button.crumb { padding: 4px; background: transparent; border: 0; cursor: pointer; }
.cq-color-sw { padding: 0; }
.cq-card__title, .ap-item__ttl, .ap-hrow { overflow-wrap: anywhere; }
@media (max-width: 640px) { input.finput, textarea.finput, select.finput { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
