/* Accounting Full Surface Audit — drill-down button + landing
   flash styles.  Visually mirrors the revenue / change-order
   source-link buttons so the field portal looks consistent. */

.vpcc-ah .vpcc-ah-source-link {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1.4;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease;
}
.vpcc-ah .vpcc-ah-source-link:hover,
.vpcc-ah .vpcc-ah-source-link:focus-visible {
  background: #e0f2fe;
  border-color: #38bdf8;
  outline: none;
}
.vpcc-ah .vpcc-ah-source-link:active {
  background: #bae6fd;
}

.vpcc-ah .vpcc-ah-flag-btn {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  border-radius: 999px;
  padding: 1px 8px;
  line-height: 1.4;
}
.vpcc-ah .vpcc-ah-flag-btn:hover,
.vpcc-ah .vpcc-ah-flag-btn:focus-visible {
  filter: brightness(0.95);
  outline: none;
}

.vpcc-ah .vpcc-ah-flag-btn[data-vpcc-ah-disabled="1"],
.vpcc-ah .vpcc-ah-source-link[data-vpcc-ah-disabled="1"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Landing flash — gentle yellow pulse so the user notices the
   target after a drill-down jump.  Matches the .vpcc-rcs-landing-
   flash duration and easing so the visual signature is uniform. */
@keyframes vpcc-ah-landing-flash {
  0%   { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.6); background-color: rgba(254, 243, 199, 0.65); }
  60%  { box-shadow: 0 0 0 8px rgba(250, 204, 21, 0);   background-color: rgba(254, 243, 199, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);     background-color: transparent; }
}
.vpcc-ah-landing-flash {
  animation: vpcc-ah-landing-flash 1.4s ease-out 1;
}
