.service-charge-landing {
  min-height: 100vh;
  background: #ffffff;
}

.charge-hero {
  max-width: 93.333rem;
  margin: 0 auto;
  padding-top: 1.5rem;
  transition:
    opacity 0.28s ease,
    max-height 0.35s ease,
    padding 0.35s ease,
    margin 0.35s ease;
}

.charge-hero.charge-hero--hidden {
  display: none;
}

.charge-page-title {
  margin-top: -1.5rem;
  font-weight: 700;
  width: 100%;
}

.service-charge-landing.is-charge-expanded,
.service-charge-landing.is-charge-flow {
  padding-top: 1rem;
}

.service-charge-landing.is-charge-expanded #charge-list-stage,
.service-charge-landing.is-charge-flow #charge-list-stage {
  margin-top: 0 !important;
}

.service-charge-landing.is-charge-expanded .charge-list-shell {
  padding-top: 0;
}

.service-charge-landing.is-charge-list .charge-hero {
  padding-top: 0.75rem;
  padding-bottom: 0.25rem;
}

.service-charge-landing.is-charge-list .charge-page-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.charge-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.charge-type-card {
  position: relative;
  min-height: 23.333rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-top: none;
  border-bottom-width: 0.333rem;
  border-radius: 1.7rem;
  background: #ffffff;
  box-shadow: 0 0.667rem 1.867rem rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  color: inherit;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    opacity 0.28s ease;
  cursor: pointer;
}

.charge-type-card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 1.2rem 2.933rem rgba(15, 23, 42, 0.08);
}

.charge-type-card.selected {
  border-color: #0d6efd;
  box-shadow:
    0 0 0 0.067rem rgba(13, 110, 253, 0.07),
    0 1.333rem 3.067rem rgba(13, 110, 253, 0.08);
  transform: translateY(-0.267rem);
}

.charge-type-card[data-charge-type="TAXA"] {
  border-bottom-color: rgba(13, 110, 253, 0.85);
}
.charge-type-card[data-charge-type="TARIFA"] {
  border-bottom-color: rgba(25, 135, 84, 0.85);
}
.charge-type-card[data-charge-type="IMPOSTO"] {
  border-bottom-color: rgba(253, 126, 20, 0.88);
}

.charge-type-icon {
  width: 8.8rem;
  height: 8.8rem;
  border-radius: 1.7rem;
  display: grid;
  place-items: center;
  font-size: 3.6rem;
}

.charge-type-card[data-charge-type="TAXA"] .charge-type-icon {
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.06);
}
.charge-type-card[data-charge-type="TARIFA"] .charge-type-icon {
  color: #198754;
  background: rgba(25, 135, 84, 0.06);
}
.charge-type-card[data-charge-type="IMPOSTO"] .charge-type-icon {
  color: #fd7e14;
  background: rgba(253, 126, 20, 0.06);
}

.charge-type-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
}

.charge-type-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
}

.charge-type-line {
  width: 2.267rem;
  height: 0.2rem;
  border-radius: 999px;
  display: block;
  margin: 0.15rem auto 0.1rem;
}

.charge-type-card[data-charge-type="TAXA"] .charge-type-line {
  background: rgba(13, 110, 253, 0.95);
}
.charge-type-card[data-charge-type="TARIFA"] .charge-type-line {
  background: rgba(25, 135, 84, 0.95);
}
.charge-type-card[data-charge-type="IMPOSTO"] .charge-type-line {
  background: rgba(253, 126, 20, 0.95);
}

#charge-list-stage {
  max-width: 98.667rem;
  margin: 0 auto;
  transition:
    opacity 0.32s ease,
    transform 0.32s ease;
}

#charge-list-stage:has(.charge-progress-layout) {
  max-width: 72rem;
}

.charge-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  transition: grid-template-columns 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.charge-list-grid.has-expanded {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 1.25rem;
  align-items: start;
}

.charge-list-grid.has-expanded .charge-entry-card.is-away {
  display: none;
}

