/*file: ./tax-years/multi-year/css/footer.css*/
.floating-footer {
  position: fixed;
  bottom: 60px;
  right: 20px;
  width: 360px;
  background: var(--bg-footer);
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border-radius: 6px;
  z-index: 9000;
  font-size: 0.9rem;
  user-select: none;
}
.footer-header {
  background: var(--color-brand-accent);
  color: white;
  padding: 5px 10px;
  font-weight: bold;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px 6px 0 0;
}
.footer-header > div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-header button {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
}
.footer-body {
  padding: 10px;
}
.footer-details {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #333;
  transition: max-height 0.3s ease;
}
.footer-details.hidden {
  display: none;
}
.footer-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9001;
  background: var(--color-brand-accent);
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8rem;
}
.hidden {
  display: none;
}
.summary-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.footer-label-cell {
  font-weight: bold;
  text-align: left;
}
.footer-values {
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.2;
}
.footer-pair {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.footer-person {
  font-weight: 600;
}
.footer-value-cell {
  width: 7ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
