/* Only the existing manual Expense form and its non-sending preview. */
.cashFlowOverlay .expensePaymentForm{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.expensePaymentForm>*{min-width:0}.expensePaymentForm>.pnlInlineFormRow{grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.expensePaymentForm #expenseCategoryWrap,.expensePaymentForm #expenseAssignTeacherWrap{grid-column:auto!important;min-width:0;grid-template-rows:20px 44px;row-gap:4px;align-content:start}
.expensePaymentForm #expenseNameWrap[hidden]{display:none!important}.expensePaymentForm #expenseSaveWrap{grid-column:1/-1}
.expensePaymentForm input:not([type=checkbox]),.expensePaymentForm select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;padding:9px 10px;font-family:inherit;font-size:14px}
.expensePaymentForm #expenseAssignTeacherWrap>.fieldLabel{display:flex;align-items:center;justify-content:space-between;gap:3px;min-height:18px;white-space:nowrap}
.expensePaymentForm #expenseCategoryWrap>.fieldLabel{display:flex;align-items:center;min-height:18px}
.expensePaymentCaption{font-size:12px}.expensePaymentNotify{display:inline-flex;align-items:center;gap:5px;font-weight:400;font-size:10px}.expensePaymentNotify[hidden]{display:none!important}.expensePaymentNotify label{display:inline-flex!important;align-items:center;gap:3px;font:inherit!important;white-space:nowrap}.expensePaymentNotify input[type=checkbox]{width:12px;height:12px;margin:0;accent-color:#176d7c}
.cashFlowSheet .expensePaymentPreviewLink{font:inherit;line-height:1.2;background:transparent!important;border:0!important;box-shadow:none;min-height:0;min-width:0;height:auto;width:auto;padding:0;color:#176d7c;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.expensePaymentPreview{box-sizing:border-box;width:min(420px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #cfdbe7;border-radius:15px;padding:20px;color:#10203d;background:#fff;font-family:Arial,sans-serif}.expensePaymentPreview::backdrop{background:#10203d66}.expensePaymentPreview h3{margin:0 0 14px;font-size:17px}.expensePaymentMessage{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.6;background:#e8f4eb;padding:16px;border-radius:10px}.expensePaymentFooter{font-size:12px;color:#64726b;margin:10px 0 16px}.expensePaymentPreview>button{border:0;border-radius:9px;padding:10px 18px;background:#176d7c;color:white;font:inherit;cursor:pointer}
@media(max-width:380px){.cashFlowOverlay .expensePaymentForm{gap:10px 8px}.expensePaymentCaption{font-size:11px}.expensePaymentNotify{gap:3px;font-size:9px}.expensePaymentNotify input[type=checkbox]{width:11px;height:11px}}