.charge-list-grid.has-expanded .charge-entry-card.is-expanded-focus {
  grid-column: 2;
  width: 100%;
  max-width: none;
  margin: 0;
}

.charge-expand-hint {
  grid-column: 1;
  padding: 1.25rem 1.1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(13, 110, 253, 0.25);
  background: linear-gradient(160deg, rgba(13, 110, 253, 0.06) 0%, #fff 55%);
  color: #334155;
  animation: chargeFadeIn 0.35s ease;
}

.charge-expand-hint-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.charge-expand-hint-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.charge-expand-hint-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0d6efd;
  margin-bottom: 0.85rem;
  display: block;
}

.charge-expand-hint-text {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 0.75rem;
}

.charge-expand-hint-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.charge-expand-hint-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #475569;
}

.charge-expand-hint-steps li i {
  color: #0d6efd;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.charge-entry-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.05rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 0.55rem 1.3rem rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    max-height 0.4s ease;
}

.charge-entry-card--clickable {
  cursor: pointer;
}

.charge-entry-card--clickable:hover,
.charge-entry-card--clickable:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0.85rem 1.75rem rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 23, 42, 0.14);
  outline: none;
}

.charge-entry-card--disabled {
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

.charge-entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.charge-entry-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charge-accent, #0d6efd);
}

.charge-entry-arrow {
  color: var(--charge-accent, #0d6efd);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.charge-entry-card.is-away {
  opacity: 0;
  transform: scale(0.96) translateY(0.5rem);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.charge-entry-card.is-expanded-focus {
  transform: translateX(0.5rem);
  box-shadow: 0 1.2rem 2.4rem rgba(15, 23, 42, 0.12);
  z-index: 2;
}

.charge-entry-card .card-body {
  padding: 1rem 1rem 0.9rem;
  gap: 0.65rem;
  border-left: 0.28rem solid var(--charge-accent, #0d6efd);
  display: flex;
  flex-direction: column;
}

.charge-entry-header {
  cursor: pointer;
  border-radius: 0.65rem;
  margin: -0.35rem -0.35rem 0;
  padding: 0.35rem;
  transition: background-color 0.2s ease;
}

.charge-entry-header:hover,
.charge-entry-header:focus-visible {
  background: var(--charge-accent-soft, rgba(13, 110, 253, 0.06));
  outline: none;
}

.charge-entry-header .charge-header-chevron {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--charge-accent, #0d6efd);
}

.charge-entry-card.is-expanded-focus .charge-header-chevron {
  transform: rotate(180deg);
}

.charge-entry-config {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    padding 0.35s ease;
}

.charge-entry-card.is-expanded-focus .charge-entry-config {
  max-height: 120rem;
  opacity: 1;
  padding-top: 0.5rem;
}

.charge-config-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.85rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.charge-config-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.charge-config-field.is-full {
  grid-column: 1 / -1;
}

.charge-config-field-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.charge-config-field-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  word-break: break-word;
}

.charge-modifiers-section {
  margin-top: 1.1rem;
}

.charge-modifiers-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
}

.charge-modifiers-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.charge-modifiers-sub {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
}

.charge-uf-rate-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.28rem 0.55rem;
  border-radius: 0.35rem;
  white-space: nowrap;
}

/* Parâmetros — medida + valor base na mesma faixa */
.charge-modifiers-section + .charge-params-panel {
  margin-top: 1.35rem;
}

.charge-params-panel {
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  margin-bottom: 0.25rem;
}

.charge-params-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.charge-params-panel-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
}

.charge-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.35;
}

.charge-lock-badge i {
  color: #94a3b8;
  font-size: 0.7rem;
}

.charge-params-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: start;
}

.charge-params-grid--with-max {
  grid-template-columns: minmax(0, 1fr) auto minmax(10rem, 12rem);
}

.charge-param-cell--base {
  width: max-content;
  max-width: 14rem;
}

