/* V6.8 — Thin traveling border for cost breakdown and payment estimate.
   Purely decorative: no interaction or calculator state changes. */
@property --v68-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
#biaya .v42-cost-card,
#biaya .v42-summary {
  position: relative;
  isolation: isolate;
  transition: box-shadow .28s ease, border-color .28s ease;
  --v68-accent: #23866b;
  --v68-highlight: #98e8bb;
}
#biaya .v42-summary {
  --v68-accent: #c69b48;
  --v68-highlight: #f4dfa2;
}
/* Keep existing default cards completely unchanged until hovered. */
#biaya .v42-cost-card::before,
#biaya .v42-summary::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  background: conic-gradient(from var(--v68-angle),
    transparent 0deg, transparent 245deg,
    var(--v68-accent) 295deg,
    var(--v68-highlight) 314deg,
    var(--v68-accent) 334deg,
    transparent 356deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  mask-composite: exclude;
  transition: opacity .22s ease;
}
@media (hover: hover) and (pointer: fine) {
  #biaya .v42-cost-card:hover,
  #biaya .v42-summary:hover {
    border-color: var(--v68-accent) !important;
    box-shadow: 0 12px 34px rgba(19, 72, 54, .10);
  }
  #biaya .v42-summary:hover {
    box-shadow: 0 12px 34px rgba(128, 92, 31, .11);
  }
  #biaya .v42-cost-card:hover::before,
  #biaya .v42-summary:hover::before {
    opacity: 1;
    animation: v68-outline-orbit 3.6s linear infinite;
  }
}
@keyframes v68-outline-orbit { to { --v68-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  #biaya .v42-cost-card::before,
  #biaya .v42-summary::before { animation: none !important; transition: none; }
  #biaya .v42-cost-card,
  #biaya .v42-summary { transition: none; }
}
