.tool-cards a.selected {
  border-color: #3f746d;
  box-shadow: 0 0 0 3px rgba(63, 116, 109, .16), 0 14px 30px rgba(21, 60, 59, .1);
  transform: translateY(-3px);
}
.inline-workspace { display: block; scroll-margin-top: 18px; }
.inline-workspace[hidden] { display: none; }
.inline-workspace .calculator-panel { max-width: 980px; margin: 0 auto; position: relative; }
.panel-actions { display: flex; gap: 8px; }
.resolve-walk {
  height: 135px;
  margin: 18px 0 -8px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px dashed #d5dfda;
}
.resolve-walk img {
  position: absolute;
  left: 12px;
  bottom: 0;
  width: 78px;
  height: 112px;
  object-fit: cover;
  object-position: center;
  border-radius: 45px;
  mix-blend-mode: multiply;
}
.walk-bubble {
  position: absolute;
  right: 112px;
  top: 22px;
  max-width: 230px;
  background: #e9f1e9;
  border: 1px solid #cbdad3;
  border-radius: 14px 14px 3px 14px;
  padding: 10px 13px;
  font-size: .82rem;
  font-weight: 750;
  opacity: 0;
  transform: translateY(6px);
  z-index: 2;
}
.resolve-walk.walking img { animation: resolve-walk 1.5s ease-in-out forwards; }
.resolve-walk.walking .walk-bubble { animation: resolve-speak .35s ease 1.35s forwards; }
@keyframes resolve-walk {
  0% { left: 12px; transform: translateY(0) rotate(-2deg); }
  18% { transform: translateY(-7px) rotate(2deg); }
  36% { transform: translateY(0) rotate(-2deg); }
  54% { transform: translateY(-7px) rotate(2deg); }
  72% { transform: translateY(0) rotate(-2deg); }
  90%, 100% { left: calc(100% - 98px); transform: translateY(0) rotate(0); }
}
@keyframes resolve-speak { to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .panel-actions { margin-top: 12px; }
  .resolve-walk { height: 115px; }
  .resolve-walk img { width: 65px; height: 94px; }
  .walk-bubble { right: 100px; top: 18px; max-width: 170px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .resolve-walk.walking img { animation: none; left: calc(100% - 98px); }
  .resolve-walk.walking .walk-bubble { animation: none; opacity: 1; transform: none; }
}