.charge-param-cell--base .charge-param-input-wrap.charge-unit-input-wrap {
  width: 14rem;
  max-width: 100%;
}

.charge-param-cell--base .charge-unit-input {
  min-width: 5rem;
  flex: 1 1 auto;
}

.charge-param-cell {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.charge-param-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0;
}

.charge-param-input,
.charge-param-input-wrap .charge-unit-input {
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 0.55rem;
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  padding: 0.5rem 0.65rem;
}

.charge-param-input:focus,
.charge-param-input-wrap:focus-within {
  border-color: var(--charge-accent, #0d6efd);
  box-shadow: 0 0 0 0.2rem var(--charge-accent-soft, rgba(13, 110, 253, 0.12));
}

.charge-param-hint {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.35;
}

.charge-param-input-wrap.charge-unit-input-wrap {
  padding: 0.45rem 0.6rem;
  border-radius: 0.55rem;
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  background: #fff;
}

.charge-param-input-wrap.charge-unit-input-wrap.is-locked {
  background: #f1f5f9;
}

/* Subitens — área rolável (muitas faixas TLFF) */
.charge-subitem-scroll {
  max-height: min(22rem, 48vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.15rem 0.35rem 0.15rem 0;
  margin-right: -0.2rem;
  scrollbar-gutter: stable;
  border-radius: 0.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 250, 252, 0.65);
}

.charge-subitem-scroll::-webkit-scrollbar {
  width: 7px;
}

.charge-subitem-scroll::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.35);
  border-radius: 4px;
}

.charge-subitem-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.55);
}

.charge-subitem-scroll .charge-subitem-grid {
  padding: 0.5rem 0.35rem 0.35rem 0.5rem;
}

.charge-subitem-scroll .charge-subitem-hint {
  margin: 0 0.5rem 0.5rem;
}

/* Subitens — cards */
.charge-subitem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.65rem;
}

