/* Cash forms: keep labels, search, help and controls in normal flow. */
@media screen {
 body > dialog.cash-form-dialog {width:560px;max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto;padding:24px;scroll-padding:24px;}
 body > dialog.cash-form-dialog form {display:flex;flex-direction:column;gap:20px;min-width:0;}
 body > dialog.cash-form-dialog form > * {flex-shrink:0;}
 body > dialog.cash-form-dialog label {display:flex;flex-direction:column;gap:8px;height:auto;min-height:0;margin:0;line-height:1.5;min-width:0;}
 body > dialog.cash-form-dialog label > :is(input,select,textarea) {display:block;position:static;margin:0;width:100%;min-height:44px;line-height:1.5;}
 body > dialog.cash-form-dialog label > .small {display:block;margin:0;font-weight:400;line-height:1.5;}
 body > dialog.cash-form-dialog label > .small:empty {display:none;}
 body > dialog.cash-form-dialog textarea {min-height:96px;resize:vertical;}
 body > dialog.cash-form-dialog :is(p,.dialog-head,.form-actions) {margin:0;}
 body > dialog.cash-form-dialog fieldset {display:flex;flex-direction:column;gap:16px;min-width:0;}
 body > dialog.cash-form-dialog .form-actions {display:flex;flex-wrap:wrap;gap:12px;}
 body > dialog.cash-form-dialog [data-error]:empty {display:none;}
 body > dialog.cash-form-dialog :focus-visible {outline-offset:2px;}
 @media(max-width:600px){body > dialog.cash-form-dialog{padding:20px;}body > dialog.cash-form-dialog .form-actions button{flex:1 1 180px;white-space:normal;}}
}
