/* Shared reception and management expense workflow. */
.cnb-app .cnb-center-expenses{min-width:0}
.cnb-app .cnb-expense-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:14px 18px;padding:21px}
.cnb-app .cnb-expense-filter-actions{align-self:end;flex-wrap:wrap}
.cnb-app .cnb-expense-new{padding:22px;border-block-start:3px solid var(--cnb-gold,#c99c3b);scroll-margin-top:25px}
.cnb-app .cnb-expense-new>.cnb-section-title,.cnb-app .cnb-expense-list>.cnb-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.cnb-app .cnb-expense-new h3,.cnb-app .cnb-expense-list h3{font-size:17px;margin:0 0 5px}
.cnb-app .cnb-expense-new .cnb-section-title p{font-size:12px;color:var(--cnb-muted,#65798b);margin:0}
.cnb-app .cnb-expense-new .cnb-form{gap:16px 20px}
.cnb-app .cnb-expense-new .cnb-form textarea{min-height:90px}
.cnb-app .cnb-expense-approve-choice input{width:auto!important;min-height:0!important;accent-color:#086ba4;margin-inline-end:7px}
.cnb-app .cnb-expense-approve-choice{padding:12px 14px;border-radius:9px;background:#f1f7fb;border:1px solid #d9e7ef;font-size:12px}
.cnb-app .cnb-expense-list{padding:21px}
.cnb-app .cnb-expense-list>.cnb-section-title>span{font-size:11px;color:var(--cnb-muted,#65798b)}
.cnb-app .cnb-expense-list table{min-width:870px;width:100%;font-size:12px}
.cnb-app .cnb-expense-list thead th{font-size:11px;padding:13px 11px;white-space:nowrap;text-align:right}
.cnb-app .cnb-expense-list tbody td{padding:13px 11px;vertical-align:top;font-size:12px;line-height:1.85}
.cnb-app .cnb-expense-list tbody td small{display:block;color:var(--cnb-muted,#64798d);font-size:10px;margin-top:4px}
.cnb-app .cnb-expense-list tbody td strong{font-weight:650}
.cnb-app .cnb-expense-money{font-weight:700;white-space:nowrap}
.cnb-app .cnb-expense-description{min-width:170px;max-width:320px;overflow-wrap:anywhere}
.cnb-app .cnb-expense-description p{margin:0;white-space:pre-line}
.cnb-app .cnb-expense-status{display:inline-flex;align-items:center;justify-content:center;padding:3px 9px;border-radius:20px;white-space:nowrap;font-size:10px;line-height:1.9;font-weight:600}
.cnb-app .cnb-expense-status.is-requested{background:#fff3d9;color:#8b5b13;border:1px solid #efd8a3}
.cnb-app .cnb-expense-status.is-approved{background:#e8f5ed;color:#216b44;border:1px solid #c6e6d1}
.cnb-app .cnb-expense-status.is-rejected{background:#fae9e9;color:#9a3d3d;border:1px solid #edc6c6}
.cnb-app .cnb-expense-decisions{gap:6px;flex-wrap:nowrap}
.cnb-app .cnb-expense-decisions .cnb-btn{min-height:33px;font-size:11px;padding:5px 10px;white-space:nowrap}
.cnb-app .cnb-expense-decisions .cnb-expense-reject{color:#974047!important;border-color:#e6b8bd!important;background:#fff!important}
.cnb-app .cnb-expense-form-error{font-size:12px;color:#a1353c;line-height:1.9;white-space:pre-line}
.cnb-app .cnb-expense-form-error:empty{display:none}
.cnb-app .cnb-expense-review-summary{padding:17px;border-radius:12px;border:1px solid #d7e4ed;background:#f1f7fb;margin:0 0 18px}
.cnb-app .cnb-expense-review-summary>strong{font-size:24px}
.cnb-app .cnb-expense-review-summary>p{font-size:13px;white-space:pre-line;overflow-wrap:anywhere;margin:10px 0}
.cnb-app .cnb-expense-review-summary>small{font-size:11px;color:var(--cnb-muted,#64798d)}
@media(max-width:1000px){.cnb-app .cnb-expense-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cnb-app .cnb-expense-filters{grid-template-columns:minmax(0,1fr);padding:16px}.cnb-app .cnb-expense-new,.cnb-app .cnb-expense-list{padding:16px}.cnb-app .cnb-expense-new>.cnb-section-title{gap:10px}.cnb-app .cnb-expense-new>.cnb-section-title>.cnb-btn{flex-shrink:0}.cnb-app .cnb-expense-new .cnb-form{grid-template-columns:minmax(0,1fr)}.cnb-app .cnb-expense-filter-actions>.cnb-btn{flex:1}}

.cnb-app .cnb-expense-manual-note{padding:12px 14px;border-radius:9px;background:#fff8e9;color:#795a23;font-size:12px;line-height:1.9;margin:0 0 18px}

/* Reception enters only an amount and description; the server dates the expense. */
.cnb-app .cnb-expense-heading-actions{align-items:center;flex-wrap:wrap}
.cnb-app .cnb-expense-scope{min-width:190px;max-width:100%}
.cnb-app .cnb-expense-scope .cnb-field{margin:0}
.cnb-app .cnb-expense-scope .cnb-field>span{font-size:11px}
.cnb-app .cnb-expense-scope>small{display:block;margin-top:5px;font-size:11px;color:var(--cnb-muted,#65798b)}
.cnb-app .cnb-center-expenses-reception{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.cnb-app .cnb-center-expenses-reception>.cnb-panel{margin:0}
.cnb-app .cnb-expense-simple>.cnb-expense-scope{width:min(100%,360px);margin:0 0 20px}
.cnb-app .cnb-expense-simple .cnb-expense-submit{justify-content:flex-start}
.cnb-app .cnb-expense-simple .cnb-expense-submit>.cnb-btn{min-width:150px}
.cnb-app .cnb-expense-simple .cnb-form{grid-template-columns:minmax(0,1fr)}
.cnb-app .cnb-expense-simple .cnb-form>.cnb-field,.cnb-app .cnb-expense-simple .cnb-form>.cnb-wide{min-width:0}
.cnb-app .cnb-expense-simple .cnb-form>.cnb-field>input{min-height:48px}
.cnb-app .cnb-expense-simple .cnb-form>.cnb-field>textarea{min-height:110px}
.cnb-app .cnb-expense-history{padding:21px}
.cnb-app .cnb-expense-history>.cnb-section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:4px}
.cnb-app .cnb-expense-history h3{font-size:16px;margin:0}
.cnb-app .cnb-expense-history>.cnb-section-title>span{font-size:11px;color:var(--cnb-muted,#65798b);white-space:nowrap}
.cnb-app .cnb-expense-history-items{list-style:none;margin:0;padding:0}
.cnb-app .cnb-expense-history-items>li{min-width:0;padding:16px 0;border-bottom:1px solid var(--cnb-line,#dce6ed)}
.cnb-app .cnb-expense-history-items>li:last-child{border-bottom:0;padding-bottom:0}
.cnb-app .cnb-expense-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.cnb-app .cnb-expense-history-heading>.cnb-expense-money{font-size:15px;white-space:normal;overflow-wrap:anywhere}
.cnb-app .cnb-expense-history-note{font-size:13px;line-height:1.9;margin:8px 0 4px;white-space:pre-line;overflow-wrap:anywhere}
.cnb-app .cnb-expense-history-meta{display:flex;align-items:center;gap:8px 20px;flex-wrap:wrap;font-size:11px;color:var(--cnb-muted,#65798b);line-height:1.8}
.cnb-app .cnb-expense-history-review{font-size:11px;line-height:1.9;margin:9px 0 0;padding:8px 10px;background:var(--cnb-bg,#f3f7fa);border-radius:7px;white-space:pre-line;overflow-wrap:anywhere;color:var(--cnb-muted,#65798b)}
.cnb-app .cnb-expense-history .cnb-pagination{margin-top:18px;flex-wrap:wrap}
@media(max-width:600px){.cnb-app .cnb-expense-simple .cnb-form{grid-template-columns:minmax(0,1fr)}.cnb-app .cnb-expense-history{padding:16px}.cnb-app .cnb-expense-history h3{font-size:14px}.cnb-app .cnb-expense-heading-actions{width:100%;align-items:flex-end}.cnb-app .cnb-expense-scope{flex:1;min-width:150px}.cnb-app .cnb-expense-heading-actions>.cnb-btn{flex-shrink:0}.cnb-app .cnb-expense-history-heading{gap:8px}}

@media(max-width:600px){.cnb-app .cnb-expense-simple>.cnb-expense-scope{width:100%;max-width:none}.cnb-app .cnb-expense-simple .cnb-expense-submit>.cnb-btn{width:100%;min-width:0}}