.charge-subitem-empty {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.charge-subitem-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  min-height: 5.5rem;
  padding: 0.75rem 0.85rem 0.7rem;
  text-align: left;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  color: #0f172a;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.charge-subitem-card:hover {
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.charge-subitem-card.is-selected {
  border-color: var(--charge-accent, #0d6efd);
  background: linear-gradient(
    165deg,
    var(--charge-accent-soft, rgba(13, 110, 253, 0.08)) 0%,
    #fff 100%
  );
  box-shadow: 0 4px 16px var(--charge-accent-soft-strong, rgba(13, 110, 253, 0.18));
}

.charge-subitem-card.is-suggested {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.charge-subitem-card-check {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: transparent;
  font-size: 0.85rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.charge-subitem-card.is-selected .charge-subitem-card-check {
  background: var(--charge-accent, #0d6efd);
  border-color: var(--charge-accent, #0d6efd);
  color: #fff;
}

.charge-subitem-card-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: #3b82f6;
  background: #eff6ff;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
}

.charge-subitem-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  padding-right: 1.5rem;
}

.charge-subitem-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: auto;
}

.charge-subitem-pill {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 0.3rem;
}

.charge-subitem-pill--uf {
  background: #dbeafe;
  color: #1d4ed8;
}

.charge-subitem-pill--range {
  background: #f1f5f9;
  color: #475569;
}

.charge-subitem-pill--money {
  background: #ecfdf5;
  color: #047857;
}

.charge-subitem-card.is-selected .charge-subitem-pill--uf {
  background: rgba(255, 255, 255, 0.9);
}

.charge-subitem-card.is-selected .charge-subitem-pill--range {
  background: rgba(255, 255, 255, 0.65);
}

.charge-subitem-card.is-selected .charge-subitem-pill--money {
  background: rgba(255, 255, 255, 0.85);
  color: #065f46;
}

.charge-subitem-hint {
  margin-top: 0.65rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.8rem;
  color: #b45309;
  background: #fffbeb;
  border-radius: 0.45rem;
  border: 1px solid #fde68a;
}

.charge-subitem-hint.d-none {
  display: none !important;
}

.charge-hierarchy-trail {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.charge-hierarchy-back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: none;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.charge-hierarchy-back:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.charge-hierarchy-path {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

.charge-hierarchy-step {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin: 0 0 0.65rem;
}

.charge-hierarchy-resolved {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), #fff);
  border: 1px solid rgba(13, 148, 136, 0.2);
  margin-top: 0.5rem;
}

.charge-hierarchy-resolved.is-active {
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
}

.charge-hierarchy-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: min(16rem, 40vh);
  overflow-y: auto;
}

.charge-hierarchy-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.charge-hierarchy-row:hover {
  border-color: rgba(13, 110, 253, 0.3);
  background: #f8fafc;
}

.charge-hierarchy-row.is-selected {
  border-color: var(--charge-accent, #0d6efd);
  background: var(--charge-accent-soft, rgba(13, 110, 253, 0.08));
}

.charge-hierarchy-row.is-suggested {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.charge-interval-faixas {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.charge-interval-faixas-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 0.5rem;
}

.charge-interval-faixas .charge-hierarchy-list {
  max-height: min(20rem, 50vh);
}

.charge-hierarchy-row-code {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  min-width: 2rem;
}

.charge-hierarchy-row-label {
  font-size: 0.82rem;
  color: #0f172a;
  line-height: 1.3;
}

.charge-hierarchy-row-meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0d9488;
  white-space: nowrap;
}

.charge-hierarchy-row-arrow {
  font-size: 0.85rem;
  color: #94a3b8;
}

.charge-modifiers-section--slim .charge-modifiers-head {
  margin-bottom: 0.5rem;
}

.charge-modifiers-section--slim .charge-modifiers-title {
  font-size: 0.85rem;
}

.charge-entry-summary--compact {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.charge-hierarchy-back {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 8px;
  justify-content: center;
}

/* legado — chips antigos (fallback) */
.charge-modifier-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.charge-modifier-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.charge-modifier-chip:hover {
  border-color: var(--charge-accent, #0d6efd);
  transform: translateY(-1px);
}

.charge-modifier-chip.is-selected {
  background: var(--charge-accent, #0d6efd);
  border-color: var(--charge-accent, #0d6efd);
  color: #fff;
  box-shadow: 0 0.35rem 0.9rem
    var(--charge-accent-soft-strong, rgba(13, 110, 253, 0.2));
}

.charge-modifier-chip-meta {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
}

.charge-modifier-panel {
  margin-top: 0.65rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(15, 23, 42, 0.12);
  background: #fff;
  display: none;
}

.charge-modifier-panel.is-visible {
  display: block;
  animation: chargeFadeIn 0.28s ease;
}

.charge-modifier-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.65rem;
}

.charge-modifier-detail-card {
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.charge-modifier-detail-card strong {
  display: block;
  font-size: 0.86rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.charge-modifier-detail-card span {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
}

.charge-config-emission {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.charge-config-emission .form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.charge-proceed-btn {
  min-width: 10rem;
  padding: 0.55rem 1.5rem;
  font-weight: 600;
  border-radius: 0.65rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.charge-proceed-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 0.5rem 1.2rem rgba(13, 110, 253, 0.25);
}

.charge-entry-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.65rem;
  padding: 0.65rem 0.7rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.charge-summary-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.charge-summary-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

.charge-summary-cell.is-highlight .charge-summary-value {
  color: var(--charge-accent, #0d6efd);
}

/* Money inputs (step 1) */
.charge-money-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.charge-money-pair--single {
  grid-template-columns: 1fr;
}

.charge-money-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.charge-money-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
}

.charge-money-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 0.15rem 0.5rem rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.charge-money-input-wrap:focus-within {
  border-color: var(--charge-accent, #0d6efd);
  box-shadow: 0 0 0 0.2rem var(--charge-accent-soft, rgba(13, 110, 253, 0.12));
}

.charge-money-prefix {
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
}

.charge-money-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  padding: 0;
}

.charge-money-input::placeholder {
  color: #cbd5e1;
  font-weight: 500;
}

.charge-money-input-wrap.is-locked {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.charge-money-input--locked {
  cursor: not-allowed;
  color: #475569;
}

.charge-unit-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.charge-unit-input {
  border: none;
  flex: 1;
  min-width: 0;
  font-weight: 700;
  outline: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.charge-unit-suffix {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.charge-total-display {
  color: var(--charge-accent, #0d6efd) !important;
  font-size: 1.05rem !important;
}

/* Progress layout — rail + active panel */
.charge-progress-layout {
  display: grid;
  grid-template-columns: 17.5rem minmax(0, 1fr);
  gap: 1.25rem;
  max-width: 72rem;
  width: 100%;
  margin: 0 auto;
  min-height: 24rem;
  align-items: start;
}

.charge-progress-rail {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 17.5rem;
  min-width: 17.5rem;
  max-width: 17.5rem;
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.06);
}

.charge-progress-rail-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.charge-progress-rail-header-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0d6efd 0%, #6ea8fe 100%);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 0.35rem 0.85rem rgba(13, 110, 253, 0.25);
}

.charge-progress-rail-header-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0f172a;
}

.charge-progress-rail-header-sub {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}

.charge-progress-rail-steps {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  padding-left: 0.15rem;
}

.charge-progress-rail-steps::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 1.1rem;
  bottom: 1.1rem;
  width: 2px;
  background: linear-gradient(180deg, #0d6efd 0%, #cbd5e1 55%, #e2e8f0 100%);
  border-radius: 999px;
  z-index: 0;
}

.charge-rail-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  width: 100%;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 0.2rem 0.65rem rgba(15, 23, 42, 0.04);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.charge-rail-step:hover {
  border-color: rgba(13, 110, 253, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 0.45rem 1rem rgba(13, 110, 253, 0.1);
}

.charge-rail-step.is-done:not(.is-active) {
  background: linear-gradient(180deg, #fff 0%, #f8fffe 100%);
  border-color: rgba(25, 135, 84, 0.2);
}

.charge-rail-step.is-active {
  border-color: #0d6efd;
  background: linear-gradient(180deg, #fff 0%, rgba(13, 110, 253, 0.04) 100%);
  box-shadow:
    0 0 0 0.12rem rgba(13, 110, 253, 0.15),
    0 0.55rem 1.25rem rgba(13, 110, 253, 0.12);
}

.charge-rail-step.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 0.22rem;
  border-radius: 0 0.2rem 0.2rem 0;
  background: #0d6efd;
}

.charge-rail-step-badge {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: #f1f5f9;
  color: #64748b;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 0.15rem 0.4rem rgba(15, 23, 42, 0.08);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.charge-rail-step.is-active .charge-rail-step-badge {
  background: linear-gradient(135deg, #0d6efd 0%, #4dabf7 100%);
  color: #fff;
  transform: scale(1.06);
}

.charge-rail-step.is-done:not(.is-active) .charge-rail-step-badge {
  background: linear-gradient(135deg, #198754 0%, #51cf66 100%);
  color: #fff;
}

.charge-rail-step.is-active.is-done .charge-rail-step-badge {
  background: linear-gradient(135deg, #0d6efd 0%, #4dabf7 100%);
  color: #fff;
}

.charge-rail-step-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.charge-rail-step-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.charge-rail-step.is-active .charge-rail-step-label,
.charge-rail-step.is-done .charge-rail-step-label {
  color: #475569;
}

.charge-rail-step-content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  width: 100%;
  text-align: left;
}

.charge-rail-step-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  word-break: break-word;
}

.charge-rail-step-meta {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.3;
}

.charge-rail-step-meta.highlight {
  color: #0d6efd;
  font-weight: 600;
}

.charge-progress-main {
  min-width: 0;
  width: 100%;
}

.charge-progress-panel {
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.15rem;
  box-shadow: 0 0.65rem 1.75rem rgba(15, 23, 42, 0.08);
  overflow: hidden;
  animation: chargeSlideIn 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.charge-progress-panel::before {
  content: "";
  display: block;
  height: 0.28rem;
  background: linear-gradient(
    90deg,
    #0d6efd 0%,
    #6ea8fe 50%,
    rgba(13, 110, 253, 0.2) 100%
  );
}

.charge-progress-panel--boleto::before {
  display: none;
}

.charge-progress-panel--boleto {
  border-top: none;
  box-shadow: 0 0.65rem 1.75rem rgba(15, 23, 42, 0.08);
}

.charge-progress-panel-head {
  padding: 1.25rem 1.5rem 0.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.charge-progress-panel-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.charge-progress-panel-body {
  padding: 1.25rem 1.5rem;
}

.charge-progress-panel-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.charge-step1-panel .charge-entry-config {
  max-height: none;
  opacity: 1;
  padding-top: 0;
}

/* Wizard flow (legacy / shared) */
.charge-flow-stage {
  max-width: 72rem;
  margin: 0 auto;
  opacity: 0;
  transform: translateX(2rem);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.charge-flow-stage.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.charge-flow-stage.is-exiting {
  opacity: 0;
  transform: translateX(-2rem);
}

.charge-flow-shell {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.15rem;
  box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.charge-flow-header {
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.charge-flow-back {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  border: none;
  background: none;
  padding: 0;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.charge-flow-back:hover {
  color: #0d6efd;
}

.charge-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.charge-stepper-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 0;
}

.charge-stepper-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: #e2e8f0;
  color: #64748b;
  flex-shrink: 0;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.charge-stepper-item.is-done .charge-stepper-dot {
  background: #198754;
  color: #fff;
}

.charge-stepper-item.is-active .charge-stepper-dot {
  background: #0d6efd;
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

.charge-stepper-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.charge-stepper-item.is-active .charge-stepper-label,
.charge-stepper-item.is-done .charge-stepper-label {
  color: #0f172a;
}

.charge-stepper-line {
  flex: 1 1 1.5rem;
  height: 2px;
  background: #e2e8f0;
  margin: 0 0.35rem;
  min-width: 0.75rem;
  transition: background-color 0.3s ease;
}

.charge-stepper-line.is-done {
  background: #198754;
}

.charge-flow-viewport {
  overflow: hidden;
  position: relative;
}

.charge-flow-track {
  display: flex;
  width: 300%;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.charge-flow-panel {
  flex: 0 0 33.3333%;
  width: 33.3333%;
  padding: 1.5rem;
  min-height: 18rem;
}

.charge-flow-panel-inner {
  animation: chargeSlideIn 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.charge-flow-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.charge-flow-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.charge-flow-loading .spinner-border {
  width: 1.1rem;
  height: 1.1rem;
}

.charge-review-card {
  border-radius: 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.04);
}

.charge-boleto-body {
  padding: 0 !important;
}

.charge-boleto-preview {
  overflow: hidden;
  background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
  padding: 1rem 1rem 0.5rem;
}

.charge-boleto-preview iframe {
  width: 100%;
  max-width: 100%;
  height: min(44rem, 72vh);
  border: none;
  border-radius: 0.75rem;
  display: block;
  background: #fff;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.08);
}

@media (max-width: 768px) {
  .charge-boleto-preview {
    padding: 0.65rem 0.65rem 0.35rem;
  }

  .charge-boleto-preview iframe {
    height: min(36rem, 62vh);
    border-radius: 0.55rem;
  }
}

.charge-boleto-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.charge-boleto-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 0.55rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.charge-boleto-nosso {
  margin: 0;
  padding: 0.75rem 1.25rem 1.1rem;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
  background: #f8fafc;
  border-top: 1px dashed rgba(15, 23, 42, 0.1);
}

.charge-boleto-nosso i {
  color: #0d6efd;
  margin-right: 0.2rem;
}

.charge-copy-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: #0f172a;
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.charge-copy-toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

.section-heading {
  position: relative;
  padding-left: 1rem;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 0.267rem;
  height: calc(100% - 0.4rem);
  border-radius: 999px;
  background: linear-gradient(180deg, #0d6efd 0%, #6ea8fe 100%);
}

.section-heading-kicker {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 0.25rem;
}

.section-heading-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
}

.charge-entry-top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.charge-entry-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: var(--charge-accent-soft, rgba(13, 110, 253, 0.08));
  color: var(--charge-accent, #0d6efd);
  font-size: 1.2rem;
  flex: 0 0 auto;
}

.charge-entry-title {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

.charge-entry-sigla {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--charge-accent, #0d6efd);
}

.charge-nature-badge {
  background: var(--charge-accent-soft-strong, rgba(13, 110, 253, 0.16));
  color: var(--charge-accent, #0d6efd);
  font-size: 0.72rem;
  font-weight: 600;
}

.charge-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.76rem;
  color: #64748b;
}

.charge-meta-item i {
  color: var(--charge-accent, #0d6efd);
}

@keyframes chargeFadeIn {
  from {
    opacity: 0;
    transform: translateY(0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chargeSlideIn {
  from {
    opacity: 0;
    transform: translateX(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.charge-list-stage.is-sliding-out {
  opacity: 0;
  transform: translateX(-3rem);
  pointer-events: none;
}

@media (max-width: 1199.98px) {
  .charge-type-grid,
  .charge-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .charge-list-grid.has-expanded {
    grid-template-columns: 1fr;
  }

  .charge-list-grid.has-expanded {
    grid-template-columns: 1fr;
  }

  .charge-list-grid.has-expanded .charge-entry-card.is-expanded-focus {
    grid-column: 1;
    width: 100%;
    max-width: 100%;
  }

  .charge-entry-card.is-expanded-focus {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .charge-type-grid,
  .charge-list-grid {
    grid-template-columns: 1fr;
  }

  .charge-money-pair,
  .charge-params-grid,
  .charge-params-grid--with-max {
    grid-template-columns: 1fr;
  }

  .charge-params-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .charge-progress-layout {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .charge-progress-rail {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .charge-progress-rail-steps {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .charge-progress-rail-steps::before {
    display: none;
  }

  .charge-rail-step {
    flex: 0 0 auto;
    min-width: 11rem;
    width: 11rem;
  }

  .charge-rail-step.is-active::before {
    display: none;
  }

  .charge-progress-panel-body,
  .charge-progress-panel-head {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .charge-stepper-label {
    display: none;
  }

  .charge-flow-panel {
    padding: 1rem;
  }
}

/* Autocomplete de contribuinte (dados do contribuinte) */
.charge-payer-form .form-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #64748b;
  text-transform: uppercase;
}

.charge-payer-doc-wrap {
  position: relative;
}

.charge-payer-doc-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  font-size: 0.95rem;
}

.charge-payer-doc-input {
  padding-left: 2.35rem;
}

.charge-payer-doc-input:focus {
  border-color: var(--charge-accent, #0d6efd);
  box-shadow: 0 0 0 0.2rem var(--charge-accent-soft, rgba(13, 110, 253, 0.14));
}

.charge-payer-hint {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.charge-payer-suggestions {
  margin-top: 0.4rem;
}

.charge-payer-suggestions[hidden] {
  display: none !important;
}

.charge-payer-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.charge-payer-badge {
  border: 0;
  border-radius: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff !important;
  cursor: pointer;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.charge-payer-badge:hover,
.charge-payer-badge:focus-visible {
  filter: brightness(0.95);
  outline: none;
}

@media (max-width: 768px) {
  .charge-payer-badge {
    white-space: normal;
    text-align: left;
  }
}
