/* GiveTen 0.59 */
#bbar #b-feedback,#bbar #b-video{display:none!important}
body.o15 #bbar{justify-content:space-around!important;gap:0!important;padding-left:8px!important;padding-right:8px!important}
body.o15 #bbar .bb{flex:1 1 0!important;max-width:none!important;width:auto!important;min-width:0!important}
body.o15 .acct-bar,body.o15 .note,body.o15 .footer,body.o15 #home-checks{display:none!important}
/* maaser card color bar */
.o15-catrow{display:flex;align-items:center;gap:12px;margin-top:8px}
.o15-cat{flex:1;height:8px;border-radius:4px;display:flex;overflow:hidden;cursor:pointer;background:#E3E8F0}
.o15-cat i{display:block;height:100%}
.o15-cat i+i{margin-left:1px}
.o15-where{border:0;background:none;color:#5B6B80;font:600 12px Inter,Roboto,sans-serif;padding:4px 0;white-space:nowrap}
.o15-sub:empty{display:none}
/* simplified account rows (Hide stays on the row) */
body.o15 .arow{display:flex!important;align-items:center;gap:8px;padding:12px 14px!important}
body.o15 .arow-n{flex:1 1 auto;min-width:0;display:flex!important;align-items:center;gap:8px;text-transform:none!important;font-size:15px!important;font-weight:500!important;color:#0F1B33;letter-spacing:0!important;line-height:1.25}
body.o15 .arow-n .account-hide{margin-left:auto;flex:0 0 auto;height:24px!important;padding:0 8px!important;font-size:11px!important;border-radius:6px}
body.o15 .arow-b{flex:0 0 auto;font-size:15px!important;font-weight:700!important;text-align:right}
body.o15 .arow-l{display:none!important}
body.o15 .arow .chev{display:none!important}
.o15-ver{display:flex;justify-content:center;flex-wrap:wrap;gap:0;align-items:center}
.o15-ver .stor{display:inline!important}
.o15-ver #o15-privacy{border:0;background:none;font:inherit;color:inherit;padding:0;text-decoration:none}
/* overlays */
.g59-ov{display:none;position:fixed;left:0;right:0;top:0;bottom:50px;z-index:140;background:#F3F5F9;flex-direction:column;overflow:hidden}
.g59-ov[style*="block"]{display:flex!important}
.g59-bar{flex:0 0 auto;background:#0F2B5B;color:#fff;display:flex;align-items:center;gap:12px;padding:14px 16px;padding-top:calc(14px + env(safe-area-inset-top,0px))}
.g59-bar h2{margin:0;font:700 18px Inter,Roboto,sans-serif;color:#fff}
.g59-back{border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.1);color:#fff;border-radius:10px;padding:7px 12px;font:600 13px Inter,Roboto,sans-serif}
.g59-body{flex:1 1 auto;overflow:auto;padding:14px 16px 20px}
.g59-left{display:flex;justify-content:space-between;align-items:center;background:#E8F5EE;border:1px solid #BFE0CD;color:#1B7F4B;border-radius:12px;padding:12px 14px;font:700 15px Inter,Roboto,sans-serif;margin-bottom:12px}
.g59-cbar{display:flex;height:12px;border-radius:6px;overflow:hidden;margin-bottom:6px;background:#E3E8F0}
.g59-cbar i{display:block;height:100%}.g59-cbar i+i{margin-left:1px}
.g59-crow{display:flex;align-items:center;gap:10px;padding:12px 2px;border-bottom:1px solid #E3E8F0;font:15px Inter,Roboto,sans-serif;color:#0F1B33}
.g59-crow[role=button]{cursor:pointer}
.g59-crow i{width:14px;height:14px;border-radius:4px;flex:0 0 auto}
.g59-crow span{flex:1}.g59-crow b{font-weight:700}
.g59-empty,.g59-note{color:#6B7A90;font:13px/1.45 Inter,Roboto,sans-serif;margin:12px 2px}
.g59-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:8px}
.g59-tabs button{height:38px;border-radius:12px;border:1px solid #D5DDE8;background:#fff;color:#4A5B73;font:600 13px Inter,Roboto,sans-serif}
.g59-tabs button.on{background:#E6EEFB;border-color:#9DB6E6;color:#0F2B5B}
.g59-body #list{margin:0!important;padding:0!important;list-style:none}
.g59-body #list li.row{background:transparent!important;border:0!important;border-bottom:1px solid #E3E8F0!important;border-radius:0!important;box-shadow:none!important;padding:10px 0!important;margin:0!important}
.g59-body #list li.row .dot,.g59-body #list li.row .rowamt{display:none!important}
.g59-body #list li.row .rowtitle{font-size:15px!important;line-height:20px!important;color:#0F1B33}
.g59-body #list li.row .rowsub{font-size:12px!important;line-height:16px!important;color:#6B7A90}
.g59-body #list li.row .rowbtn{height:32px!important;font-size:13px!important;padding:0 12px!important;min-width:56px;border-radius:9px!important}
.g59-amt{font-weight:700}.g59-amt.income,.g59-amt.maaser{color:#1B7F4B}.g59-amt.expense{color:#B8352B}
.g59-body #list li.group{font-size:11px!important;letter-spacing:.06em;color:#6B7A90;margin:12px 0 2px!important;padding:0!important;line-height:14px!important;text-transform:uppercase}
/* extras */
.g59-top{margin:0 0 8px}
.g59-top .g59-big{display:inline-flex;align-items:center;gap:10px;width:calc(50% - 4px);box-sizing:border-box;margin:0 0 10px;padding:12px;border:0;border-radius:12px;background:#12396B;color:#fff;text-align:left;vertical-align:top}
.g59-top .g59-big+.g59-big{margin-left:8px}
.g59-big b{width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;font-size:17px;flex:0 0 auto}
.g59-big strong{display:block;font:700 15px Inter,Roboto,sans-serif}.g59-big small{display:block;font:11px Inter,Roboto,sans-serif;opacity:.8;margin-top:1px}
.g59-lab{font:700 11px Inter,Roboto,sans-serif;letter-spacing:.1em;color:#5B6B80;margin:6px 2px 8px}
.g59-bot{margin-top:14px}
.g59-card{background:#fff;border:1px solid #D5DDE8;border-radius:12px;padding:2px 12px;margin-bottom:12px}
.g59-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #E3E8F0;font:14px/1.35 Inter,Roboto,sans-serif;color:#0F1B33}
.g59-line:last-child{border-bottom:0}.g59-line b{color:#0F2B5B;white-space:nowrap}.g59-line[role=button]{cursor:pointer}
.g59-fine{font:12px/1.45 Inter,Roboto,sans-serif;color:#6B7A90;margin:8px 0}
/* account screen */
#g59-acct{display:none;margin:0 0 10px;padding:10px 12px;border:1px solid #D5DDE8;border-radius:12px;background:#fff}
.g59-ah{display:flex;justify-content:space-between;align-items:center;font:700 17px Inter,Roboto,sans-serif;color:#0F1B33;margin-bottom:4px}
.g59-ah .held{color:#1B7F4B}.g59-ah .owed{color:#B8352B}
.g59-sw{width:46px;height:26px;border-radius:13px;border:0;background:#D5DDE8;position:relative;padding:0;flex:0 0 auto}
.g59-sw::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:left .15s}
.g59-sw.on{background:#1B7F4B}.g59-sw.on::after{left:23px}
.g59-hid summary{font:13px Inter,Roboto,sans-serif;color:#0F2B5B;padding:8px 0;cursor:pointer}
.g59-show{border:1px solid #D5DDE8;background:#fff;border-radius:8px;padding:4px 10px;font:12px Inter,Roboto,sans-serif;color:#0F2B5B}
body.o15 #bbar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.o15 #home-acct-label{display:none!important}
/* preview sizing: tools tiles and recent activity cards */
body.o15.theme #o15-main .newtile{height:66px!important;min-height:66px!important;max-height:66px!important;justify-content:flex-start!important;gap:5px!important}
body.o15.theme #o15-main .newtile .o15-chip{width:34px!important;height:34px!important;border-radius:10px!important}
body.o15.theme #o15-main .newtile .o15-chip svg{width:18px!important;height:18px!important}
body.o15 .newtile .o15-tl{font-size:10.5px!important;letter-spacing:-.2px!important}
body.o15.theme #o15-main .newtools-title{font-size:11px!important;letter-spacing:.1em!important;margin:6px 2px 8px!important}
body.o15.theme #o15-main #home-tx-bar{background:none!important;border:0!important;box-shadow:none!important;padding:6px 2px 2px!important}
body.o15.theme #o15-main #home-tx-label{font:700 11px Inter,Roboto,sans-serif!important;letter-spacing:.1em!important;text-transform:uppercase;color:#5B6B80!important}
body.o15 #b-tx-all{border:1px solid #CFD8E6!important;background:#fff!important;color:#0F2B5B!important;border-radius:16px!important;padding:5px 12px!important;font:700 12px Inter,Roboto,sans-serif!important}
body.o15 #b-tx-all::after{content:" \203a"}
body.o15.theme #o15-main #home-tx:not(:empty){background:none!important;border:0!important;border-radius:0!important;overflow:visible!important}
body.o15 #home-tx .htx{padding:0!important;border:0!important;background:none!important}
body.o15 #home-tx .htxrow{background:#fff!important;border:1px solid #DFE5EE!important;border-radius:12px!important;margin:0 0 8px!important;padding:9px 14px!important;align-items:flex-end!important}
body.o15 #home-tx .htxrow .hm{display:flex;flex-direction:column-reverse}
body.o15 #home-tx .htxrow .hs{font-size:11.5px!important;color:#6B7A90}
body.o15 #home-tx .htxrow .hn{font-size:15px!important}
.o15-ver #o15-privacy{margin-left:3px}.o15-ver span+span{margin-left:3px}
body.o15 .newtile .o15-tl{overflow:visible!important;text-overflow:clip!important;letter-spacing:-.3px!important}
body.o15 #home-tx,body.o15 #home-tx .htx{margin-left:0!important;margin-right:0!important}
body.g59-open #panel{z-index:400!important}
body.o15 .g59-body #list li.row{padding:11px 0!important}
body.o15 .g59-body #list li.row .rowsub .typ{font-weight:500}
body.o15 .g59-body #list li.group{margin:14px 0 2px!important}
/* 0.60: long account names wrap instead of running under Hide and the amount */
body.o15 .arow-t{flex:1 1 0;min-width:0;white-space:normal;overflow-wrap:anywhere}
body.o15 .arow-n .account-hide{margin-left:0}
body.o15 .arow-b{max-width:46%;white-space:nowrap}
/* 0.60 spacing: tile labels wrap instead of touching, footer line aligned, sheet title fits */
body.o15 .newtile .o15-tl{white-space:normal;text-align:center;line-height:1.15;overflow-wrap:break-word;padding:0 2px}
.o15-ver{align-items:baseline!important}
.o15-ver #o15-privacy{line-height:inherit;vertical-align:baseline;margin-top:0;margin-bottom:0}
#g59-sheet h2{font-size:16px!important;line-height:1.2}
body.o15.theme #o15-main .newtile .o15-tl{white-space:normal!important;overflow:visible!important;line-height:1.15!important;overflow-wrap:break-word;padding:0 2px;box-sizing:border-box}
body.o15.theme #o15-main .newtools-grid{row-gap:6px!important}body.o15.theme #o15-main .newtile{height:auto!important;min-height:0}
/* 0.61: Extras tiles like Tab's preview: flat, shorter, regular-weight labels; Back on the left */
body.o15 #extras-panel .extras-grid .extras-card{min-height:62px!important;height:auto!important;box-shadow:none!important;border-radius:10px!important;padding:8px 6px!important;gap:4px!important}
body.o15 #extras-panel .extras-grid .extras-card strong{font-weight:500!important;font-size:11.5px!important;color:#1B2B44!important;line-height:1.2}
body.o15 #extras-panel .extras-grid .extras-card .extras-icon{height:24px!important;width:24px!important;border-radius:7px}
body.o15 #extras-panel .extras-heading{flex-direction:row-reverse;justify-content:flex-end;gap:12px}
body.o15 #extras-panel .extras-heading .extras-action::before{content:"\2039  "}
body.o15 #list:not(.g59-keep){display:none}body.o15 .g59-body #list{display:block!important}
body.o15.theme #o15-main #tgrid{grid-template-columns:repeat(4,1fr)!important}body.o15.theme #o15-main #tgrid .cell{padding:0 6px!important}body.o15.theme #o15-main #tgrid .val{font-size:13.5px!important}
/* 0.63: three slim pills under the totals */
body.o15 #o15-pillrow{display:flex;gap:6px;margin:7px 0 5px;align-items:stretch}
body.o15 #o15-pillrow button{display:block!important;flex:1 1 auto!important;min-width:0;width:auto!important;max-width:none!important;margin:0!important;align-self:stretch!important;height:28px;padding:0 2px!important;border:1px solid #D0DCEB;border-radius:18px;background:#fff;font:700 11.5px Inter,Roboto,sans-serif!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;cursor:pointer;line-height:26px}
body.o15 #o15-pillrow button span{display:block;overflow:hidden;text-overflow:ellipsis}
body.o15 #o15-pillrow #o15-toolslink{color:#123C69}
body.o15 #o15-pillrow #o15-linkbank{color:#1B7F3B}
body.o15 #o15-pillrow #o15-cardpill{color:#0B2545}
/* 0.63: CHARITY box colour and no wrapping */
body.o15.theme #o15-main #tgrid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.o15.theme #o15-main #tgrid .cell{padding:0 4px!important;min-width:0}
body.o15.theme #o15-main #tgrid .val{white-space:nowrap!important;display:block!important;overflow:hidden}
body.o15.theme #o15-main #tgrid .lbl{color:#56667E!important}
body.o15.theme #o15-main #tgrid #s-charity{color:#1B7F3B!important}
/* 0.63: Extras as 2 columns of short rows, chip colours rotate by position */
body.o15 #extras-panel .extras-grid{grid-template-columns:1fr 1fr!important;gap:7px!important}
body.o15 #extras-panel .extras-grid .extras-card{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-height:48px!important;padding:9px!important;background:#fff!important;border:1px solid #D7E0EC!important;border-radius:11px!important;text-align:left!important}
body.o15 #extras-panel .extras-grid .extras-card strong{font-size:12px!important;font-weight:500!important;color:#153148!important;text-align:left!important;line-height:1.2}
body.o15 #extras-panel .extras-grid .extras-card .extras-icon{flex:0 0 29px;width:29px!important;height:29px!important;min-height:0;border-radius:9px!important;display:grid!important;place-items:center;border:1px solid}
body.o15 #extras-panel .extras-grid .extras-card .extras-icon svg{width:18px;height:18px}
body.o15 #extras-panel .extras-grid>:nth-child(5n+1) .extras-icon{background:#E8EFFF!important;color:#316DEA!important;border-color:#C9DBFF!important}
body.o15 #extras-panel .extras-grid>:nth-child(5n+2) .extras-icon{background:#E5F5ED!important;color:#169557!important;border-color:#C2E8D1!important}
body.o15 #extras-panel .extras-grid>:nth-child(5n+3) .extras-icon{background:#FFF0DD!important;color:#D98213!important;border-color:#FFD7A9!important}
body.o15 #extras-panel .extras-grid>:nth-child(5n+4) .extras-icon{background:#F2E9FF!important;color:#8340CE!important;border-color:#E1CFF6!important}
body.o15 #extras-panel .extras-grid>:nth-child(5n+5) .extras-icon{background:#E2F5F6!important;color:#1492A4!important;border-color:#BCE4E9!important}
body.o15 #extras-panel .g59-top .g59-big{padding:14px 12px;border-radius:14px;min-height:64px;background:#123C69}
body.o15 #extras-panel .g59-lab{font-size:11px;letter-spacing:1px;color:#56667E;margin:14px 0 7px;font-weight:700}
body.o15 #extras-panel .g59-line{font-size:13px}
body.o15 #extras-panel .extras-grid .extras-card[style*="display: none"]{display:none!important}
/* 0.63: long account names stay on one line with an ellipsis, the last digits stay visible */
body.o15 .arow-t{display:flex;flex:1 1 0;min-width:0;white-space:nowrap;overflow:hidden}
body.o15 .arow-nm{min-width:0;overflow:hidden;text-overflow:ellipsis}
body.o15 .arow-mk{flex:0 0 auto}
body.o15 .arow-mk{margin-left:5px}

body.o15 #extras-panel .g59-big strong,body.o15 #extras-panel .g59-big small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.o15 #extras-panel .g59-top .g59-big{height:64px;box-sizing:border-box}

.chg{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#F5C518;color:#5A4300;font:800 13px/1 Inter,Roboto,sans-serif;vertical-align:middle;margin-left:6px;cursor:pointer;position:relative}.chg::after{content:'';position:absolute;inset:-11px}.chg.ok{background:#1B7F3B;color:#fff}.chrow{display:flex!important;align-items:center;gap:6px}.chrow .chtx{min-width:0;flex:0 1 auto;overflow-wrap:anywhere}.chrow .chg{flex:0 0 22px;margin-left:0}.chg.no{background:#8795A8;color:#fff;font-size:15px}
#chg-sheet{position:fixed;inset:0;z-index:400;background:rgba(10,20,40,.45);display:flex;align-items:flex-end;justify-content:center}
#chg-sheet .chg-box{width:100%;max-width:520px;background:#fff;border-radius:16px 16px 0 0;padding:16px 16px 20px;box-sizing:border-box;font:15px Inter,Roboto,sans-serif;color:#0F1B33}
#chg-sheet .chg-h{font-weight:700;font-size:16px;margin-bottom:6px}#chg-sheet .chg-p{margin-bottom:12px;color:#445}
#chg-sheet button{display:block;width:100%;min-height:44px;margin-top:8px;border:1px solid #BFD0E4;border-radius:12px;background:#fff;color:#123C69;font:700 15px Inter,Roboto,sans-serif}
#chg-sheet .chg-no{color:#C62828;border-color:#E8B9B5}#chg-sheet .chg-x{border:0;color:#556}
#chg-undo{position:fixed;left:12px;right:12px;bottom:64px;z-index:410;background:#0F2B5B;color:#fff;border-radius:12px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;font:14px Inter,Roboto,sans-serif}#chg-undo button{background:#F5C518;color:#3A2C00;border:0;border-radius:8px;min-height:36px;padding:0 14px;font:800 14px Inter,Roboto,sans-serif}
