
/* V275 — exact supplier debt date/time for desktop and mobile */
.v275-supplier-debt-row{min-width:0}
.v275-supplier-debt-meta{min-width:0}
.v275-supplier-debt-time{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:6px;
  min-width:0;
  font-size:11px;
  line-height:1.35;
  color:var(--muted-foreground);
}
.v275-supplier-debt-time>span{
  flex:0 0 auto;
  font-weight:600;
}
.v275-supplier-debt-time>strong{
  min-width:0;
  color:var(--foreground);
  font-weight:700;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.v275-supplier-debt-actions{
  flex:0 0 auto;
}
.v275-supplier-debt-amount{
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

/* desktop */
@media(min-width:1101px){
  .v275-supplier-debt-row{
    min-height:78px;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
  }
  .v275-supplier-debt-time{
    font-size:11.5px;
  }
  .v275-supplier-debt-actions{
    justify-content:flex-end;
  }
}

/* tablet/mobile */
@media(max-width:1100px){
  .v275-supplier-debt-row{
    width:100%!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:12px!important;
  }
  .v275-supplier-debt-time{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:4px 8px;
    padding-top:7px;
    border-top:1px dashed color-mix(in srgb,var(--border) 82%,transparent);
  }
  .v275-supplier-debt-time>strong{
    text-align:right;
  }
  .v275-supplier-debt-actions{
    width:100%;
    justify-content:space-between;
    gap:10px!important;
  }
}

/* narrow phones */
@media(max-width:560px){
  .v275-supplier-debt-time{
    grid-template-columns:1fr;
  }
  .v275-supplier-debt-time>strong{
    text-align:left;
    white-space:normal;
  }
  .v275-supplier-debt-actions{
    align-items:stretch!important;
    flex-direction:column;
  }
  .v275-supplier-debt-actions button{
    width:100%;
  }
  .v275-supplier-debt-amount{
    width:100%;
    text-align:left;
    font-size:13px;
  }
}
