/* A quiet pressed surface; no sizing, positioning, focus or action changes. */
[data-ak-press]:not(:disabled,[readonly],[aria-disabled="true"],[data-enabled="false"],[inert] *,[aria-disabled="true"] *,[data-enabled="false"] *,label:has(:disabled),:has(> button:disabled)) {
  box-shadow: inset 0 0 0 999px rgb(15 23 42 / 7%) !important;
}
/* Qt paints these leaf surfaces as images. Darken the image itself, never an
   ancestor that could become a containing block for a popup or fixed child. */
[data-ak-press]:not([aria-disabled="true"],[data-enabled="false"],[data-enabled="false"] *) > :is(.qt-painted-background,.qt-calendar-day,.qt-tab-paint) {
  filter: brightness(.94);
}
input[type="file"][data-ak-press]:not(:disabled) {
  box-shadow: none !important;
}
input[type="file"][data-ak-press]:not(:disabled)::file-selector-button {
  box-shadow: inset 0 0 0 999px rgb(15 23 42 / 7%);
}
@media (forced-colors: active) {
  [data-ak-press]:not(:disabled,[aria-disabled="true"],[data-enabled="false"] *) { outline: 1px solid Highlight; outline-offset: -2px; }
}
@media print {
  [data-ak-press] { box-shadow: none !important; }
}
