/* OFFICE MANAGER v0.5.1 · Financeiro — identidade grafite/vermelho */
.om51-page{--om51-stroke:#354552;--om51-panel:#131d26;--om51-muted:#a2b4c2;max-width:1400px}
.om51-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:5px 0 20px}
.om51-intro h2{font-size:clamp(27px,3vw,36px);letter-spacing:-1px;color:#f7f9fb;margin:0 0 7px}
.om51-intro p:not(.om3-kicker){margin:0;color:var(--om51-muted);font-size:13px}
.om51-period{display:flex;align-items:center;gap:0;background:#111a23;border:1px solid #3b4855;border-radius:10px;min-height:42px;overflow:hidden;color:#fff}
.om51-period>a{display:flex;align-items:center;justify-content:center;min-width:38px;min-height:42px;color:#d8e3eb;text-decoration:none;font-size:23px}
.om51-period>a:hover{background:#25323d;color:#fff}
.om51-period strong{font-size:13px;min-width:70px;text-align:center;font-variant-numeric:tabular-nums}
.om51-period .om51-current{font-size:11px;min-width:83px;padding:0 12px;border-left:1px solid #3b4855;color:#cbd7df;font-weight:750}
.om51-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.om51-summary article{border:1px solid #354452;background:linear-gradient(155deg,#18232e,#101820);border-radius:12px;min-height:132px;padding:20px 17px;display:flex;flex-direction:column;gap:9px;min-width:0}
.om51-summary article.om51-balance{border-top:2px solid #e82f3c;background:linear-gradient(145deg,#1f222d,#111a23)}
.om51-summary span:not(.om41-private):not(.om41-reveal):not(.om41-mask){font-size:11px;font-weight:750;color:#aab9c8}
.om51-summary strong{color:#f9fafc;font-size:clamp(17px,2vw,25px);font-weight:850;font-variant-numeric:tabular-nums;letter-spacing:-.3px;overflow-wrap:anywhere}
.om51-summary strong.om51-income{color:#9ce6bd}.om51-summary strong.om51-outflow{color:#f3bec3}.om51-summary strong.om51-negative{color:#ff939b}
.om51-summary small{color:#8295a6;font-size:10px;line-height:1.45;margin-top:auto}
.om51-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid #354452;margin-bottom:27px;padding:0 1px 2px}
.om51-tabs a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-size:12px;font-weight:750;color:#aebbc7;white-space:nowrap;padding:12px 14px;border-bottom:2px solid transparent;border-radius:7px 7px 0 0}
.om51-tabs a:hover{color:#fff;background:#1a2731}.om51-tabs a.active{color:#fff;border-bottom-color:#ec3846;background:#292028}
.om51-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:5px 0 16px}
.om51-section-title h3{font-size:19px;letter-spacing:-.3px;color:#f6f8fb;margin:0 0 6px}
.om51-section-title p{font-size:12px;color:#9aafbf;line-height:1.5;margin:0}
.om51-section-title .btn{min-height:40px;white-space:nowrap}
.om51-supplement{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#121c25;border:1px solid #364653;border-radius:10px;margin-bottom:18px;padding:14px 17px}
.om51-supplement span{font-size:11px;color:#b1bfca}.om51-supplement strong{font-size:15px;color:#f3f7fa;font-variant-numeric:tabular-nums;margin-left:auto}.om51-supplement a{font-size:11px;font-weight:750;color:#ff818d;text-decoration:none}
.om51-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;min-height:190px;background:#121b24;border:1px dashed #465664;border-radius:12px;padding:25px}
.om51-empty strong{font-size:14px;color:#f1f4f7}.om51-empty span{max-width:520px;font-size:12px;color:#a6b6c2;line-height:1.6}
.om51-timeline{border:1px solid #354653;border-radius:12px;background:#111a22;padding:8px 15px 16px}
.om51-timeline-date{font-size:11px;font-weight:850;color:#cbd5de;letter-spacing:.05em;margin:17px 0 9px;padding-left:5px}
.om51-event{display:flex;align-items:center;gap:13px;padding:13px 11px;border-radius:9px;border-bottom:1px solid #253641;text-decoration:none;color:#f2f6f8;min-width:0;transition:background .15s}
.om51-event:hover{background:#202e39;color:#fff}.om51-event-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;flex:0 0 37px;font-size:17px;font-weight:900;border:1px solid #435461}
.om51-event-icon.om51-income{color:#9be3b9;background:#153b2c;border-color:#28684d}.om51-event-icon.om51-expense{color:#f0a0a6;background:#472329;border-color:#7c3a41}.om51-event-icon.om51-scheduled{color:#efce91;background:#39301d;border-color:#756340}.om51-event-icon.om51-investment{color:#b5c6fa;background:#222e50;border-color:#435b87}
.om51-event-main{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.om51-event-main strong{font-size:12px;overflow-wrap:anywhere}.om51-event-main small{color:#98aab7;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.om51-event-amount{font-size:14px;font-weight:850;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.om51-event-amount.om51-income{color:#94e3b3}.om51-event-amount.om51-expense{color:#f0adb6}.om51-event-amount.om51-scheduled{color:#f3ce8f}.om51-event-amount.om51-investment{color:#b4c6ec}
.om51-list{display:grid;gap:9px}.om51-record{display:flex;align-items:center;gap:17px;min-width:0;border:1px solid #394856;background:#121b24;border-radius:11px;padding:18px}
.om51-record-main{display:flex;flex-direction:column;min-width:0;flex:1;gap:6px}.om51-record-main strong{font-size:13px;color:#f6f8fa;overflow-wrap:anywhere}.om51-record-main small{font-size:10.5px;color:#a0b0bd;line-height:1.45;overflow-wrap:anywhere}
.om51-record-value{display:grid;gap:8px;text-align:right;min-width:130px}.om51-record-value strong{font-size:15px;font-weight:800;color:#f8fafb;font-variant-numeric:tabular-nums;white-space:nowrap}.om51-status{font-size:10px;font-weight:750;color:#becbd6}.om51-status-paid{color:#96e2b3}.om51-status-overdue{color:#ff8e9a}.om51-status-pending{color:#f3c98e}.om51-status-neutral{color:#bbceee}
.om51-actions{display:flex;gap:7px;justify-content:flex-end;align-items:center;flex-wrap:wrap;min-width:170px}
.om51-inline{display:inline-flex;margin:0}.om51-action{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:1px solid #42525f;border-radius:7px;padding:7px 11px;background:#1b2832;color:#dce7ee;font-size:11px;font-weight:750;white-space:nowrap}
.om51-action:hover{border-color:#80909c;background:#283845}.om51-action-success{border-color:#347c63;color:#b5edcc;background:#163126}.om51-action-danger{border-color:#6e4549;color:#f5afb5;background:transparent}.om51-action-danger:hover{background:#462429}
.om51-recurring-run{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;padding:21px;background:linear-gradient(105deg,#28222c,#17222b 60%);border:1px solid #79444b;border-radius:12px;margin-bottom:20px}
.om51-recurring-run strong{font-size:14px;color:#f5f8fa}.om51-recurring-run p{font-size:11.5px;color:#b9c6d0;max-width:730px;line-height:1.55;margin:7px 0 0}.om51-recurring-run form{margin:0}
.om51-hint{font-size:11px;color:#93a6b4;line-height:1.65;margin:17px 0 0;max-width:990px}
.om51-overlay .om3-modal-form label textarea{width:100%;min-height:80px;background:#0c1319;border:1px solid #3e4b56;border-radius:7px;color:#fff;padding:10px;font:inherit}
.om51-receipts-tab .om41-page{margin-bottom:0}.om51-receipts-tab .om3-lead{margin-bottom:17px}.om51-receipts-tab .om3-kicker{color:#ec5b65}
@media(max-width:1120px){.om51-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.om51-record{flex-wrap:wrap}.om51-actions{flex:1 1 100%;justify-content:flex-start}}
@media(max-width:650px){.om51-summary{gap:8px}.om51-summary article{padding:15px 12px;min-height:122px}.om51-summary strong{font-size:18px}.om51-intro{align-items:flex-start}.om51-period{width:100%;justify-content:space-between}.om51-section-title .btn{width:100%}.om51-event{gap:8px;padding:12px 5px}.om51-event-icon{width:29px;height:29px;flex-basis:29px;font-size:14px}.om51-event-amount{font-size:11px}.om51-timeline{padding:8px 10px 15px}.om51-record{padding:14px 12px;gap:10px}.om51-record-value{min-width:auto}.om51-record-main{flex-basis:53%}.om51-recurring-run{padding:16px}.om51-recurring-run form,.om51-recurring-run button{width:100%}.om51-tabs a{font-size:11px;padding:11px 12px}.om51-overlay .om3-form-grid{grid-template-columns:1fr}.om51-overlay .om3-wide{grid-column:auto}}

.om51-head-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px}.om51-head-actions .btn{min-height:40px;white-space:nowrap}
@media(max-width:650px){.om51-head-actions{width:100%}.om51-head-actions form,.om51-head-actions .btn{flex:1 1 100%;width:100%}}
