.rem-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:16px 0}.rem-toolbar label{flex:1;min-width:180px}.rem-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.rem-item{display:flex;flex-direction:column;gap:7px;padding:14px;border:1px solid #e3d9d5;border-radius:12px;margin:10px 0}.rem-item .button{align-self:flex-start}.rem-count{display:flex;gap:8px;align-items:center}.rem-count input{width:95px}.rem-summary{white-space:pre-wrap;width:100%;min-height:250px}.bad{color:#a12b2b}#remNotice{min-height:24px}#remTotals{font-size:1.2rem} [data-panel="remittances"] input,[data-panel="remittances"] select{max-width:100%}@media(max-width:760px){.rem-grid{grid-template-columns:1fr}.rem-toolbar{align-items:stretch}.rem-toolbar label{min-width:100%}.rem-toolbar .button{flex:1}.rem-item{overflow-wrap:anywhere}}
.rem-toolbar label,#remComposer>label,.rem-grid label{display:flex;flex-direction:column;gap:7px}[data-panel="remittances"] input,[data-panel="remittances"] select,[data-panel="remittances"] textarea{font:inherit;border:1px solid #d8cbc5;border-radius:10px;padding:10px;background:#fff;color:#362c2b;min-width:0}#remComposer>label textarea{min-height:80px}.rem-count input{min-width:0}.rem-summary{box-sizing:border-box}

.rem-confirm{max-width:620px;width:calc(100% - 36px);max-height:85vh;overflow:auto;box-sizing:border-box;border:1px solid #d8cbc5;border-radius:18px;padding:24px;color:#362c2b;background:#fffaf7}.rem-confirm::backdrop{background:rgba(40,28,24,.48)}.rem-confirm li{margin:10px 0;overflow-wrap:anywhere}.rem-confirm-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}.rem-confirm button{font:inherit}.rem-confirm button:focus-visible{outline:3px solid #754f42;outline-offset:3px}
