/* Halaman Tagihan & Pengingat: baris tagihan. */

.brow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "ic m amt" "bd bd ops";
  gap: 10px 14px;
  align-items: center;
  padding: 16px 4px;
}

.brow>.ci {
  grid-area: ic;
}

.brow>.m {
  grid-area: m;
  min-width: 0;
}

.brow>.badge {
  grid-area: bd;
  justify-self: start;
}

.brow>.amt {
  grid-area: amt;
  font-weight: 800;
  font-size: 15px;
  text-align: right;
  white-space: nowrap;
}

.brow>.ops {
  grid-area: ops;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.brow .m b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
}

.brow .m small {
  color: var(--mu);
  font-size: 12px;
}

.blist>*+* {
  border-top: 1px solid var(--bd);
}

@media (min-width:720px) {
  .brow {
    grid-template-columns: auto 1fr 168px 150px auto;
    grid-template-areas: "ic m bd amt ops";
    padding: 14px 6px;
  }
  .brow>.badge {
    justify-self: start;
  }
}

@media (max-width:719px) {
  .brow {
    grid-template-columns: auto minmax(0,1fr) auto;
    grid-template-areas: "ic m amt" "ic bd bd" "ic ops ops";
    gap: 6px 12px;
    align-items: start;
    padding: 14px 2px;
  }
  .brow>.ci {
    align-self: start;
  }
  .brow>.amt {
    font-size: 14px;
  }
  .brow>.badge {
    justify-self: start;
  }
  .brow>.ops {
    justify-content: flex-start;
    margin-top: 4px;
  }
  .brow>.ops .btn {
    flex: 1;
    max-width: 190px;
  }
}
