/* v120 Chase-navy theme: paint only, zero functional change. */
body.theme{background:#f4f6f9}
.theme .hero h1{background:#123c69!important;color:#fff!important;font-weight:600;min-height:34px!important;padding:5px 12px!important;font-size:13.5px!important}
.theme .hero h1 button{border-color:rgba(255,255,255,.35)!important}
.theme .hero .stor,.theme .storwrap,.theme .hero h1 .stor{color:#a9bccd!important}
.theme #refresh-visual{padding:3px 10px!important;font-size:10.5px!important;margin:3px 12px 0!important;top:112px!important}
.theme .mcard{background:#fff!important;border:1px solid #dde4ec!important;border-radius:10px!important;box-shadow:0 1px 4px rgba(10,40,80,.08)!important;padding:6px 8px!important;margin:4px 12px 0!important}
.theme .leftamt{color:#123c69!important}
/* maaser block + credit card: equal-size pair */
.theme .v117-band{display:flex!important;gap:6px!important;align-items:stretch!important}
.theme .leftwrap{flex:1 1 0!important;display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;gap:2px 6px!important;background:#fff!important;border:1px solid #dde4ec!important;border-radius:8px!important;padding:6px 8px!important;margin:0!important;min-width:0}
.theme .leftwrap .ring{width:24px!important;height:24px!important;grid-row:1/3}
.theme .leftwrap .leftlbl{font-size:8px!important;letter-spacing:.2px!important;white-space:nowrap!important}
.theme .leftwrap .leftamt{font-size:16px!important;line-height:1.1!important}
.theme .leftwrap .owedgiven{grid-column:1/-1;display:flex!important;gap:8px!important;font-size:8.5px!important}
.theme .leftwrap .og{display:flex!important;gap:4px!important;align-items:baseline!important}
.theme #credit-score-card{flex:1 1 0!important;margin:0!important;min-width:0;border-radius:8px!important;padding:6px 8px!important}
.theme #credit-score-card .credit-top{font-size:8px!important}
.theme #credit-score-card .credit-values b{font-size:15px!important}
.theme #credit-score-card .credit-sub,.theme #credit-score-card .credit-note{font-size:7.5px!important}
.theme .maaser-status-bar{padding:0 2px 2px!important}
/* slim band: all-time ($ only) + month toggle */
.theme .slim-band{display:flex!important;justify-content:space-between;align-items:center;gap:8px;padding:1px 4px 2px!important}
.theme .slim-band .alltime{display:block!important;font-size:10.5px!important;color:#5a7186!important;padding:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.theme .slim-month{height:26px!important;min-height:26px!important;padding:1px 4px!important;font-size:11.5px!important;font-weight:600!important;background:none!important;border:0!important;color:#123c69!important;white-space:nowrap}
.theme .monthbar{display:none!important;margin:0!important;padding:2px 0 4px!important}
.theme .monthbar.open{display:flex!important}
.theme .monthbar .mbtn,.theme .monthbar .mchip{height:30px!important;min-height:30px!important;padding:2px 8px!important;font-size:11px!important}
/* accounts: group cards, no inner window */
.theme .unified-accounts{background:transparent!important;border:0!important;padding:0!important;margin:0!important}
.theme .unified-accounts .acct-bar{padding:0 16px 6px!important}
.theme .unified-accounts #home-acct-note,.theme .unified-accounts #home-checks{padding:0 16px!important}
.theme #home-accounts{max-height:none!important;overflow:visible!important}
.theme #home-accounts .agroup{background:#fff!important;border:1px solid #e1e7ee!important;border-radius:10px!important;margin:0 14px 10px!important;overflow:hidden;box-shadow:0 1px 3px rgba(20,40,70,.07)!important}
.theme #home-accounts .agroup-h{background:#123c69!important;color:#fff!important;padding:10px 14px!important;font-size:13px!important;font-weight:600!important}
.theme #home-accounts .agroup-h .agt{color:#fff!important;font-size:13px!important}
.theme #home-accounts .agroup-h .agt.neg{color:#ff6b6b!important}
.theme #home-accounts .arow{padding:11px 14px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}
.theme #home-accounts .arow-n{font-size:13px!important}
.theme #home-accounts .arow-b{font-size:17px!important}
.theme #home-accounts .arow-l{font-size:10.5px!important}
.theme .acct-bar #home-acct-label{font-size:11px!important;letter-spacing:1px!important;text-transform:uppercase!important;color:#5a7186!important}
.theme .newtools-title{color:#5a7186!important}
.theme .newtile{background:#fff!important;border:1px solid #e2e8f0!important;color:#123c69!important;border-radius:8px!important}
.theme .newtile svg{stroke:#123c69!important}
.theme .flowseg{background:#fff!important;border-bottom:2px solid #dde4ec!important}
.theme #home-accounts .agroup-h .agt.agt-owed{color:#ff6b6b!important}
.toplists{display:flex;gap:6px;padding:6px 10px 10px;background:#f4f6f9}
.toplists button{flex:1;background:#fff;color:#12325c;border:1px solid #b9c8dd;border-radius:6px;font-weight:700;font-size:12px;padding:7px 4px;cursor:pointer;box-shadow:0 1px 2px rgba(18,50,92,.12)}
.toplists button.active{background:#12325c;color:#fff;border-color:#12325c}
.theme .mcard{margin-top:8px!important}
#maaser-alltime{display:flex;align-items:center;justify-content:center;min-height:30px;padding:4px 10px;background:#f6f8fb;color:#20527a;border:1px solid #bcc6d0;border-radius:5px;font-size:11px;font-weight:700;cursor:pointer}
#maaser-alltime.active{background:#12325c;color:#fff;border-color:#12325c}
.theme #top{background:#f4f6f9!important}
.pd-amt-pos{color:#16733c;font-weight:700}
.pd-amt-neg{color:#c32f2f;font-weight:700}
.pd-amt-mut{color:#5a7186;font-weight:700}
.overall-pair{display:flex;gap:10px;padding:18px 0}
.overall-half{flex:1;min-width:0;text-align:center;background:transparent;border:0;padding:0;font:inherit;min-height:44px}
.overall-half small{display:block;color:#58677c;font-size:12px}
.overall-half strong{display:block;font-size:26px;font-weight:700;margin-top:6px}
.overall-half .ov-out{color:#005eb8}
.overall-half .ov-inc{color:#16733c}

/* Monthly Overall: yearly pair + range editor */
.theme .overall-half.yearly{background:#eef4fb;border-color:#aec6e2}
.theme .overall-half.yearly strong{font-size:15px}
.theme .range-edit{display:flex;gap:6px;align-items:flex-end;margin:10px 0 4px;flex-wrap:wrap}
.theme .range-edit label{flex:1;min-width:0;font-size:11px;font-weight:700;color:#3b4d63}
.theme .range-edit input{display:block;width:100%;box-sizing:border-box;padding:8px 4px;border:1px solid #b9cadd;border-radius:6px;font-size:13px;margin-top:3px;background:#fff}
.theme .range-edit button{flex-shrink:0;padding:9px 14px;border:0;border-radius:6px;background:#123c69;color:#fff;font-size:13px;font-weight:700}
.theme .overall-range-reset{border:1px solid #b9cadd;background:#f3f7fc;color:#184674;border-radius:5px;padding:6px 10px;font-size:12px}
