.treasury-page{display:grid;gap:20px;padding:4px 0 36px;color:#16243a;font-family:'Cairo',sans-serif}
.treasury-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 30px;color:#fff;background:linear-gradient(115deg,#10243e,#16416b 73%,#087b72);border-radius:20px;box-shadow:0 16px 34px rgba(16,36,62,.18)}
.treasury-eyebrow{display:block;margin-bottom:7px;color:#96ead7;font-size:.66rem;font-weight:900;letter-spacing:.12em;direction:ltr;text-align:right}
.treasury-hero h1{margin:0;font-size:1.65rem;font-weight:900;line-height:1.3}
.treasury-hero p{margin:5px 0 0;color:#dce9f5;font-size:.82rem}
.treasury-refresh{flex:none;padding:10px 15px;border:1px solid rgba(255,255,255,.35);border-radius:11px;background:rgba(255,255,255,.1);color:#fff;font-size:.76rem;font-weight:800}
.treasury-refresh:disabled{opacity:.55;cursor:not-allowed}
.treasury-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr);align-items:start;gap:18px}
.treasury-panel{min-width:0;padding:23px;background:#fff;border:1px solid #dce6ed;border-radius:18px;box-shadow:0 8px 25px rgba(16,36,62,.055)}
.treasury-panel-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:20px}
.treasury-panel-heading h2{margin:0;color:#10243e;font-size:1rem;font-weight:900}
.treasury-panel-heading span{color:#728397;font-size:.7rem;font-weight:700}
.treasury-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:20px;padding:5px;background:#f1f5f8;border-radius:12px}
.treasury-tabs button{padding:11px;border:1px solid transparent;border-radius:9px;color:#536477;background:transparent;font-size:.83rem;font-weight:900}
.treasury-tabs button.active.receipt{color:#087459;border-color:#9fd9c8;background:#e8faf4}
.treasury-tabs button.active.payment{color:#9d442f;border-color:#f1cabb;background:#fff2eb}
.treasury-tabs button:disabled{opacity:.6;cursor:not-allowed}
.treasury-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.treasury-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:#40516a;font-size:.76rem;font-weight:800}
.treasury-field span{display:block}
.treasury-field input,.treasury-field select,.treasury-field textarea{width:100%;min-height:43px;padding:9px 11px;border:1px solid #ccd8e2;border-radius:10px;color:#172b40;background:#fff;font:inherit;font-weight:700;outline:none}
.treasury-field textarea{resize:vertical}
.treasury-field input:focus,.treasury-field select:focus,.treasury-field textarea:focus{border-color:#158a85;box-shadow:0 0 0 3px rgba(21,138,133,.13)}
.treasury-field input:disabled,.treasury-field select:disabled,.treasury-field textarea:disabled{background:#f6f8fa;color:#8290a0}
.treasury-wide{grid-column:1/-1}
.treasury-shift-note,.treasury-error,.treasury-notice,.treasury-pending{margin:0 0 13px;padding:11px 13px;border-radius:10px;font-size:.75rem;font-weight:700;line-height:1.7}
.treasury-shift-note,.treasury-error{color:#9d3b2e;background:#fff2ee;border:1px solid #f3c7bb}
.treasury-notice{color:#09694f;background:#e7f8f1;border:1px solid #a6deca}
.treasury-pending{color:#765518;background:#fff7e7;border:1px solid #edd798}
.treasury-pending code{display:inline-block;direction:ltr;font-size:.66rem}
.treasury-form-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:17px;border-top:1px solid #e8edf2;color:#718197;font-size:.72rem;font-weight:800}
.treasury-submit{flex:none;padding:12px 20px;border:0;border-radius:11px;color:#fff;background:#087c72;font-size:.8rem;font-weight:900;box-shadow:0 7px 16px rgba(8,124,114,.18)}
.treasury-submit:disabled{opacity:.53;cursor:not-allowed;box-shadow:none}
.treasury-history{max-height:690px;overflow:auto}
.treasury-empty{padding:30px 8px;text-align:center;color:#7d8d9d;font-size:.79rem}
.treasury-list{display:grid;gap:10px}
.treasury-row{padding:14px 15px;border:1px solid #e2e9ef;border-radius:12px;background:#fcfdfe}
.treasury-row-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.treasury-row-top strong{color:#142c43;font-size:1rem;font-weight:900;font-variant-numeric:tabular-nums}
.treasury-badge{display:inline-flex;padding:3px 9px;border-radius:100px;font-size:.66rem;font-weight:900}
.treasury-badge.receipt{color:#087459;background:#e5f8f0}
.treasury-badge.payment{color:#a7452d;background:#fff0e9}
.treasury-row-account{margin-top:8px;color:#24445b;font-size:.75rem;font-weight:900}
.treasury-row-party{margin-top:2px;color:#65788c;font-size:.72rem}
.treasury-row-meta{display:flex;flex-wrap:wrap;gap:5px 12px;margin-top:10px;padding-top:8px;border-top:1px solid #e7edf2;color:#8392a0;font-size:.65rem;font-weight:700}
.treasury-row small{display:block;margin-top:6px;color:#6d7b88;font-size:.65rem}
@media(max-width:900px){.treasury-layout{grid-template-columns:1fr}.treasury-history{max-height:none}}
@media(max-width:600px){.treasury-page{gap:12px}.treasury-hero{align-items:flex-start;flex-direction:column;padding:21px 18px;border-radius:15px}.treasury-hero h1{font-size:1.4rem}.treasury-refresh{width:100%}.treasury-panel{padding:17px;border-radius:14px}.treasury-fields{grid-template-columns:1fr}.treasury-form-footer{align-items:stretch;flex-direction:column}.treasury-submit{width:100%}}
