.office-payments-workspace{padding:26px clamp(14px,2vw,28px) 42px;scroll-margin-top:82px}.office-payment-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}.office-payment-heading>div>p{margin:0 0 5px;color:#597466;font-size:10px;font-weight:850;letter-spacing:.13em}.office-payment-heading h2{margin:0;color:#203c30;font-size:clamp(23px,3vw,32px)}.office-payment-heading span{display:block;margin-top:6px;color:#687e72;font-size:13px}.office-payment-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.office-payment-metrics article{padding:15px 17px;border:1px solid #d7e5db;border-radius:15px;background:linear-gradient(150deg,#fff,#f7fbf8);box-shadow:0 5px 17px #2448370c}.office-payment-metrics small{display:block;color:#6b8375;font-size:10px;font-weight:850;letter-spacing:.1em}.office-payment-metrics strong{display:block;margin-top:7px;color:#215b40;font-size:21px;font-variant-numeric:tabular-nums}.office-payment-tools{display:flex;align-items:end;gap:12px;margin:0 0 15px}.office-payment-tools label{display:grid;flex:1;gap:5px;color:#63796c;font-size:11px;font-weight:750}.office-payment-tools input,.office-payment-tools select{min-height:40px;padding:8px 11px;border:1px solid #cfddd3;border-radius:10px;background:#fff;color:#233a2e;font:inherit}.office-person-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.office-person-card{position:relative;padding:17px;border:1px solid #cddfd2;border-top:4px solid #287b58;border-radius:17px;background:linear-gradient(155deg,#fff 18%,#f7fbf8);box-shadow:0 10px 28px #203b2d0d;transition:transform .18s ease,box-shadow .18s ease}.office-person-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px #203b2d16}.office-person-top{display:flex;align-items:center;gap:11px}.office-person-avatar{display:grid;flex:none;width:43px;height:43px;place-items:center;border:1px solid #cde4d4;border-radius:13px;background:#e8f4ec;color:#216344;font-size:13px;font-weight:900}.office-person-title{min-width:0;flex:1}.office-person-title small{color:#6e8979;font-size:9px;font-weight:850;letter-spacing:.11em}.office-person-title h3{margin:3px 0 0;overflow:hidden;color:#203d2e;font-size:19px;text-overflow:ellipsis}.office-person-tag{padding:6px 9px;border-radius:999px;background:#eaf5ee;color:#317351;font-size:10px;font-weight:800}.office-person-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.office-person-stats>div{padding:11px 12px;border:1px solid #dfebe2;border-radius:11px;background:#fff}.office-person-stats small{display:block;color:#738679;font-size:10px}.office-person-stats strong{display:block;margin-top:5px;color:#294b38;font-size:16px}.office-person-actions{display:flex;gap:8px;flex-wrap:wrap}.office-person-actions button,.office-payment-row button{min-height:36px;padding:7px 11px;border:1px solid #cedfd3;border-radius:9px;background:#fff;color:#365a45;font-size:11px;font-weight:800;cursor:pointer}.office-person-actions .office-pay-now{flex:1;border-color:#206848;background:#206848;color:#fff}.office-person-actions .office-archive-person{color:#9b4a4a}.office-payment-history{margin-top:18px}.office-payment-list{display:grid;gap:8px}.office-payment-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto auto;align-items:center;gap:11px;padding:12px;border:1px solid #e0eae3;border-radius:12px;background:#fff}.office-payment-row-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:11px;background:#edf6f0;color:#28714d;font-size:19px;font-weight:850}.office-payment-row-main{display:grid;gap:3px;min-width:0}.office-payment-row-main strong{overflow:hidden;color:#253f31;text-overflow:ellipsis}.office-payment-row-main span,.office-payment-row-main small{color:#738278;font-size:11px}.office-payment-amount{color:#245c40;font-size:14px;white-space:nowrap}.office-send-status{padding:5px 8px;border-radius:99px;background:#f2f4f2;color:#67786c;font-size:10px;font-weight:800;white-space:nowrap}.office-send-status.sent{background:#e8f5ed;color:#1d7245}.office-send-status.failed{background:#fff0ee;color:#a43f37}.office-send-status.not_sent{background:#fff6e9;color:#93651f}.office-empty{grid-column:1/-1;padding:26px;border:1px dashed #c9dbce;border-radius:15px;color:#708176;text-align:center}.office-dialog{width:min(570px,calc(100vw - 24px));max-height:90dvh;overflow:auto}.office-dialog form{display:grid;gap:14px}.office-dialog form>label,.office-dialog .dialog-grid label{display:grid;gap:6px;color:#4e6858;font-size:12px;font-weight:750}.office-dialog input,.office-dialog select{box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid #cadacf;border-radius:9px;background:#fff;color:#243c2d;font:inherit}.office-dialog .dialog-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.office-message-preview{padding:14px;border:1px solid #cde1d2;border-radius:13px;background:linear-gradient(145deg,#eef7f0,#fff)}.office-message-preview small{color:#52715e;font-size:9px;font-weight:850;letter-spacing:.1em}.office-message-preview p{margin:9px 0 0;color:#253c2e;font-size:14px;line-height:1.8;white-space:pre-line}.office-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:9px}.office-dialog .dialog-safety{margin:0;color:#738276;font-size:11px;line-height:1.5}.office-dialog strong#officePaymentPersonName{padding:9px 11px;border:1px solid #dce9df;border-radius:9px;background:#f8fbf8;color:#24583c;font-size:16px}
@media(max-width:760px){.office-payment-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.office-person-grid{grid-template-columns:1fr}.office-payment-row{grid-template-columns:34px 1fr auto}.office-payment-row-icon{width:32px;height:32px}.office-send-status{grid-column:2}.office-payment-row button{grid-column:3;grid-row:2}.office-payment-heading{align-items:flex-start;flex-direction:column}.office-payment-heading>.primary-btn{width:100%}}
@media(max-width:430px){.office-payment-metrics article{padding:12px}.office-payment-metrics strong{font-size:17px}.office-payment-tools{align-items:stretch;flex-direction:column}.office-dialog .dialog-grid{grid-template-columns:1fr}.office-payment-row{gap:7px}.office-payment-row-main span{font-size:10px}}

[data-view-panel="office-payments"] .office-person-card{border-color:#d5e0f1;border-top-color:#2563eb;background:linear-gradient(155deg,#fff 18%,#f7f9ff)}[data-view-panel="office-payments"] .office-person-avatar{border-color:#d3def2;background:#eef3ff;color:#2554ae}[data-view-panel="office-payments"] .office-person-tag,[data-view-panel="office-payments"] .office-person-stats strong,[data-view-panel="office-payments"] .office-payment-metrics strong{color:#2554ae}[data-view-panel="office-payments"] .office-person-actions .office-pay-now{border-color:#2859c5;background:#2859c5}[data-view-panel="office-payments"] .office-payment-row-icon{background:#eef3ff;color:#2859c5}
.office-person-actions .office-request-owner{border-color:#c8d7f0;background:#f2f6ff;color:#2859a6}.office-approval-history{margin-top:18px}.office-approval-list{display:grid;gap:10px}.office-approval-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;border:1px solid #d7e5db;border-radius:13px;background:#fff}.office-approval-row.approved{border-color:#c9e5d2;background:#f5fbf6}.office-approval-row.rejected{border-color:#efd0ce;background:#fff8f7}.office-approval-main{display:grid;gap:6px;min-width:0}.office-approval-main>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.office-approval-main>div strong{color:#263e30;font-size:14px}.office-approval-main>b{color:#245c40;font-size:16px}.office-approval-main small{color:#708075;font-size:11px;overflow-wrap:anywhere}.office-approval-status{padding:5px 8px;border-radius:99px;background:#fff2d9;color:#8b621f;font-size:10px;font-weight:850}.office-approval-status.approved{background:#e5f5ea;color:#237043}.office-approval-status.rejected{background:#fdeae8;color:#a43c37}.office-approval-notice.failed{color:#a43c37}.office-approval-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.office-approval-actions button{min-height:36px;padding:8px 12px;border:1px solid #d7e2d9;border-radius:9px;background:#fff;color:#455e4d;font-size:11px;font-weight:850;cursor:pointer}.office-approval-actions .office-approve-btn{border-color:#25814c;background:#25814c;color:#fff}.office-approval-actions .office-reject-btn{border-color:#bc4540;background:#bc4540;color:#fff}.office-approval-actions .office-retry-request{color:#365a45}.office-approval-actions button:disabled{opacity:.55;cursor:wait}
@media(max-width:650px){.office-approval-row{grid-template-columns:1fr}.office-approval-actions{justify-content:stretch}.office-approval-actions button{flex:1}.office-payment-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
