/* Keep labels, inputs and amount readings on separate shared rows. */
body[data-tool="split"] #people .person{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) 44px;column-gap:10px;row-gap:0;align-items:start}
body[data-tool="split"] #people .person>div{display:contents}
body[data-tool="split"] #people .person>div>label{grid-row:1;min-width:0;margin:0 0 7px;overflow-wrap:anywhere}
body[data-tool="split"] #people .person>div:first-child>label{grid-column:1}
body[data-tool="split"] #people .person>div:nth-child(2)>label{grid-column:2}
body[data-tool="split"] #people .person>div:first-child>input{grid-column:1;grid-row:2;align-self:stretch;min-width:0;margin:0}
body[data-tool="split"] #people .person>div:nth-child(2)>input,body[data-tool="split"] #people .person>div:nth-child(2)>.money-edit-wrap{grid-column:2;grid-row:2;align-self:stretch;min-width:0;margin:0}
body[data-tool="split"] #people .person>div:nth-child(2)>.money-reading{grid-column:2;grid-row:3;min-width:0;overflow-wrap:anywhere}
body[data-tool="split"] #people .person>.remove{grid-column:3;grid-row:2;align-self:stretch;min-width:44px;min-height:44px;margin:0;padding:8px 4px}
@media(max-width:480px){body[data-tool="split"] #people .person{column-gap:7px}}
