/* One obligations board. Uses the app's native colors, no decorative-only blocks. */
#one-obligations{margin:12px 0 24px;padding:clamp(15px,3vw,28px)!important;border-radius:22px;min-width:0;color:var(--text,#172923)}
.one-ob-header{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:21px}
.one-ob-header h2{font-size:clamp(24px,3.1vw,34px);margin:2px 0 5px;font-weight:800;letter-spacing:-.035em}
.one-ob-header p{color:var(--muted,#67756e);margin:0;line-height:1.55}
.one-ob-header .one-ob-eyebrow{color:#148365;font-size:11px;letter-spacing:.12em;font-weight:850}
.one-ob-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.one-ob-kpis>div{border-radius:14px;padding:17px;background:#edf5f1;display:flex;flex-direction:column;gap:8px;min-width:0;border:1px solid #dce9e2}
.one-ob-kpis small{font-size:13px;color:#50645a}.one-ob-kpis strong{font-size:clamp(20px,2.3vw,27px);color:#132c22;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.one-ob-guidance{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 20px}.one-ob-guidance span{background:var(--panel,#f5f8f6);padding:8px 11px;border:1px solid var(--border,#dce7e0);border-radius:999px;font-size:12px;color:var(--text,#273930)}
.one-ob-alert{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border:1px solid #f1cbb9;background:#fff4ef;border-radius:14px;padding:14px 16px;margin:16px 0;color:#79361f}.one-ob-alert p{margin:3px 0;font-size:13px;color:#824e38}
.one-ob-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.one-ob-card{border:1px solid var(--border,#dce7e0);padding:19px;border-radius:18px;background:var(--surface,#fff);min-width:0;box-shadow:0 3px 18px rgba(15,50,35,.035);display:flex;flex-direction:column;gap:11px}
.one-ob-cardhead,.one-ob-amount,.one-ob-cardfoot{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.one-ob-cardhead b{font-size:17px;letter-spacing:-.01em}.one-ob-cardhead strong{font-size:18px;white-space:nowrap;font-variant-numeric:tabular-nums}
.one-ob-cardhead p{font-size:12px;color:var(--muted,#69796e);margin:4px 0 0}.one-ob-amount{font-size:13px}.one-ob-amount b{color:var(--text,#263c32)}
.one-ob-bar{height:10px;border-radius:100px;overflow:hidden;background:#e7ede9}.one-ob-bar i{display:block;height:100%;border-radius:100px;background:linear-gradient(90deg,#1e9370,#79c4a6);transition:width .3s}
.one-ob-cardfoot small{font-size:12px;color:var(--muted,#66766f)}.one-ob-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:5px}.one-ob-buttons button{font-weight:650;border-radius:10px}.one-ob-remove{background:transparent;border:0;font-size:22px;color:#a15548;padding:0 10px;cursor:pointer}
.one-ob-empty{background:var(--surface,#fff);border:1px dashed var(--border,#dde5e0);padding:25px;border-radius:18px;line-height:1.8}
.one-ob-legacy{background:#faf8f2}.one-ob-legacy p{font-size:13px;color:#75644b}.one-ob-help{margin-top:18px;color:var(--muted,#67766d);font-size:13px;line-height:1.75}.one-ob-help summary{cursor:pointer;font-weight:700;color:var(--text,#263a2f)}
dialog.one-ob-modal,dialog.one-ob-notice{width:min(550px,calc(100vw - 24px));max-width:95vw;max-height:90vh;overflow-y:auto;padding:0;border:1px solid var(--border,#d9e7de);border-radius:20px;background:var(--surface,#fff);color:var(--text,#1c3127);box-shadow:0 22px 100px rgba(0,0,0,.23)}
dialog.one-ob-modal::backdrop,dialog.one-ob-notice::backdrop{background:rgba(11,27,20,.53)}
.one-ob-form,dialog.one-ob-notice>div{padding:25px;display:flex;flex-direction:column;gap:15px}.one-ob-modalhead{display:flex;justify-content:space-between;align-items:center;gap:12px}.one-ob-modalhead h2{margin:0;font-size:23px}.one-ob-modalhead button{border:0;background:transparent;color:inherit;font-size:25px;cursor:pointer}
.one-ob-form label{display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:14px}.one-ob-form input:not([type=checkbox]),.one-ob-form select{width:100%;min-width:0;padding:11px;border:1px solid var(--border,#c9dacf);background:var(--surface,#fff);border-radius:10px;color:var(--text,#132a20);font:inherit}
.one-ob-form .one-ob-dual{display:grid;grid-template-columns:1fr 1fr;gap:10px}.one-ob-muted{font-size:13px;line-height:1.65;color:var(--muted,#66766f)}.one-ob-check{flex-direction:row!important;align-items:center;line-height:1.6}.one-ob-controls{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.one-ob-error{color:#b43430;min-height:14px;font-size:12px;margin:0}
.one-ob-fuel{display:flex;align-items:end;gap:13px;flex-wrap:wrap}.one-ob-fuel label{display:grid;gap:4px}.one-ob-fuel input{padding:9px;border-radius:9px;border:1px solid #cbd8d0;color:var(--text,#132a20);background:var(--surface,#fff);width:120px}
@media(max-width:870px){.one-ob-grid{grid-template-columns:1fr}.one-ob-kpis{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:600px){.one-ob-kpis{grid-template-columns:1fr}.one-ob-form .one-ob-dual{grid-template-columns:1fr}.one-ob-card{padding:15px}.one-ob-header .btn{width:100%}.one-ob-buttons button{flex:1}}

#one-obligations{direction:rtl}.one-ob-headerbuttons{display:flex;flex-wrap:wrap;gap:9px}
.one-ob-cardhead strong,.one-ob-kpis strong{direction:ltr;unicode-bidi:isolate}
@media(max-width:600px){.one-ob-headerbuttons{width:100%}.one-ob-headerbuttons .btn{flex:1}}

.one-ob-more{margin-top:16px;padding:13px 16px;border-radius:14px;border:1px solid var(--border,#dce7e0);background:var(--surface,#fff)}.one-ob-more summary{cursor:pointer;color:var(--muted,#52675c);font-size:14px;font-weight:700}.one-ob-more>div,.one-ob-more>section{margin-top:12px}
.one-ob-footnote{font-size:13px;color:var(--muted,#67776d);margin:4px 0 12px;line-height:1.65}

@media(max-width:600px){.one-ob-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.one-ob-buttons button{width:100%;min-height:41px;white-space:normal}.one-ob-buttons .one-ob-remove{grid-column:span 2;width:auto;justify-self:end;min-height:24px}.one-ob-amount,.one-ob-cardfoot{font-size:12px}}

/* v1.4.14: clear safe-to-spend, unified fuel card, less visual clutter */
.one-ob-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.one-ob-kpis .one-ob-safe{background:var(--surface,#fff);border:2px solid #6ab89a}
.one-ob-safe span{font-size:11px;color:var(--muted,#51695d);line-height:1.45}
.one-ob-fuel-card{border:1px solid #c8d9d4;background:var(--surface,#fff)}
.one-ob-fuel-card .one-ob-bar i{background:linear-gradient(90deg,#3795bd,#72b5c5)}
@media(max-width:1000px){.one-ob-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.one-ob-kpis{grid-template-columns:1fr 1fr}.one-ob-kpis strong{font-size:19px}}

#view-money #money-commitments-panel,#view-money #money-1412,#view-money #money-1412-advanced{display:none!important}
#view-money #target-items:empty{display:none!important}
