/* Short feedback only: no layout/height animations or automatic scrolling. */
@media (prefers-reduced-motion: no-preference) {
  .user-shell :where(button, .user-sidebar-item, .user-sidebar-cs, .user-topnav-pill,
    .hg-purpose, .history-row, .csb-ticket, .cl-copy-nav-item, .filter-chip,
    .gn-pick label, .csb-categories label, .cp-format, .ws-copy, summary) {
    transition-property:background-color, border-color, color, box-shadow, opacity;
    transition-duration:160ms;
    transition-timing-function:ease-out;
  }
  .user-shell :where(input[type=text], input[type=search], input[type=email],
    input[type=password], textarea, select) {
    transition:border-color 150ms ease-out, box-shadow 150ms ease-out;
  }
  .user-shell :where(.hm-card, .gn-cand, .hg-help-card) {
    transition:border-color 220ms ease-out, box-shadow 220ms ease-out, translate 220ms ease-out;
  }
  .user-shell :where(.hg-question-toggle, .history-row-chevron) {
    transition:transform 160ms ease-out;
  }
  .user-shell :where(.gn-submit, .cl-page-action, .csb-primary, .cl-focus-actions button[type=submit],
    .cl-input-actions button, .hg-launch, .fq-contact-actions a:last-child) {
    transition:box-shadow 160ms ease-out, filter 160ms ease-out, translate 100ms ease-out;
  }
  .user-shell :where(.gn-submit, .cl-page-action, .csb-primary, .cl-focus-actions button[type=submit],
    .cl-input-actions button):not(:disabled):active { translate:0 1px; }
  @media (hover:hover) and (pointer:fine) {
    .user-shell .hm-card:hover { translate:0 -3px; box-shadow:0 8px 20px rgba(150, 40, 90, .1); }
    .user-shell :where(.gn-cand, .hg-help-card):hover {
      translate:0 -2px;
      border-color:color-mix(in srgb, var(--u-signal) 35%, var(--u-line));
      box-shadow:0 4px 14px rgba(150, 40, 90, .05);
    }
    .user-shell :where(.gn-submit, .cl-page-action, .csb-primary, .hg-launch):not(:disabled):hover {
      box-shadow:0 4px 12px rgba(193, 53, 132, .12);
    }
    .user-shell :where(.hm-icon, .hg-purpose>.cl-icon, .csb-help>span>.cl-icon) {
      transition:transform 240ms ease-out;
    }
    .user-shell .hm-card:hover .hm-icon { transform:rotate(-4deg) scale(1.05); }
    .user-shell .hg-purpose:hover>.cl-icon { transform:translateY(-2px); }
    .user-shell .history-row:hover .history-row-chevron { transform:translateX(3px); }
  }
  .user-shell :where(input[type=text], input[type=search], textarea):focus {
    box-shadow:0 0 0 3px var(--u-signal-soft);
  }
  .user-topnav-pill-active::after {
    background-size:180% 100%;
    animation:cl-accent-flow 9s ease-in-out infinite;
  }
  @keyframes cl-accent-flow { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }
}
@media (prefers-reduced-motion:reduce) {
  .user-shell *, .user-shell *::before, .user-shell *::after {
    transition:none!important;
    animation:none!important;
    scroll-behavior:auto!important;
  }
}
