/* PeakLedger v1.25.0 — unified subpage skin
   Brings Accounts, Activity, Connections, Updates and Sign-in into the same
   smoky graphite / edge-lit visual language as the dashboard. */

:root{
    --pl-bg:#06151d;
    --pl-bg-deep:#041019;
    --pl-panel:#0a1d27;
    --pl-panel-top:#152a35;
    --pl-line:rgba(174,207,224,.18);
    --pl-line-soft:rgba(174,207,224,.075);
    --pl-text:#edf4f7;
    --pl-muted:#8fa4b0;
    --pl-cyan:#67d6f8;
    --pl-mint:#57ddb1;
    --pl-red:#ff7880;
}

html,body{background:#06151d}
body.peakledger-unified,
body.peakledger-login{
    color:var(--pl-text)!important;
    font-family:"Inter","Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif!important;
    font-kerning:normal;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
    background:
        radial-gradient(1200px 540px at 38% -9%,rgba(161,181,192,.085),transparent 71%),
        radial-gradient(850px 560px at 93% 39%,rgba(72,111,132,.045),transparent 75%),
        linear-gradient(180deg,#20323d 0,#142832 8%,#0b2029 29%,#071a23 67%,#05151d 100%)!important;
}
body.peakledger-unified::before{
    content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
    background:url('/images/money-theme/metal-fill.webp') center top/cover repeat-y;
    opacity:.055;mix-blend-mode:soft-light
}
.peakledger-unified .glow,.peakledger-login .glow{display:none!important}

/* ---------- unified sidebar ---------- */
.peakledger-unified.app-page{display:block!important}
.peakledger-unified .sidebar{
    position:fixed!important;inset:0 auto 0 0!important;
    width:clamp(286px,17.4vw,330px)!important;
    padding:0!important;gap:0!important;overflow:hidden!important;
    display:flex!important;flex-direction:column!important;
    background:
        linear-gradient(90deg,rgba(92,115,130,.19) 0%,rgba(28,51,63,.35) 24%,rgba(8,28,38,.88) 70%,rgba(5,20,28,.98) 100%),
        url('/images/money-theme/metal-sidebar.webp') center/cover!important;
    border-right:1px solid rgba(150,190,210,.075)!important;
    box-shadow:18px 0 36px rgba(0,0,0,.27)!important;
    backdrop-filter:none!important;
}
.peakledger-unified .sidebar::before{
    content:"";position:absolute;inset:0;pointer-events:none;
    background:radial-gradient(ellipse at 0 5%,rgba(202,220,231,.10),transparent 27%),linear-gradient(90deg,rgba(255,255,255,.016),transparent 26%,transparent 85%,rgba(0,0,0,.12))
}
.peakledger-unified .brand{
    position:relative;z-index:2;height:153px;padding:28px 22px 10px 41px!important;
    display:flex!important;align-items:flex-start!important;gap:18px!important
}
.peakledger-unified .brand .wolf{
    flex:0 0 74px!important;width:74px!important;height:94px!important;padding:0!important;
    border:0!important;border-radius:0!important;
    background:url('/images/money-theme/wolfleap-mark.png') center/contain no-repeat!important;
    box-shadow:none!important;filter:grayscale(1) brightness(2.05) contrast(.82) drop-shadow(0 0 5px rgba(143,214,243,.06))
}
.peakledger-unified .brand .wolf svg{display:none!important}
.peakledger-unified .brand>div:last-child{padding-top:17px}
.peakledger-unified .brand strong{
    display:block!important;color:#cfdae1!important;font-size:29px!important;font-weight:690!important;
    line-height:1.0!important;letter-spacing:-.045em!important;text-shadow:0 1px 0 rgba(0,0,0,.35)!important
}
.peakledger-unified .brand span{display:none!important}
.peakledger-unified .sidebar nav{position:relative;z-index:2;display:flex!important;flex-direction:column!important;gap:0!important;padding:0 20px!important}
.peakledger-unified .nav{
    position:relative!important;height:66px!important;min-height:66px!important;padding:0 18px 0 25px!important;
    display:flex!important;align-items:center!important;gap:21px!important;border:0!important;border-radius:6px!important;
    background:transparent!important;color:#c8d4db!important;box-shadow:none!important;
    font-size:16px!important;font-weight:600!important;letter-spacing:-.014em!important
}
.peakledger-unified .nav b{width:28px!important;color:#b5ccd9!important;font-size:21px!important;font-weight:500!important;text-align:center!important;text-shadow:none!important}
.peakledger-unified .nav:hover{color:#f4f8fa!important;background:linear-gradient(90deg,rgba(30,117,157,.055),rgba(14,54,75,.018) 56%,transparent 86%)!important}
.peakledger-unified .nav.active{
    color:#f7fbfd!important;border:0!important;
    background:linear-gradient(90deg,rgba(26,122,169,.29) 0%,rgba(17,74,102,.14) 44%,rgba(10,42,57,.035) 75%,transparent 100%)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.018),0 5px 12px rgba(0,0,0,.07)!important;text-shadow:none!important
}
.peakledger-unified .nav.active::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:2px;border-radius:3px;background:#72d8fb;box-shadow:0 0 4px rgba(78,205,255,.48)!important}
.peakledger-unified .sidebar-spacer{flex:1!important}
.peakledger-unified .beta-card.connection-card{
    position:relative;z-index:2;margin:0 22px 0!important;padding:18px 16px!important;min-height:132px!important;
    border:1px solid rgba(154,197,218,.22)!important;border-radius:10px!important;
    background:
        radial-gradient(58px 100% at 0 50%,rgba(86,151,183,.035),transparent 76%),
        linear-gradient(180deg,rgba(23,43,54,.97),rgba(8,27,36,.99))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025),inset 0 -1px 0 rgba(0,0,0,.37),0 8px 18px rgba(0,0,0,.16)!important
}
.peakledger-unified .connection-heading{gap:11px!important}
.peakledger-unified .connection-icon{background:linear-gradient(145deg,rgba(27,70,90,.85),rgba(7,32,44,.98))!important;border-color:rgba(89,190,230,.18)!important;color:#83dffd!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important}
.peakledger-unified .connection-heading strong{font-size:13px!important;font-weight:620!important}
.peakledger-unified .connection-heading small,.peakledger-unified .connection-card p{color:#8fa4b1!important}
.peakledger-unified .connection-pill{border-color:rgba(91,189,226,.13)!important;background:rgba(7,35,47,.66)!important;color:#9fc2d1!important}
.peakledger-unified .sidebar form{position:relative;z-index:2;margin:17px 22px 34px!important}
.peakledger-unified .logout{
    width:100%!important;height:58px!important;padding:0 24px!important;border:1px solid rgba(155,198,219,.22)!important;border-radius:10px!important;
    background:linear-gradient(180deg,rgba(21,42,54,.97),rgba(7,25,34,.99))!important;color:#edf4f7!important;
    font-size:16px!important;font-weight:500!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02),inset 0 -1px 0 rgba(0,0,0,.38)!important
}

/* ---------- content field and page header ---------- */
.peakledger-unified .main{
    grid-column:auto!important;margin-left:clamp(286px,17.4vw,330px)!important;max-width:none!important;width:auto!important;
    min-height:100vh!important;padding:0 26px 28px!important;
    background:radial-gradient(1000px 470px at 24% 2%,rgba(136,160,174,.036),transparent 73%),linear-gradient(180deg,rgba(8,25,34,.18),rgba(4,17,24,.28))!important
}
.peakledger-unified .settings-topbar,.peakledger-unified .data-topbar{
    position:relative!important;height:96px!important;min-height:96px!important;margin:0 -26px 20px!important;padding:0 40px!important;
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    background:linear-gradient(180deg,rgba(45,61,72,.94),rgba(12,29,39,.99)),url('/images/money-theme/metal-fill.webp') center/cover!important;
    border:0!important;border-bottom:1px solid rgba(160,197,216,.13)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035),inset 0 -2px 0 rgba(0,0,0,.55),0 5px 0 rgba(3,13,19,.55),0 9px 18px rgba(0,0,0,.18)!important
}
.peakledger-unified .settings-topbar::after,.peakledger-unified .data-topbar::after{
    content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:-4px!important;height:3px!important;
    background:linear-gradient(180deg,rgba(126,170,193,.11),rgba(2,10,15,.72))!important;box-shadow:0 1px 0 rgba(126,190,218,.04)!important
}
.peakledger-unified .title-row h1,.peakledger-unified .settings-topbar h1,.peakledger-unified .data-topbar h1{
    margin:0!important;color:#f1f5f7!important;font-size:34px!important;font-weight:720!important;line-height:1.02!important;letter-spacing:-.05em!important;text-shadow:0 1px 1px rgba(0,0,0,.38)!important
}
.peakledger-unified .title-row p,.peakledger-unified .settings-topbar p,.peakledger-unified .data-topbar p{margin:5px 0 0!important;color:#a1b1bb!important;font-size:14px!important;font-weight:430!important;letter-spacing:-.01em!important}
.peakledger-unified .back-dashboard{
    height:45px!important;padding:0 16px!important;border:1px solid rgba(101,190,226,.33)!important;border-radius:8px!important;
    background:linear-gradient(180deg,rgba(26,61,79,.88),rgba(8,32,44,.97))!important;color:#dfeef4!important;font-size:11px!important;font-weight:600!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 4px 10px rgba(0,0,0,.18)!important
}
.peakledger-unified footer{color:#627986!important;font-size:8px!important;padding-top:13px!important}

/* ---------- shared smoked-edge card material ---------- */
.peakledger-unified .card,
.peakledger-unified .data-summary-card,
.peakledger-unified .activity-summary>div,
.peakledger-unified .account-group-card,
.peakledger-unified .connection-hero,
.peakledger-unified .readiness,
.peakledger-unified .connection-family,
.peakledger-unified .live-provider,
.peakledger-unified .family-card,
.peakledger-unified .family-add-card,
.peakledger-unified .update-hero,
.peakledger-unified .update-status,
.peakledger-unified .update-upload,
.peakledger-unified .update-review,
.peakledger-unified .update-security,
.peakledger-unified .update-history,
.peakledger-unified .updater-side-card{
    border:1px solid rgba(164,197,214,.16)!important;
    background-image:
        radial-gradient(72px 110% at 0 50%,rgba(89,148,178,.038),transparent 74%),
        radial-gradient(72px 110% at 100% 50%,rgba(89,148,178,.032),transparent 74%),
        radial-gradient(42% 48px at 50% 0%,rgba(160,184,198,.022),transparent 76%),
        linear-gradient(180deg,rgba(22,35,44,.992) 0%,rgba(11,26,34,.997) 50%,rgba(6,19,27,1) 100%),
        url('/images/money-theme/metal-fill.webp')!important;
    background-size:auto,auto,auto,auto,cover!important;background-position:center!important;background-repeat:no-repeat!important;
    background-blend-mode:screen,screen,screen,normal,soft-light!important;
    box-shadow:inset 0 1px 0 rgba(224,238,245,.024),inset 1px 0 0 rgba(90,151,181,.025),inset -1px 0 0 rgba(90,151,181,.021),inset 0 -1px 0 rgba(0,0,0,.40),0 8px 18px rgba(0,0,0,.18)!important;
    backdrop-filter:none!important
}
.peakledger-unified h2,.peakledger-unified h3{color:#edf3f6!important;font-weight:635!important;letter-spacing:-.032em!important}
.peakledger-unified .settings-eyebrow{color:#69c9ed!important;font-weight:650!important;letter-spacing:.14em!important}

/* Accounts */
.peakledger-unified .data-summary-grid{gap:13px!important;margin-top:2px!important}
.peakledger-unified .data-summary-card{min-height:104px!important;padding:18px 20px!important;border-radius:9px!important}
.peakledger-unified .data-summary-card>span{color:#8ea2ae!important;font-size:9px!important;font-weight:650!important;letter-spacing:.08em!important}
.peakledger-unified .data-summary-card>strong{font-size:26px!important;font-weight:710!important;letter-spacing:-.035em!important}
.peakledger-unified .data-summary-card>small{color:#8297a4!important}
.peakledger-unified .account-groups{gap:14px!important;margin-top:15px!important}
.peakledger-unified .account-group-card{padding:21px!important;border-radius:9px!important}
.peakledger-unified .account-group-card::before{height:1px!important;opacity:.55!important}
.peakledger-unified .account-group-head h2{font-size:20px!important;font-weight:630!important}
.peakledger-unified .account-group-head p{color:#8498a4!important}
.peakledger-unified .account-detail-row{
    border-color:rgba(150,190,209,.07)!important;background:rgba(255,255,255,.010)!important;border-radius:8px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.008)!important
}
.peakledger-unified .account-detail-row:hover{border-color:rgba(98,184,222,.15)!important;background:rgba(70,112,134,.025)!important}
.peakledger-unified .account-detail-main strong{font-weight:600!important}
.peakledger-unified .account-detail-icon{background:rgba(27,70,90,.55)!important;color:#75d8f8!important}

/* Activity */
.peakledger-unified .activity-summary{gap:12px!important;margin-bottom:14px!important}
.peakledger-unified .activity-summary>div{min-height:88px!important;padding:16px 18px!important;border-radius:9px!important}
.peakledger-unified .activity-summary span{color:#8399a6!important;font-weight:650!important}
.peakledger-unified .activity-summary strong{font-size:20px!important;font-weight:680!important}
.peakledger-unified .activity-shell{border-radius:9px!important;overflow:hidden!important}
.peakledger-unified .activity-filters{border-bottom-color:rgba(155,193,211,.065)!important;background:rgba(4,18,26,.22)!important}
.peakledger-unified .activity-search,.peakledger-unified .activity-filters select,.peakledger-unified .activity-filters>button,.peakledger-unified .activity-filters>a{
    border-color:rgba(151,193,213,.14)!important;border-radius:8px!important;background:linear-gradient(180deg,rgba(13,31,40,.96),rgba(6,20,28,.99))!important;color:#bed0d9!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.018)!important
}
.peakledger-unified .activity-filters>button{border-color:rgba(76,181,223,.28)!important;background:linear-gradient(180deg,rgba(24,71,91,.94),rgba(8,38,51,.98))!important;color:#eff8fb!important}
.peakledger-unified .activity-table-row{border-top-color:rgba(150,188,207,.05)!important}
.peakledger-unified .activity-table-head{color:#708996!important;font-weight:650!important}
.peakledger-unified .activity-merchant>b{background:rgba(22,64,83,.72)!important;color:#72d3f5!important}
.peakledger-unified .activity-merchant strong{font-weight:600!important}
.peakledger-unified .activity-account,.peakledger-unified .activity-category,.peakledger-unified .activity-date{color:#8da1ad!important}
.peakledger-unified .activity-pagination{border-top-color:rgba(153,190,208,.055)!important}

/* Connections */
.peakledger-unified .connection-hero{border-radius:9px!important;padding:25px 28px!important}
.peakledger-unified .connection-hero h2{font-size:27px!important;font-weight:640!important}
.peakledger-unified .connection-hero p{color:#93a7b3!important}
.peakledger-unified .readiness-grid{gap:12px!important}
.peakledger-unified .readiness{border-radius:9px!important}
.peakledger-unified .connection-family,.peakledger-unified .live-provider{border-radius:9px!important}
.peakledger-unified .family-card,.peakledger-unified .family-add-card{border-radius:9px!important;background:linear-gradient(180deg,rgba(15,30,39,.98),rgba(6,20,28,.998))!important}
.peakledger-unified .family-account-row,.peakledger-unified .compact-live-account,.peakledger-unified .holding-row,.peakledger-unified .live-pending-row{
    border-color:rgba(151,190,209,.06)!important;background:rgba(255,255,255,.010)!important
}
.peakledger-unified .connection-label-input,.peakledger-unified .name-editor input{
    border-color:rgba(151,191,211,.14)!important;background:#071c26!important;color:#e6eef2!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.016)!important
}
.peakledger-unified .connect-button,.peakledger-unified .neutral-button,.peakledger-unified .promote-button{
    border-color:rgba(86,186,225,.24)!important;background:linear-gradient(180deg,rgba(22,65,84,.93),rgba(7,34,47,.98))!important;color:#eaf7fb!important;border-radius:8px!important
}
.peakledger-unified .danger-button{border-radius:8px!important;background:rgba(78,26,34,.26)!important;border-color:rgba(231,101,113,.19)!important;color:#efadb3!important}
.peakledger-unified .provider-logo,.peakledger-unified .paypal-add-icon{background:rgba(12,37,49,.85)!important;border-color:rgba(146,191,211,.10)!important}
.peakledger-unified .fidelity-logo{
    color:transparent!important;background:
        radial-gradient(circle at 50% 50%,#3e8d31 0 56%,transparent 58%),
        linear-gradient(145deg,#10262d,#071820)!important;
    position:relative!important
}
.peakledger-unified .fidelity-logo::after{content:"✦";position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:25px}

/* Updates */
.peakledger-unified .update-main{padding-top:0!important}
.peakledger-unified .update-hero,.peakledger-unified .update-status,.peakledger-unified .update-upload,.peakledger-unified .update-review,.peakledger-unified .update-security,.peakledger-unified .update-history{border-radius:9px!important}
.peakledger-unified .zip-drop{
    border-color:rgba(123,182,211,.17)!important;background:linear-gradient(180deg,rgba(12,31,40,.93),rgba(5,20,28,.98))!important;border-radius:9px!important
}
.peakledger-unified .zip-drop:hover{border-color:rgba(88,192,232,.32)!important;background:linear-gradient(180deg,rgba(15,38,49,.96),rgba(6,24,33,.99))!important}
.peakledger-unified .verify-update-button,.peakledger-unified .apply-update-button{
    border-color:rgba(83,190,230,.30)!important;background:linear-gradient(180deg,rgba(25,72,92,.95),rgba(8,37,50,.99))!important;border-radius:8px!important;color:#f0f8fb!important
}
.peakledger-unified .discard-update-button,.peakledger-unified .rollback-button{border-radius:8px!important;background:rgba(12,31,40,.92)!important;border-color:rgba(151,190,209,.12)!important;color:#b8cbd4!important}
.peakledger-unified .history-entry,.peakledger-unified .rule,.peakledger-unified .safety-strip,.peakledger-unified .update-facts>div,.peakledger-unified .updater-status-grid>div{
    background:rgba(255,255,255,.010)!important;border-color:rgba(151,190,209,.055)!important
}

/* ---------- sign in ---------- */
body.peakledger-login{display:grid!important;place-items:center!important;min-height:100vh!important;padding:28px!important}
.peakledger-login .login-shell{width:min(520px,100%)!important}
.peakledger-login .login-card{
    border:1px solid rgba(168,201,218,.18)!important;border-radius:14px!important;padding:32px!important;
    background:
        radial-gradient(85px 120% at 0 50%,rgba(88,148,178,.035),transparent 75%),
        radial-gradient(85px 120% at 100% 50%,rgba(88,148,178,.03),transparent 75%),
        linear-gradient(180deg,rgba(24,39,48,.99),rgba(8,23,31,.999)),
        url('/images/money-theme/metal-fill.webp') center/cover!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.026),inset 0 -1px 0 rgba(0,0,0,.4),0 24px 70px rgba(0,0,0,.35)!important
}
.peakledger-login .brand{align-items:center!important;gap:14px!important}
.peakledger-login .brand .wolf{width:60px!important;height:72px!important;border:0!important;border-radius:0!important;background:url('/images/money-theme/wolfleap-mark.png') center/contain no-repeat!important;box-shadow:none!important;filter:grayscale(1) brightness(2.05) contrast(.82)}
.peakledger-login .brand strong{font-size:22px!important;font-weight:680!important;letter-spacing:-.04em!important}
.peakledger-login .brand span{color:#8da2ad!important}
.peakledger-login .eyebrow{color:#68caed!important}
.peakledger-login .login-copy h1{font-weight:690!important;letter-spacing:-.052em!important}
.peakledger-login .login-copy p,.peakledger-login .login-foot{color:#8fa4b0!important}
.peakledger-login .password-row{border-color:rgba(151,191,211,.16)!important;background:#071c26!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.016)!important}
.peakledger-login .login-button{border-color:rgba(88,193,233,.30)!important;background:linear-gradient(180deg,rgba(25,73,94,.96),rgba(8,38,51,.99))!important;border-radius:9px!important}

@media(max-width:1280px){
    .peakledger-unified .sidebar{width:250px!important}
    .peakledger-unified .main{margin-left:250px!important}
    .peakledger-unified .brand{padding-left:28px!important}
}
@media(max-width:980px){
    .peakledger-unified .sidebar{width:292px!important;transform:translateX(-102%)!important;transition:transform .22s ease!important}
    .peakledger-unified .sidebar.open{transform:none!important}
    .peakledger-unified .main{margin-left:0!important;padding-left:18px!important;padding-right:18px!important}
    .peakledger-unified .settings-topbar,.peakledger-unified .data-topbar{margin-left:-18px!important;margin-right:-18px!important;padding-left:18px!important;padding-right:18px!important}
    .peakledger-unified .menu{display:grid!important;place-items:center!important}
}
@media(max-width:720px){
    .peakledger-unified .main{padding-left:12px!important;padding-right:12px!important}
    .peakledger-unified .settings-topbar,.peakledger-unified .data-topbar{height:auto!important;min-height:78px!important;margin-left:-12px!important;margin-right:-12px!important;padding:12px!important}
    .peakledger-unified .title-row h1,.peakledger-unified .settings-topbar h1,.peakledger-unified .data-topbar h1{font-size:26px!important}
}

/* ========================================================================
   PeakLedger v1.25.1 — subpage consistency + readability pass
   ======================================================================== */

/* Use the same real wolf mark everywhere. This avoids legacy .wolf rules on
   Settings/Updates replacing the logo with a plain box. */
.peakledger-unified .peakledger-brand-mark{
    flex:0 0 74px!important;
    width:74px!important;
    height:94px!important;
    object-fit:contain!important;
    display:block!important;
    filter:grayscale(1) brightness(2.05) contrast(.82) drop-shadow(0 0 5px rgba(143,214,243,.06))!important;
}
.peakledger-unified .brand>div:last-child{padding-top:17px!important}

/* Slightly larger, calmer supporting typography. The dashboard is already
   comfortable; these overrides bring the dense subpages up to the same scale. */
.peakledger-unified .back-dashboard{font-size:12px!important}
.peakledger-unified .connection-heading strong{font-size:14px!important}
.peakledger-unified .connection-heading small{font-size:11px!important}
.peakledger-unified .connection-card p{font-size:12px!important;line-height:1.52!important}
.peakledger-unified .connection-pill{font-size:10.5px!important}

/* Accounts */
.peakledger-unified .data-summary-card>span{font-size:10px!important;letter-spacing:.07em!important}
.peakledger-unified .data-summary-card>strong{font-size:28px!important}
.peakledger-unified .data-summary-card>small{font-size:11px!important}
.peakledger-unified .account-group-head>div>span{font-size:10px!important}
.peakledger-unified .account-group-head h2{font-size:22px!important}
.peakledger-unified .account-group-head p{font-size:11.5px!important;line-height:1.45!important}
.peakledger-unified .account-group-head>a{font-size:11px!important}
.peakledger-unified .account-detail-main strong{font-size:13.5px!important}
.peakledger-unified .account-detail-main span{font-size:11px!important;line-height:1.35!important}
.peakledger-unified .account-detail-main small{font-size:10px!important;line-height:1.35!important}
.peakledger-unified .account-detail-balance>span{font-size:9.5px!important}
.peakledger-unified .account-detail-balance>strong{font-size:18px!important}
.peakledger-unified .account-detail-balance>small{font-size:10px!important}
.peakledger-unified .account-detail-icon{font-size:14px!important}

/* Activity */
.peakledger-unified .activity-summary span{font-size:9.5px!important}
.peakledger-unified .activity-summary strong{font-size:21px!important}
.peakledger-unified .activity-search input{font-size:12px!important}
.peakledger-unified .activity-filters select,
.peakledger-unified .activity-filters>button,
.peakledger-unified .activity-filters>a{font-size:11px!important}
.peakledger-unified .activity-table-head{font-size:9.5px!important}
.peakledger-unified .activity-merchant strong{font-size:12px!important;font-weight:610!important}
.peakledger-unified .activity-merchant small{font-size:9.5px!important}
.peakledger-unified .activity-account,
.peakledger-unified .activity-category,
.peakledger-unified .activity-date{font-size:10.5px!important}
.peakledger-unified .activity-amount{font-size:12px!important;font-weight:650!important}
.peakledger-unified .activity-pagination{font-size:10px!important}

/* Connections */
.peakledger-unified.settings-page .connection-hero h2{font-size:28px!important}
.peakledger-unified.settings-page .connection-hero p{font-size:14px!important;line-height:1.55!important}
.peakledger-unified.settings-page .settings-eyebrow{font-size:10.5px!important}
.peakledger-unified.settings-page .mode-badge{font-size:11.5px!important}
.peakledger-unified.settings-page .readiness>span{font-size:10px!important}
.peakledger-unified.settings-page .readiness>strong{font-size:19px!important}
.peakledger-unified.settings-page .readiness>small{font-size:10.5px!important}
.peakledger-unified.settings-page .family-head h2,
.peakledger-unified.settings-page .live-provider-title h2{font-size:23px!important}
.peakledger-unified.settings-page .family-head p,
.peakledger-unified.settings-page .live-provider-title p{font-size:12.5px!important;line-height:1.5!important}
.peakledger-unified.settings-page .provider-count{font-size:10.5px!important}
.peakledger-unified.settings-page .family-card-head>div>span{font-size:9.5px!important}
.peakledger-unified.settings-page .family-card-head h3{font-size:18px!important}
.peakledger-unified.settings-page .family-account-row>div>strong,
.peakledger-unified.settings-page .compact-live-account>div strong{font-size:12.5px!important}
.peakledger-unified.settings-page .family-account-row>div>span,
.peakledger-unified.settings-page .compact-live-account>div span{font-size:10.5px!important}
.peakledger-unified.settings-page .family-account-row>div>small{font-size:9.5px!important}
.peakledger-unified.settings-page .family-account-row>strong,
.peakledger-unified.settings-page .compact-live-account>strong{font-size:13px!important}
.peakledger-unified.settings-page .name-editor>summary,
.peakledger-unified.settings-page .paypal-mini-activity>summary,
.peakledger-unified.settings-page .live-details>summary{font-size:11px!important}
.peakledger-unified.settings-page .connect-button,
.peakledger-unified.settings-page .promote-button,
.peakledger-unified.settings-page .neutral-button,
.peakledger-unified.settings-page .danger-button{font-size:11.5px!important}

/* Updates */
.peakledger-unified.update-page .update-hero h2{font-size:24px!important;line-height:1.18!important}
.peakledger-unified.update-page .update-hero p{font-size:12px!important;line-height:1.55!important}
.peakledger-unified.update-page .update-status>span{font-size:9.5px!important}
.peakledger-unified.update-page .update-status>strong{font-size:17px!important}
.peakledger-unified.update-page .update-status>small{font-size:10px!important}
.peakledger-unified.update-page .upload-copy h2,
.peakledger-unified.update-page .update-review h2{font-size:22px!important}
.peakledger-unified.update-page .upload-copy p,
.peakledger-unified.update-page .release-note p,
.peakledger-unified.update-page .safety-strip{font-size:11px!important;line-height:1.5!important}
.peakledger-unified.update-page .zip-drop strong{font-size:13px!important}
.peakledger-unified.update-page .zip-drop span{font-size:10.5px!important}
.peakledger-unified.update-page .zip-drop small{font-size:9.5px!important}
.peakledger-unified.update-page .verify-update-button,
.peakledger-unified.update-page .apply-update-button,
.peakledger-unified.update-page .discard-update-button,
.peakledger-unified.update-page .rollback-button{font-size:11.5px!important}
.peakledger-unified.update-page .rule strong,
.peakledger-unified.update-page .history-entry strong{font-size:11px!important}
.peakledger-unified.update-page .rule small,
.peakledger-unified.update-page .history-entry small{font-size:9.5px!important;line-height:1.45!important}

@media(max-width:1280px){
    .peakledger-unified .peakledger-brand-mark{width:65px!important;height:82px!important;flex-basis:65px!important}
}

/* ========================================================================
   PeakLedger v1.25.2 — Readability pass
   Larger supporting text on dense subpages without changing layout geometry.
   ======================================================================== */
.peakledger-unified .title-row p,
.peakledger-unified .settings-topbar p,
.peakledger-unified .data-topbar p{font-size:15px!important;line-height:1.45!important}
.peakledger-unified footer{font-size:9.5px!important}
.peakledger-unified .connection-heading strong{font-size:14.5px!important}
.peakledger-unified .connection-heading small{font-size:11.5px!important}
.peakledger-unified .connection-card p{font-size:12.5px!important}
.peakledger-unified .connection-pill{font-size:11px!important}

/* Accounts */
.peakledger-unified .data-summary-card>span{font-size:10.5px!important}
.peakledger-unified .data-summary-card>small{font-size:11.5px!important}
.peakledger-unified .account-group-head>div>span{font-size:10.5px!important}
.peakledger-unified .account-group-head p{font-size:12px!important}
.peakledger-unified .account-group-head>a{font-size:11.5px!important}
.peakledger-unified .account-detail-main strong{font-size:14px!important}
.peakledger-unified .account-detail-main span{font-size:11.5px!important}
.peakledger-unified .account-detail-main small{font-size:10.5px!important}
.peakledger-unified .account-detail-balance>span{font-size:10px!important}
.peakledger-unified .account-detail-balance>small{font-size:10.5px!important}

/* Activity */
.peakledger-unified .activity-summary span{font-size:10.5px!important}
.peakledger-unified .activity-summary strong{font-size:22px!important}
.peakledger-unified .activity-search input{font-size:13px!important}
.peakledger-unified .activity-filters select,
.peakledger-unified .activity-filters>button,
.peakledger-unified .activity-filters>a{font-size:12px!important}
.peakledger-unified .activity-table-head{font-size:10.5px!important;letter-spacing:.04em!important}
.peakledger-unified .activity-merchant strong{font-size:13.5px!important;font-weight:610!important}
.peakledger-unified .activity-merchant small{font-size:10.5px!important}
.peakledger-unified .activity-account,
.peakledger-unified .activity-category,
.peakledger-unified .activity-date{font-size:11.5px!important}
.peakledger-unified .activity-amount{font-size:13px!important}
.peakledger-unified .activity-pagination{font-size:11px!important}

/* Connections */
.peakledger-unified.settings-page .settings-eyebrow{font-size:11px!important}
.peakledger-unified.settings-page .mode-badge{font-size:12px!important}
.peakledger-unified.settings-page .readiness>span{font-size:10.5px!important}
.peakledger-unified.settings-page .readiness>small{font-size:11px!important}
.peakledger-unified.settings-page .family-head p,
.peakledger-unified.settings-page .live-provider-title p{font-size:13px!important}
.peakledger-unified.settings-page .provider-count{font-size:11px!important}
.peakledger-unified.settings-page .family-card-head>div>span{font-size:10px!important}
.peakledger-unified.settings-page .family-account-row>div>strong,
.peakledger-unified.settings-page .compact-live-account>div strong{font-size:13px!important}
.peakledger-unified.settings-page .family-account-row>div>span,
.peakledger-unified.settings-page .compact-live-account>div span{font-size:11px!important}
.peakledger-unified.settings-page .family-account-row>div>small{font-size:10px!important}
.peakledger-unified.settings-page .name-editor>summary,
.peakledger-unified.settings-page .paypal-mini-activity>summary,
.peakledger-unified.settings-page .live-details>summary{font-size:11.5px!important}
.peakledger-unified.settings-page .connect-button,
.peakledger-unified.settings-page .promote-button,
.peakledger-unified.settings-page .neutral-button,
.peakledger-unified.settings-page .danger-button{font-size:12px!important}

/* Updates */
.peakledger-unified.update-page .update-hero p{font-size:13px!important}
.peakledger-unified.update-page .update-status>span{font-size:10.5px!important}
.peakledger-unified.update-page .update-status>strong{font-size:18px!important}
.peakledger-unified.update-page .update-status>small{font-size:11px!important}
.peakledger-unified.update-page .upload-copy p,
.peakledger-unified.update-page .release-note p,
.peakledger-unified.update-page .safety-strip{font-size:12px!important;line-height:1.55!important}
.peakledger-unified.update-page .zip-drop strong{font-size:14px!important}
.peakledger-unified.update-page .zip-drop span{font-size:11.5px!important}
.peakledger-unified.update-page .zip-drop small{font-size:10.5px!important}
.peakledger-unified.update-page .verify-update-button,
.peakledger-unified.update-page .apply-update-button,
.peakledger-unified.update-page .discard-update-button,
.peakledger-unified.update-page .rollback-button{font-size:12px!important}
.peakledger-unified.update-page .rule strong,
.peakledger-unified.update-page .history-entry strong{font-size:12.5px!important}
.peakledger-unified.update-page .rule small,
.peakledger-unified.update-page .history-entry small{font-size:10.5px!important;line-height:1.5!important}
.peakledger-unified.update-page .history-pill,
.peakledger-unified.update-page .history-status,
.peakledger-unified.update-page .verified-badge{font-size:9.5px!important}

/* v1.25.3 — Consolidated Accounts navigation */
.account-view-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin:14px 0 10px;
    padding:10px 12px 10px 16px;
    border:1px solid rgba(151,190,210,.14);
    border-radius:9px;
    background:linear-gradient(180deg,rgba(20,36,45,.80),rgba(8,23,31,.88));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
}
.account-view-toolbar>span{
    color:#819aa9;
    font-size:11px;
    font-weight:700;
    letter-spacing:.11em;
}
.account-view-tabs{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.account-view-tabs button{
    min-height:34px;
    padding:0 13px;
    border:1px solid rgba(139,182,203,.14);
    border-radius:7px;
    background:rgba(5,21,29,.70);
    color:#aebfca;
    font:600 12px/1 "Inter","Segoe UI Variable Text","Segoe UI",system-ui,sans-serif;
    cursor:pointer;
}
.account-view-tabs button:hover{color:#e7f2f7;border-color:rgba(93,190,229,.28)}
.account-view-tabs button.active{
    color:#effaff;
    border-color:rgba(89,204,247,.43);
    background:linear-gradient(180deg,rgba(29,83,108,.78),rgba(10,42,57,.86));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 0 8px rgba(55,181,230,.055);
}
.account-detail-row[hidden],.account-group-card[hidden]{display:none!important}
@media(max-width:760px){.account-view-toolbar{align-items:flex-start;flex-direction:column}.account-view-tabs{justify-content:flex-start}}

/* PeakLedger v1.28.0 — Personal / Business organization */
.peakledger-unified .page-scopebar{display:flex;align-items:center;gap:6px;margin:13px 0 3px;padding:7px 8px;border:1px solid rgba(135,185,207,.11);border-radius:9px;background:rgba(5,21,30,.38)}
.peakledger-unified .page-scopebar>span{margin:0 4px;color:#718996;font-size:8px;font-weight:800;letter-spacing:.08em}
.peakledger-unified .page-scopebar>a{min-height:30px;display:inline-flex;align-items:center;gap:6px;padding:0 11px;border-radius:7px;color:#8198a5;font-size:10px;font-weight:650;text-decoration:none}
.peakledger-unified .page-scopebar>a:hover{color:#d7eaf2;background:rgba(48,134,169,.07)}
.peakledger-unified .page-scopebar>a.active{color:#dff6ff;background:rgba(45,139,177,.18);box-shadow:inset 0 0 0 1px rgba(86,190,230,.16)}
.peakledger-unified .page-scopebar>a b{min-width:16px;height:16px;display:grid;place-items:center;padding:0 4px;border-radius:999px;background:rgba(255,255,255,.045);font-size:7px}
.peakledger-unified .page-scopebar>a.scope-manage{margin-left:auto;color:#cbb078;font-size:9px}
.peakledger-unified .account-setting-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;align-items:end}
.peakledger-unified .account-setting-row label{min-width:0}
.peakledger-unified .account-scope-field select{width:100%;height:41px;padding:0 10px;border:1px solid rgba(163,198,220,.20);border-radius:8px;background:rgba(4,16,24,.60);color:#dce9ef;font-size:11px;outline:none}
.peakledger-unified .account-scope-field select:focus{border-color:rgba(91,193,234,.48);box-shadow:0 0 0 2px rgba(54,164,207,.08)}
.peakledger-unified .scope-tag{display:inline-flex!important;width:max-content!important;margin-top:5px!important;padding:2px 6px!important;border:1px solid rgba(125,180,205,.12)!important;border-radius:999px!important;background:rgba(7,27,37,.44)!important;color:#8197a4!important;font-size:7.5px!important;font-weight:700!important;line-height:1.15!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.peakledger-unified .scope-tag.personal{color:#8fc9df!important}.peakledger-unified .scope-tag.business{color:#8fd0bb!important}.peakledger-unified .scope-tag.unassigned{color:#bca87e!important}
@media(max-width:720px){.peakledger-unified .page-scopebar{flex-wrap:wrap}.peakledger-unified .page-scopebar>a.scope-manage{width:100%;margin-left:0}.peakledger-unified .account-setting-row{grid-template-columns:1fr}}

/* PeakLedger v1.29.0 — business entity organization + faster ledger browsing */
.peakledger-unified .page-entitybar{display:flex;align-items:center;gap:6px;margin:7px 0 3px;padding:6px 8px;border:1px solid rgba(130,183,205,.09);border-radius:8px;background:rgba(4,19,28,.31);overflow-x:auto;scrollbar-width:thin}
.peakledger-unified .page-entitybar>span{flex:0 0 auto;margin:0 4px;color:#6c8591;font-size:8px;font-weight:800;letter-spacing:.08em}
.peakledger-unified .page-entitybar>a{flex:0 0 auto;min-height:29px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border-radius:7px;color:#8198a5;font-size:10px;font-weight:650;text-decoration:none;white-space:nowrap}
.peakledger-unified .page-entitybar>a:hover{color:#d7eaf2;background:rgba(48,134,169,.07)}
.peakledger-unified .page-entitybar>a.active{color:#dff6ff;background:rgba(45,139,177,.18);box-shadow:inset 0 0 0 1px rgba(86,190,230,.14)}
.peakledger-unified .page-entitybar>a b{min-width:16px;height:16px;display:grid;place-items:center;padding:0 4px;border-radius:999px;background:rgba(255,255,255,.045);font-size:7px}
.peakledger-unified .page-entitybar>a.entity-manage{margin-left:auto;color:#7faebe}

.peakledger-unified .account-setting-row{grid-template-columns:minmax(0,1fr) 145px minmax(190px,.72fr)}
.peakledger-unified .account-entity-field span{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.peakledger-unified .account-entity-field span small{color:#607783;font-size:8px;font-weight:500}
.peakledger-unified .account-entity-field input{width:100%;height:41px;padding:0 10px;border:1px solid rgba(163,198,220,.20);border-radius:8px;background:rgba(4,16,24,.60);color:#dce9ef;font-size:11px;outline:none}
.peakledger-unified .account-entity-field input:focus{border-color:rgba(91,193,234,.48);box-shadow:0 0 0 2px rgba(54,164,207,.08)}
.peakledger-unified .account-entity-field input::placeholder{color:#657c88}
.peakledger-unified .activity-filters{flex-wrap:wrap}
.peakledger-unified .activity-filters select[name="period"]{min-width:128px}

@media(max-width:1120px){.peakledger-unified .account-setting-row{grid-template-columns:minmax(0,1fr) 145px}.peakledger-unified .account-entity-field{grid-column:1/-1}}
@media(max-width:720px){.peakledger-unified .page-entitybar>a.entity-manage{margin-left:0}.peakledger-unified .account-setting-row{grid-template-columns:1fr}.peakledger-unified .account-entity-field{grid-column:auto}}


/* PeakLedger v1.29.5 — Connections account-organizer layout polish
   Give the account identity/nickname a full row so long account names never collapse vertically. */
.peakledger-unified.settings-page .account-setting-row{
    display:grid;
    grid-template-columns:minmax(180px,.72fr) minmax(260px,1.28fr);
    grid-template-areas:
        "name name"
        "scope entity";
    gap:11px 12px;
    align-items:end;
    padding:13px;
    border:1px solid rgba(130,181,211,.08);
    border-radius:10px;
    background:rgba(255,255,255,.012);
}
.peakledger-unified.settings-page .account-setting-row + .account-setting-row{
    margin-top:10px;
}
.peakledger-unified.settings-page .account-setting-row>label{
    min-width:0;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
}
.peakledger-unified.settings-page .account-name-field{grid-area:name}
.peakledger-unified.settings-page .account-scope-field{grid-area:scope}
.peakledger-unified.settings-page .account-entity-field{grid-area:entity}

.peakledger-unified.settings-page .account-name-field>span{
    display:block;
    margin:0 0 7px!important;
    color:#d4e2e8!important;
    font-size:11.5px!important;
    font-weight:650!important;
    line-height:1.35!important;
    letter-spacing:.015em!important;
    white-space:normal!important;
    overflow-wrap:anywhere;
}
.peakledger-unified.settings-page .account-scope-field>span,
.peakledger-unified.settings-page .account-entity-field>span{
    min-height:18px;
    margin:0 0 7px!important;
    color:#8fa6b2!important;
    font-size:9.5px!important;
    font-weight:750!important;
    line-height:1.25!important;
    letter-spacing:.055em!important;
    text-transform:uppercase;
}
.peakledger-unified.settings-page .account-entity-field>span small{
    color:#687f8b!important;
    font-size:8.5px!important;
    font-weight:600!important;
    letter-spacing:.035em!important;
    text-transform:none;
}
.peakledger-unified.settings-page .account-name-field input,
.peakledger-unified.settings-page .account-scope-field select,
.peakledger-unified.settings-page .account-entity-field input{
    height:43px!important;
    font-size:12px!important;
}
.peakledger-unified.settings-page .nickname-fields{
    display:block!important;
}

@media(max-width:840px){
    .peakledger-unified.settings-page .account-setting-row{
        grid-template-columns:1fr;
        grid-template-areas:
            "name"
            "scope"
            "entity";
    }
}


/* PeakLedger v1.30.0 — compact connection add cards */
.peakledger-unified.settings-page .family-add-card{
    align-self:start!important;
    height:auto!important;
    min-height:0!important;
    justify-content:flex-start!important;
}
.peakledger-unified.settings-page .family-add-card>.connect-button{
    flex:0 0 auto!important;
    width:100%!important;
    height:43px!important;
    min-height:43px!important;
    max-height:43px!important;
    margin-top:2px!important;
}

/* Activity: reference rows stay visible, but read as supporting ledger detail. */
.peakledger-unified .activity-reference-note{
    margin:12px 0;
    padding:11px 13px;
    display:flex;
    align-items:flex-start;
    gap:10px;
    border:1px solid rgba(138,179,198,.12);
    border-radius:8px;
    background:rgba(11,29,38,.72);
}
.peakledger-unified .activity-reference-note strong{
    flex:0 0 auto;
    color:#c7d7de;
    font-size:10.5px;
}
.peakledger-unified .activity-reference-note span{
    color:#849aa6;
    font-size:10px;
    line-height:1.4;
}
.peakledger-unified .activity-table-row.reference-only{
    background:rgba(116,143,157,.025);
}
.peakledger-unified .activity-table-row.reference-only .activity-merchant>b{
    color:#a7b9c2;
    background:rgba(112,139,153,.11);
}
.peakledger-unified .activity-table-row.reference-only .activity-merchant small{
    color:#8da1ab;
}
@media(max-width:720px){
    .peakledger-unified .activity-reference-note{
        display:block;
    }
    .peakledger-unified .activity-reference-note strong{
        display:block;
        margin-bottom:4px;
    }
}


/* PeakLedger v1.30.1 — transaction right-click actions */
.wm2-activity-context-menu{
    position:fixed;
    z-index:10050;
    width:min(310px,calc(100vw - 20px));
    padding:7px;
    border:1px solid rgba(113,193,226,.24);
    border-radius:10px;
    background:linear-gradient(180deg,rgba(18,39,50,.985),rgba(5,20,29,.99));
    box-shadow:0 16px 42px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.025);
    backdrop-filter:blur(12px);
}
.wm2-activity-context-label{
    padding:6px 9px 7px;
    overflow:hidden;
    color:#8097a3;
    font-size:9px;
    font-weight:650;
    line-height:1.25;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.wm2-activity-context-menu button{
    width:100%;
    min-height:52px;
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    align-items:center;
    gap:9px;
    padding:7px 9px;
    border:1px solid transparent;
    border-radius:8px;
    background:transparent;
    color:#dceaf0;
    text-align:left;
    cursor:pointer;
}
.wm2-activity-context-menu button:hover,
.wm2-activity-context-menu button:focus-visible{
    border-color:rgba(76,197,240,.20);
    outline:none;
    background:rgba(39,151,192,.12);
}
.wm2-activity-context-icon{
    width:32px;
    height:32px;
    display:grid;
    place-items:center;
    border:1px solid rgba(87,195,235,.18);
    border-radius:8px;
    background:rgba(22,126,165,.12);
    color:#77d9fb;
    font-size:16px;
}
.wm2-activity-context-menu button>span:last-child{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
}
.wm2-activity-context-menu button strong{
    font-size:11px;
    font-weight:700;
}
.wm2-activity-context-menu button small{
    color:#8299a5;
    font-size:9px;
    line-height:1.3;
}
[data-activity-query]{
    -webkit-touch-callout:none;
}


/* PeakLedger v1.30.2 — filtered Activity totals */
.peakledger-unified .activity-filtered-total{
    display:grid;
    grid-template-columns:minmax(220px,.8fr) minmax(420px,1.6fr);
    align-items:center;
    gap:16px;
    padding:14px 16px;
    border-top:1px solid rgba(110,166,191,.11);
    border-bottom:1px solid rgba(110,166,191,.11);
    background:linear-gradient(180deg,rgba(13,31,40,.72),rgba(7,23,31,.78));
}
.peakledger-unified .activity-filtered-total-copy{
    min-width:0;
}
.peakledger-unified .activity-filtered-total-copy>span{
    display:block;
    margin-bottom:3px;
    color:#7893a1;
    font-size:9.5px;
    font-weight:750;
    letter-spacing:.07em;
}
.peakledger-unified .activity-filtered-total-copy>strong{
    display:block;
    color:#edf6f8;
    font-size:22px;
    line-height:1.05;
}
.peakledger-unified .activity-filtered-total-copy>small{
    display:block;
    margin-top:4px;
    color:#839aa5;
    font-size:9.5px;
    line-height:1.35;
}
.peakledger-unified .activity-filtered-total-breakdown{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
}
.peakledger-unified .activity-filtered-total-breakdown>div{
    min-width:0;
    padding:9px 11px;
    border:1px solid rgba(112,171,197,.09);
    border-radius:7px;
    background:rgba(255,255,255,.012);
}
.peakledger-unified .activity-filtered-total-breakdown span{
    display:block;
    margin-bottom:3px;
    color:#718b98;
    font-size:8.8px;
    font-weight:750;
    letter-spacing:.06em;
}
.peakledger-unified .activity-filtered-total-breakdown strong{
    display:block;
    color:#dcebf0;
    font-size:13px;
}
.peakledger-unified .activity-filtered-total>p{
    grid-column:1/-1;
    margin:0;
    color:#738a96;
    font-size:8.8px;
    line-height:1.35;
}
@media(max-width:900px){
    .peakledger-unified .activity-filtered-total{
        grid-template-columns:1fr;
    }
}
@media(max-width:560px){
    .peakledger-unified .activity-filtered-total-breakdown{
        grid-template-columns:1fr;
    }
}


/* PeakLedger v1.30.3 — Activity filter-bar + footer polish */
.peakledger-unified .activity-filters{
    display:grid!important;
    grid-template-columns:minmax(250px,1fr) 145px minmax(180px,240px) 126px 74px 64px!important;
    gap:8px!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    padding:12px 14px!important;
}
.peakledger-unified .activity-search{
    width:100%!important;
    min-width:0!important;
}
.peakledger-unified .activity-filters select{
    width:100%!important;
    min-width:0!important;
}
.peakledger-unified .activity-filters select[name="account"],
.peakledger-unified .activity-filters select[name="period"]{
    min-width:0!important;
}
.peakledger-unified .activity-filters>button,
.peakledger-unified .activity-filters>a.activity-clear{
    width:100%!important;
    min-width:0!important;
    padding:0 9px!important;
    white-space:nowrap;
}
.peakledger-unified .activity-filters>a.activity-clear{
    display:grid!important;
    place-items:center!important;
    border-color:rgba(137,176,195,.12)!important;
    background:rgba(7,24,32,.72)!important;
    color:#93a7b2!important;
    text-decoration:none!important;
}
.peakledger-unified .activity-filters>a.activity-clear:hover{
    border-color:rgba(94,190,229,.22)!important;
    color:#d9e9ef!important;
    background:rgba(35,104,132,.08)!important;
}

/* Keep the filtered summary as a clean, compact footer strip. */
.peakledger-unified .activity-filtered-total{
    padding:12px 14px!important;
    gap:14px!important;
}
.peakledger-unified .activity-filtered-total-copy>small{
    max-width:360px;
}
.peakledger-unified .activity-filtered-total>p{
    margin-top:-2px!important;
    color:#708894!important;
}

/* Retire the old large explanatory banner. */
.peakledger-unified .activity-reference-note{
    display:none!important;
}

@media(max-width:1220px){
    .peakledger-unified .activity-filters{
        grid-template-columns:minmax(220px,1fr) 130px minmax(165px,210px) 116px 70px 60px!important;
    }
}
@media(max-width:1040px){
    .peakledger-unified .activity-filters{
        grid-template-columns:1fr 1fr 1fr!important;
    }
    .peakledger-unified .activity-search{
        grid-column:1/-1!important;
    }
}
@media(max-width:720px){
    .peakledger-unified .activity-filters{
        grid-template-columns:1fr 1fr!important;
    }
    .peakledger-unified .activity-search,
    .peakledger-unified .activity-filters select[name="account"],
    .peakledger-unified .activity-filters select[name="period"]{
        grid-column:1/-1!important;
    }
}


/* PeakLedger v1.30.6 — calendar-year and custom Activity ranges */
.peakledger-unified .activity-custom-range{
    grid-column:1/-1;
    display:flex;
    justify-content:flex-end;
    align-items:end;
    gap:8px;
    padding-top:3px;
}
.peakledger-unified .activity-custom-range[hidden]{
    display:none!important;
}
.peakledger-unified .activity-custom-range label{
    display:grid;
    gap:4px;
    min-width:170px;
}
.peakledger-unified .activity-custom-range label>span{
    color:#7d95a1;
    font-size:9px;
    font-weight:750;
    letter-spacing:.05em;
    text-transform:uppercase;
}
.peakledger-unified .activity-custom-range input[type="date"]{
    width:100%;
    height:39px;
    box-sizing:border-box;
    padding:0 10px;
    border:1px solid rgba(125,173,194,.14);
    border-radius:7px;
    outline:none;
    background:rgba(4,19,27,.86);
    color:#dce9ee;
    font:inherit;
    font-size:11px;
    color-scheme:dark;
}
.peakledger-unified .activity-custom-range input[type="date"]:focus{
    border-color:rgba(71,191,236,.35);
    box-shadow:0 0 0 2px rgba(54,175,221,.07);
}
.peakledger-unified .activity-date-arrow{
    height:39px;
    display:grid;
    place-items:center;
    color:#66818e;
    font-size:13px;
}
@media(max-width:720px){
    .peakledger-unified .activity-custom-range{
        justify-content:stretch;
        display:grid;
        grid-template-columns:1fr auto 1fr;
    }
    .peakledger-unified .activity-custom-range label{
        min-width:0;
    }
}


/* PeakLedger v1.31.0 — PayPal reference reconciliation */
.peakledger-unified .activity-table-row.reference-only{
    opacity:.78;
}
.peakledger-unified .activity-merchant small{
    white-space:normal;
    line-height:1.3;
}
.peakledger-unified .activity-reconciliation-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:10px 14px;
    border-top:1px solid rgba(113,166,190,.09);
    background:rgba(8,24,32,.60);
}
.peakledger-unified .activity-reconciliation-bar>span{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
}
.peakledger-unified .activity-reconciliation-bar strong{
    color:#bfd1d9;
    font-size:10px;
}
.peakledger-unified .activity-reconciliation-bar small{
    color:#778f9a;
    font-size:9px;
    line-height:1.3;
}
.peakledger-unified .activity-reconciliation-bar>a{
    flex:0 0 auto;
    min-height:31px;
    display:grid;
    place-items:center;
    padding:0 10px;
    border:1px solid rgba(93,185,222,.16);
    border-radius:7px;
    background:rgba(30,113,145,.07);
    color:#8fdcf7;
    font-size:9.5px;
    font-weight:650;
    text-decoration:none;
}
.peakledger-unified .activity-reconciliation-bar>a:hover{
    border-color:rgba(93,185,222,.30);
    background:rgba(30,113,145,.13);
}
@media(max-width:720px){
    .peakledger-unified .activity-reconciliation-bar{
        align-items:flex-start;
        flex-direction:column;
    }
}

/* PeakLedger v1.32.0 — Activity history clarity */
.peakledger-unified .activity-empty-detailed{
    min-height:180px;
    display:grid;
    place-content:center;
    gap:6px;
    padding:28px 18px;
    text-align:center;
}
.peakledger-unified .activity-empty-detailed strong{
    color:#d9e7ec;
    font-size:13px;
    font-weight:700;
}
.peakledger-unified .activity-empty-detailed small{
    max-width:620px;
    color:#8096a1;
    font-size:10.5px;
    line-height:1.45;
}
.peakledger-unified .activity-pagination>span{
    line-height:1.4;
}

/* v1.35.0 — account investigation links */
.peakledger-unified .account-detail-balance .account-activity-link{
    display:inline-flex;
    justify-content:flex-end;
    margin-top:6px;
    color:#63c9ef!important;
    font-size:10.5px!important;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
}
.peakledger-unified .account-detail-balance .account-activity-link:hover{color:#a8e7ff!important;text-decoration:underline}

/* v1.36.0 — Activity now answers the currently selected view first. */
.activity-view-context{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:14px 0 9px;
    padding:11px 14px;
    border:1px solid rgba(108,166,194,.16);
    border-radius:10px;
    background:rgba(6,23,34,.56);
}
.activity-view-context>div{display:flex;align-items:baseline;gap:9px;min-width:0;flex-wrap:wrap}
.activity-view-context>div>span{font-size:9px;letter-spacing:.1em;color:#6f8b9c;font-weight:800}
.activity-view-context>div>strong{font-size:13px;color:#eef9fd}
.activity-view-context>div>small{font-size:11px;color:#8ea4b2;white-space:normal}
.activity-view-context>a{font-size:10.5px;color:#69d3f6;text-decoration:none;font-weight:750;white-space:nowrap}
.activity-view-context>a:hover{text-decoration:underline;color:#bdefff}
.activity-view-context>span{font-size:10.5px;color:#7892a1}

.activity-summary{margin-top:0}
.activity-summary>div{min-height:88px;padding:14px 16px}
.activity-summary>div>span{font-size:9.5px}
.activity-summary>div>strong{font-size:23px;line-height:1.08}
.activity-summary>div>small{display:block;margin-top:5px;color:#7892a1;font-size:10px}

.activity-ledger-note{
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:10px 14px;
    align-items:center;
    margin:0 14px 12px;
    padding:10px 12px;
    border:1px solid rgba(103,154,181,.13);
    border-radius:9px;
    background:rgba(4,18,27,.46);
}
.activity-ledger-note strong{font-size:10.5px;color:#bcd1dc;white-space:nowrap}
.activity-ledger-note span{font-size:10.5px;line-height:1.4;color:#7f96a5}
.activity-ledger-note small{font-size:10px;color:#83a5b5;white-space:nowrap}

/* Make scanning long ledgers easier without making rows bulky. */
.activity-table-head{position:sticky;top:0;z-index:3;background:rgba(8,26,37,.97);backdrop-filter:blur(8px)}
.activity-table-row{min-height:58px}
.activity-merchant strong{font-size:12px}
.activity-merchant small,.activity-account,.activity-category,.activity-date{font-size:10.5px}
.activity-amount{font-size:12.5px}

@media(max-width:900px){
    .activity-view-context{align-items:flex-start;flex-direction:column;gap:7px}
    .activity-ledger-note{grid-template-columns:1fr}
    .activity-ledger-note small{white-space:normal}
}

/* v1.36.0 — Accounts: find and act on an account without hunting. */
.account-view-toolbar{
    gap:10px 12px;
    flex-wrap:wrap;
}
.account-list-search{
    margin-left:auto;
    min-width:270px;
    display:flex;
    align-items:center;
    gap:7px;
    min-height:35px;
    padding:0 10px;
    border:1px solid rgba(103,160,189,.2);
    border-radius:9px;
    background:rgba(4,18,28,.55);
}
.account-list-search>span{color:#6ebfe1;font-size:14px}
.account-list-search input{
    min-width:0;
    width:100%;
    border:0;
    outline:0;
    background:transparent;
    color:#eaf7fc;
    font-size:11px;
}
.account-list-search input::placeholder{color:#69818f}
#accountListCount{
    min-width:54px;
    color:#7e96a4;
    font-size:10.5px;
    text-align:right;
}
.account-detail-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:5px;
}
.peakledger-unified .account-detail-balance .account-manage-link{
    display:inline-flex;
    color:#91aab7;
    font-size:10.5px;
    font-weight:730;
    text-decoration:none;
    white-space:nowrap;
}
.peakledger-unified .account-detail-balance .account-manage-link:hover{color:#d3edf7;text-decoration:underline}
@media(max-width:760px){
    .account-list-search{margin-left:0;width:100%;min-width:0}
    #accountListCount{text-align:left}
    .account-detail-actions{justify-content:flex-start;flex-wrap:wrap}
}

/* v1.36 final account-source freshness */
.account-source-sync{color:#93a9b7}
.account-source-sync.stale{color:#efbf72;font-weight:700}

/* ========================================================================
   PeakLedger v1.36.2 — Overview palette parity
   The Overview is the visual source of truth: smoky graphite/blue surfaces,
   cool blue interaction states, and green reserved for positive/healthy data.
   ======================================================================== */
:root{
    --pl-bg:#06141d;
    --pl-bg-deep:#041019;
    --pl-panel:#0a1b26;
    --pl-panel-top:#152a36;
    --pl-line:rgba(169,205,224,.17);
    --pl-line-soft:rgba(169,205,224,.075);
    --pl-text:#edf4f7;
    --pl-muted:#91a5b1;
    --pl-cyan:#67d6f8;
    --pl-mint:#57ddb1;
}

/* Match the cool smoky Overview field instead of allowing teal/green casts
   inherited from older page-specific rules. */
body.peakledger-unified,
body.peakledger-login{
    background:
        radial-gradient(900px 480px at 42% -120px,rgba(182,202,214,.10),transparent 72%),
        linear-gradient(180deg,#152a36 0,#0c202b 190px,#071720 64%,#06141d 100%)!important;
}
body.peakledger-unified::before{opacity:.038!important;mix-blend-mode:soft-light!important}

.peakledger-unified .main{
    background:
        radial-gradient(820px 330px at 16% 0%,rgba(147,173,187,.045),transparent 73%),
        linear-gradient(180deg,rgba(8,27,37,.035),rgba(3,17,25,.11))!important;
}

.peakledger-unified .settings-topbar,
.peakledger-unified .data-topbar{
    background:
        linear-gradient(180deg,rgba(63,80,93,.72),rgba(15,34,46,.97)),
        url('/images/money-theme/metal-fill.webp') center/cover!important;
    border-bottom-color:rgba(169,205,224,.17)!important;
}

/* Keep large surfaces neutral/cool. Status colors live inside the surface,
   rather than tinting an entire page or card green. */
.peakledger-unified .card,
.peakledger-unified .data-summary-card,
.peakledger-unified .activity-summary>div,
.peakledger-unified .account-group-card,
.peakledger-unified .connection-hero,
.peakledger-unified .readiness,
.peakledger-unified .connection-family,
.peakledger-unified .live-provider,
.peakledger-unified .family-card,
.peakledger-unified .family-add-card,
.peakledger-unified .update-hero,
.peakledger-unified .update-status,
.peakledger-unified .update-upload,
.peakledger-unified .update-review,
.peakledger-unified .update-security,
.peakledger-unified .update-history,
.peakledger-unified .updater-side-card{
    border-color:rgba(183,214,230,.17)!important;
    background-image:
        radial-gradient(72px 110% at 0 50%,rgba(89,148,178,.032),transparent 74%),
        radial-gradient(72px 110% at 100% 50%,rgba(89,148,178,.026),transparent 74%),
        radial-gradient(42% 48px at 50% 0%,rgba(160,184,198,.020),transparent 76%),
        linear-gradient(180deg,rgba(27,42,52,.992) 0%,rgba(12,28,37,.997) 52%,rgba(7,22,30,1) 100%),
        url('/images/money-theme/metal-fill.webp')!important;
}

/* Neutral controls use PeakLedger blue. Green is intentionally reserved for
   positive money movement and actual health/success states. */
.peakledger-unified .back-dashboard,
.peakledger-unified .connect-button,
.peakledger-unified .neutral-button,
.peakledger-unified .promote-button,
.peakledger-unified .verify-update-button,
.peakledger-unified .apply-update-button{
    border-color:rgba(91,190,229,.32)!important;
    background:linear-gradient(180deg,rgba(28,73,94,.92),rgba(8,35,48,.99))!important;
    color:#eaf6fb!important;
}

.peakledger-unified .connection-pill{
    border-color:rgba(91,189,226,.18)!important;
    background:rgba(8,38,52,.64)!important;
    color:#a8c8d6!important;
}
.peakledger-unified .connection-card a.connection-pill:hover{
    border-color:rgba(94,198,238,.35)!important;
    background:rgba(16,58,77,.72)!important;
    color:#e3f6fd!important;
}

.peakledger-unified .activity-search,
.peakledger-unified .activity-filters select,
.peakledger-unified .activity-filters>a,
.peakledger-unified .connection-label-input,
.peakledger-unified .name-editor input,
.peakledger-login .password-row{
    background:#061923!important;
    border-color:rgba(151,193,213,.15)!important;
}

/* Provider identity must not paint management cards in institution colors.
   Logos carry the brand; PeakLedger carries the surrounding surface. */
.peakledger-unified .add-source-card.arvest,
.peakledger-unified .add-source-card.fidelity,
.peakledger-unified .add-source-card.paypal{
    background-color:transparent!important;
    border-color:rgba(183,214,230,.17)!important;
}

/* Retire the old synthetic Fidelity starburst wherever legacy markup still
   surfaces it. Use the same provider art that Overview uses. */
.peakledger-unified .fidelity-logo{
    color:transparent!important;
    background:
        url('/images/money-theme/provider-fidelity-clean.svg') center/contain no-repeat,
        linear-gradient(145deg,rgba(19,43,55,.96),rgba(6,23,32,.99))!important;
    border-color:rgba(165,204,223,.12)!important;
}
.peakledger-unified .fidelity-logo::after{content:none!important}

/* ========================================================================
   PeakLedger v1.36.3 — simplification / account interaction polish
   ======================================================================== */

/* Provider color belongs in the logo, not the surrounding account workspace. */
.peakledger-unified .account-group-card.provider-fidelity::before,
.peakledger-unified .account-group-card.provider-paypal::before{
    background:linear-gradient(90deg,#63d0ff,rgba(99,208,255,.06),transparent)!important;
}
.peakledger-unified .provider-fidelity .account-group-head>div>span,
.peakledger-unified .provider-paypal .account-group-head>div>span{
    color:#69c9ed!important;
}

/* The account row itself is the manage target; keep the one explicit action
   reserved for transaction investigation. */
.peakledger-unified .account-manage-target{
    cursor:pointer;
    transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;
}
.peakledger-unified .account-manage-target:hover{
    border-color:rgba(102,194,232,.20)!important;
    background:rgba(69,126,151,.038)!important;
    box-shadow:inset 3px 0 0 rgba(91,194,235,.30),inset 0 1px 0 rgba(255,255,255,.01)!important;
}
.peakledger-unified .account-manage-target:focus-visible{
    outline:2px solid rgba(93,199,240,.46);
    outline-offset:2px;
}
.peakledger-unified .account-detail-actions{gap:0!important}
.peakledger-unified .account-detail-balance .account-activity-link{
    margin-top:7px!important;
    padding:3px 0!important;
    color:#70d1f3!important;
    font-weight:690!important;
    text-decoration:none!important;
}
.peakledger-unified .account-detail-balance .account-activity-link:hover{
    color:#c5efff!important;
    text-decoration:none!important;
}


/* ========================================================================
   PeakLedger v1.36.4 — compact layout + Overview frame parity
   ======================================================================== */

/* The Overview frame is the source of truth. Match its narrower, quieter
   sidebar on every supporting page instead of the older wide/glowy variant. */
@media (min-width:981px){
    .peakledger-unified .sidebar{
        width:268px!important;
        min-width:268px!important;
        max-width:268px!important;
        background:
            linear-gradient(90deg,rgba(65,85,99,.28),rgba(17,39,51,.70) 48%,rgba(5,21,31,.97) 100%),
            url('/images/money-theme/metal-sidebar.webp') center/cover!important;
        border-right:1px solid rgba(150,190,210,.055)!important;
        box-shadow:12px 0 28px rgba(0,0,0,.26)!important;
    }
    .peakledger-unified .sidebar::before{
        background:linear-gradient(90deg,rgba(255,255,255,.012),transparent 25%,transparent 88%,rgba(0,0,0,.08))!important;
    }
    .peakledger-unified .main{margin-left:268px!important}
    .peakledger-unified .brand{
        height:132px!important;
        min-height:132px!important;
        padding:23px 18px 8px 31px!important;
        gap:15px!important;
    }
    .peakledger-unified .peakledger-brand-mark{
        flex-basis:62px!important;
        width:62px!important;
        height:80px!important;
    }
    .peakledger-unified .brand>div:last-child{padding-top:16px!important}
    .peakledger-unified .brand strong{font-size:25px!important;line-height:1.01!important}
    .peakledger-unified .sidebar nav{padding:0 17px!important}
    .peakledger-unified .nav{
        height:59px!important;
        min-height:59px!important;
        gap:17px!important;
        padding:0 15px 0 21px!important;
        font-size:15.5px!important;
        border-radius:7px!important;
    }
    .peakledger-unified .nav b{width:25px!important;font-size:19px!important}
    .peakledger-unified .nav.active{
        background:linear-gradient(90deg,rgba(25,116,158,.23) 0%,rgba(17,69,94,.10) 46%,rgba(8,35,48,.025) 78%,transparent 100%)!important;
        box-shadow:inset 0 1px 0 rgba(255,255,255,.014),0 4px 10px rgba(0,0,0,.045)!important;
    }
    .peakledger-unified .nav.active::before{
        top:9px!important;bottom:9px!important;width:2px!important;
        box-shadow:0 0 3px rgba(78,205,255,.34)!important;
    }
    .peakledger-unified .beta-card.connection-card{
        margin-left:18px!important;margin-right:18px!important;
        min-height:112px!important;padding:14px 13px!important;
    }
    .peakledger-unified .sidebar form{margin:12px 18px 22px!important}
    .peakledger-unified .logout{height:50px!important;font-size:15px!important}
}
@media (min-width:981px) and (max-width:1280px){
    .peakledger-unified .sidebar{width:248px!important;min-width:248px!important;max-width:248px!important}
    .peakledger-unified .main{margin-left:248px!important}
    .peakledger-unified .brand{padding-left:25px!important}
    .peakledger-unified .sidebar nav{padding-left:13px!important;padding-right:13px!important}
    .peakledger-unified .nav{font-size:14.5px!important}
}

/* Activity: seven controls means seven columns. Keep the everyday desktop
   workflow on one row and make Clear a quiet secondary action beside Filter. */
.peakledger-unified .activity-filters{
    grid-template-columns:minmax(280px,440px) 145px minmax(190px,1fr) 130px 120px 78px 66px!important;
    gap:8px!important;
    align-items:center!important;
}
.peakledger-unified .activity-filters>a.activity-clear{
    width:66px!important;
    justify-self:start!important;
    border-color:rgba(136,178,198,.11)!important;
    background:rgba(6,24,33,.52)!important;
    color:#8fa5b1!important;
}
.peakledger-unified .activity-filters>a.activity-clear:hover{
    border-color:rgba(93,190,229,.22)!important;
    background:rgba(27,75,95,.16)!important;
    color:#d7eaf2!important;
}
@media (max-width:1380px) and (min-width:981px){
    .peakledger-unified .activity-filters{
        grid-template-columns:minmax(220px,1fr) 125px minmax(170px,205px) 116px 105px 70px 60px!important;
        gap:6px!important;
    }
    .peakledger-unified .activity-filters>a.activity-clear{width:60px!important}
}
@media (max-width:1120px){
    .peakledger-unified .activity-filters{grid-template-columns:1fr 1fr 1fr!important}
    .peakledger-unified .activity-search{grid-column:1/-1!important}
    .peakledger-unified .activity-filters>a.activity-clear{width:100%!important;justify-self:stretch!important}
}
@media (max-width:720px){
    .peakledger-unified .activity-filters{grid-template-columns:1fr 1fr!important}
}

/* Updates: more information above the fold, less oversized drag-and-drop UI. */
.peakledger-unified.update-page .update-hero{
    min-height:132px!important;
    padding:18px 20px!important;
    gap:22px!important;
}
.peakledger-unified.update-page .update-hero h2{margin:5px 0!important;font-size:22px!important}
.peakledger-unified.update-page .update-hero p{max-width:850px!important;font-size:11.5px!important;line-height:1.46!important}
.peakledger-unified.update-page .version-orb{
    width:150px!important;min-width:150px!important;height:88px!important;
    border-color:rgba(101,191,228,.20)!important;
    background:linear-gradient(145deg,rgba(26,57,73,.96),rgba(7,25,35,.99))!important;
}
.peakledger-unified.update-page .version-orb>span{color:#83cce8!important}
.peakledger-unified.update-page .updater-status-grid{gap:8px!important;margin-top:9px!important}
.peakledger-unified.update-page .update-status{min-height:72px!important;padding:12px 14px!important}
.peakledger-unified.update-page .update-status>strong{margin-top:4px!important;font-size:16px!important}
.peakledger-unified.update-page .update-status>small{margin-top:3px!important;font-size:9.5px!important}
.peakledger-unified.update-page .update-status>i{right:13px!important;top:13px!important}
.peakledger-unified.update-page .update-status.ready>i{
    background:#67d6f8!important;
    box-shadow:0 0 12px rgba(103,214,248,.34)!important;
}
.peakledger-unified.update-page .update-upload,
.peakledger-unified.update-page .update-review{margin-top:9px!important;padding:17px 18px!important}
.peakledger-unified.update-page .update-upload{
    grid-template-columns:minmax(280px,.86fr) minmax(390px,1.14fr)!important;
    gap:20px!important;
}
.peakledger-unified.update-page .upload-copy h2{margin:4px 0 5px!important;font-size:20px!important}
.peakledger-unified.update-page .upload-copy p{font-size:10.8px!important;line-height:1.47!important}
.peakledger-unified.update-page .zip-drop{
    min-height:126px!important;
    padding:14px 18px!important;
    border-color:rgba(115,185,214,.20)!important;
    background:
        radial-gradient(circle at 50% 35%,rgba(57,155,193,.045),transparent 48%),
        linear-gradient(180deg,rgba(13,33,44,.96),rgba(5,20,29,.99))!important;
}
.peakledger-unified.update-page .zip-icon{width:42px!important;height:42px!important;border-radius:9px!important;font-size:10px!important}
.peakledger-unified.update-page .zip-drop>strong{margin-top:7px!important;font-size:13px!important}
.peakledger-unified.update-page .zip-drop>span{margin-top:3px!important;font-size:10px!important}
.peakledger-unified.update-page .zip-drop>small{margin-top:5px!important;font-size:9px!important}
.peakledger-unified.update-page .zip-drop.has-file{
    border-color:rgba(96,199,238,.36)!important;
    background:
        radial-gradient(circle at 50% 35%,rgba(62,177,219,.07),transparent 48%),
        linear-gradient(180deg,rgba(16,42,55,.96),rgba(6,24,33,.99))!important;
}
.peakledger-unified.update-page .verify-update-button{min-height:40px!important;margin-top:7px!important}
.peakledger-unified.update-page .update-lower-grid{margin-top:9px!important;gap:9px!important}
.peakledger-unified.update-page .update-security,
.peakledger-unified.update-page .update-history{padding:16px!important}
.peakledger-unified.update-page .update-security h3,
.peakledger-unified.update-page .update-history h3{font-size:17px!important}
.peakledger-unified.update-page .rule-grid{margin-top:11px!important;gap:6px!important}
.peakledger-unified.update-page .rule{min-height:62px!important;padding:9px!important;gap:8px!important}
.peakledger-unified.update-page .rule.good>b,
.peakledger-unified.update-page .history-status{
    background:rgba(49,137,174,.13)!important;
    color:#83d9f7!important;
}
.peakledger-unified.update-page .history-pill{
    background:rgba(49,137,174,.10)!important;
    color:#91d8ef!important;
}
.peakledger-unified.update-page .verified-badge{
    border-color:rgba(92,194,233,.23)!important;
    background:rgba(42,123,155,.11)!important;
    color:#9adcf4!important;
}
.peakledger-unified.update-page .safety-strip{
    border-color:rgba(91,186,224,.13)!important;
    background:rgba(34,104,133,.07)!important;
}
.peakledger-unified.update-page .safety-strip b{color:#87d7f4!important}
.peakledger-unified.update-page .safety-strip span{color:#91aeb9!important}
@media(max-width:1050px){
    .peakledger-unified.update-page .update-upload{grid-template-columns:1fr!important}
}

/* ========================================================================
   PeakLedger v1.36.5 — Activity visualization + darker ledger treatment
   The chart follows the exact filtered ledger; interiors stay smoky and quiet
   while borders/hover states carry the light.
   ======================================================================== */
.peakledger-unified .activity-summary>div{
    background:linear-gradient(180deg,rgba(11,31,41,.88),rgba(5,20,28,.96))!important;
    border-color:rgba(124,176,199,.12)!important;
    box-shadow:inset 0 1px 0 rgba(230,247,253,.018),0 8px 22px rgba(0,0,0,.08)!important;
}
.peakledger-unified .activity-trend{
    margin-bottom:12px!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid rgba(122,177,201,.12)!important;
    border-radius:9px!important;
    background:linear-gradient(180deg,rgba(7,25,34,.94),rgba(3,17,24,.985))!important;
    box-shadow:inset 0 1px 0 rgba(229,246,252,.018),0 10px 28px rgba(0,0,0,.10)!important;
}
.peakledger-unified .activity-trend>header{
    min-height:50px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:18px!important;
    padding:8px 13px!important;
    border-bottom:1px solid rgba(128,177,199,.07)!important;
    background:linear-gradient(180deg,rgba(18,41,52,.34),rgba(5,21,29,.10))!important;
}
.peakledger-unified .activity-trend>header>div:first-child{min-width:0!important}
.peakledger-unified .activity-trend>header span:first-child{
    display:block!important;
    color:#6f8e9d!important;
    font-size:7px!important;
    font-weight:800!important;
    letter-spacing:.09em!important;
}
.peakledger-unified .activity-trend h2{
    margin:1px 0 0!important;
    color:#edf5f8!important;
    font-size:15px!important;
    font-weight:680!important;
    letter-spacing:-.015em!important;
}
.peakledger-unified .activity-trend header small{
    display:block!important;
    margin-top:1px!important;
    color:#78909c!important;
    font-size:8.5px!important;
}
.peakledger-unified .activity-trend-legend{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    color:#879ca7!important;
    font-size:8.5px!important;
    white-space:nowrap!important;
}
.peakledger-unified .activity-trend-legend span{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    color:#879ca7!important;
    font-size:8.5px!important;
    font-weight:600!important;
    letter-spacing:0!important;
}
.peakledger-unified .activity-trend-legend i{
    width:7px!important;
    height:7px!important;
    border-radius:50%!important;
    background:#49c8f3!important;
    box-shadow:0 0 8px rgba(73,200,243,.18)!important;
}
.peakledger-unified .activity-trend-legend i.out{
    background:#8297a4!important;
    box-shadow:none!important;
}
.peakledger-unified .activity-trend-chart{
    position:relative!important;
    height:184px!important;
    padding:4px 8px 1px!important;
    background:linear-gradient(180deg,rgba(4,18,25,.26),rgba(2,14,20,.54))!important;
}
.peakledger-unified .activity-trend-chart canvas{width:100%!important;height:100%!important;display:block!important}
.peakledger-unified .activity-trend-empty{
    position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
    color:#7f949f!important;font-size:10px!important;
}
.peakledger-unified .activity-trend-empty[hidden]{display:none!important}
.peakledger-unified .activity-trend-tooltip{
    position:absolute!important;
    z-index:4!important;
    min-width:138px!important;
    padding:8px 9px!important;
    border:1px solid rgba(102,174,205,.18)!important;
    border-radius:7px!important;
    background:rgba(4,18,26,.94)!important;
    box-shadow:0 10px 26px rgba(0,0,0,.28)!important;
    backdrop-filter:blur(8px)!important;
    opacity:0!important;
    pointer-events:none!important;
    transition:opacity .10s ease!important;
}
.peakledger-unified .activity-trend-tooltip.show{opacity:1!important}
.peakledger-unified .activity-trend-tooltip strong,
.peakledger-unified .activity-trend-tooltip span,
.peakledger-unified .activity-trend-tooltip small{display:block!important}
.peakledger-unified .activity-trend-tooltip strong{color:#edf6f9!important;font-size:10px!important;margin-bottom:4px!important}
.peakledger-unified .activity-trend-tooltip span{font-size:9px!important;line-height:1.45!important}
.peakledger-unified .activity-trend-tooltip .in{color:#74d7f8!important}
.peakledger-unified .activity-trend-tooltip .out{color:#9babb3!important}
.peakledger-unified .activity-trend-tooltip small{margin-top:3px!important;color:#6f8794!important;font-size:8px!important}

.peakledger-unified .activity-shell{
    border-color:rgba(126,177,199,.11)!important;
    background:linear-gradient(180deg,rgba(6,23,32,.95),rgba(3,17,24,.99))!important;
    box-shadow:inset 0 1px 0 rgba(230,247,253,.016),0 10px 28px rgba(0,0,0,.08)!important;
}
.peakledger-unified .activity-filters{
    background:rgba(3,16,23,.62)!important;
}
.peakledger-unified .activity-table{
    background:rgba(2,14,20,.46)!important;
}
.peakledger-unified .activity-table-head{
    background:rgba(9,29,39,.68)!important;
    border-bottom:1px solid rgba(127,176,198,.07)!important;
}
.peakledger-unified .activity-table-row{
    background:rgba(4,18,25,.12)!important;
    border-top-color:rgba(127,176,198,.045)!important;
    transition:background .12s ease,border-color .12s ease!important;
}
.peakledger-unified .activity-table-row:nth-child(odd){background:rgba(10,30,39,.20)!important}
.peakledger-unified .activity-table-row:nth-child(even){background:rgba(4,18,25,.08)!important}
.peakledger-unified .activity-table-row:hover{
    background:linear-gradient(90deg,rgba(31,86,108,.16),rgba(8,28,37,.20))!important;
    border-top-color:rgba(80,182,221,.12)!important;
}
.peakledger-unified .activity-merchant>b{
    background:rgba(15,49,64,.72)!important;
    box-shadow:inset 0 0 0 1px rgba(87,174,208,.08)!important;
}
.peakledger-unified .activity-pagination,
.peakledger-unified .activity-ledger-note,
.peakledger-unified .activity-reconciliation-bar{
    background:rgba(3,16,23,.58)!important;
}
@media(max-width:900px){
    .peakledger-unified .activity-trend-chart{height:160px!important}
    .peakledger-unified .activity-trend>header{align-items:flex-start!important;flex-direction:column!important;gap:5px!important}
}
.peakledger-unified .activity-shell>.activity-trend{
    margin:0!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0!important;
    box-shadow:none!important;
}

/* PeakLedger v1.36.6 — make long-range Activity dates self-explanatory. */
.peakledger-unified .activity-trend header small{
    font-size:9px!important;
    color:#839aa6!important;
}
.peakledger-unified .activity-trend-tooltip{
    min-width:154px!important;
}
.peakledger-unified .activity-trend-tooltip strong{
    font-size:10.5px!important;
    white-space:nowrap!important;
}

/* ========================================================================
   PeakLedger v1.36.7 — Activity vertical zoom + explicit multi-year dates
   Keeps the chart calm while making ordinary movement readable beside spikes.
   ======================================================================== */
.peakledger-unified .activity-trend-tools{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    flex:0 0 auto!important;
}
.peakledger-unified .activity-trend-zoom{
    display:flex!important;
    align-items:center!important;
    gap:2px!important;
    padding:2px!important;
    border:1px solid rgba(111,176,205,.13)!important;
    border-radius:7px!important;
    background:rgba(2,15,22,.48)!important;
    box-shadow:inset 0 1px 0 rgba(228,247,253,.02)!important;
}
.peakledger-unified .activity-trend-zoom button{
    min-width:24px!important;
    height:22px!important;
    padding:0 6px!important;
    border:0!important;
    border-radius:5px!important;
    background:transparent!important;
    color:#8ea6b2!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:22px!important;
    cursor:pointer!important;
    transition:background .12s ease,color .12s ease,border-color .12s ease!important;
}
.peakledger-unified .activity-trend-zoom button:hover:not(:disabled){
    background:rgba(45,160,205,.12)!important;
    color:#dff6ff!important;
}
.peakledger-unified .activity-trend-zoom button:disabled{
    opacity:.28!important;
    cursor:default!important;
}
.peakledger-unified .activity-trend-zoom .activity-trend-zoom-level{
    min-width:34px!important;
    color:#9fb4bf!important;
    font-size:8.5px!important;
    font-weight:700!important;
}
.peakledger-unified .activity-trend-zoom .activity-trend-zoom-level.active{
    background:rgba(36,151,197,.14)!important;
    color:#74d8fa!important;
}
.peakledger-unified .activity-trend-chart canvas{cursor:pointer!important}
@media (max-width:760px){
    .peakledger-unified .activity-trend>header{align-items:flex-start!important}
    .peakledger-unified .activity-trend-tools{gap:7px!important}
    .peakledger-unified .activity-trend-legend{display:none!important}
}

/* ========================================================================
   PeakLedger v1.36.8 — Activity point detail modal
   Clicking a plotted day opens the same evidence-first workflow used elsewhere.
   ======================================================================== */
body.activity-day-modal-open{overflow:hidden!important}
.peakledger-unified .activity-day-modal{
    position:fixed!important;
    inset:0!important;
    z-index:9995!important;
    display:none!important;
    align-items:center!important;
    justify-content:center!important;
    padding:22px!important;
}
.peakledger-unified .activity-day-modal.show{display:flex!important}
.peakledger-unified .activity-day-modal-backdrop{
    position:absolute!important;
    inset:0!important;
    background:rgba(0,8,13,.76)!important;
    backdrop-filter:blur(5px)!important;
}
.peakledger-unified .activity-day-modal-dialog{
    position:relative!important;
    z-index:1!important;
    width:min(760px,calc(100vw - 36px))!important;
    max-height:min(760px,calc(100vh - 36px))!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    border:1px solid rgba(113,184,215,.18)!important;
    border-radius:12px!important;
    background:linear-gradient(180deg,rgba(10,31,41,.985),rgba(3,17,24,.995))!important;
    box-shadow:0 28px 70px rgba(0,0,0,.52),inset 0 1px 0 rgba(235,249,255,.035)!important;
}
.peakledger-unified .activity-day-modal-header{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:18px!important;
    padding:17px 18px 14px!important;
    border-bottom:1px solid rgba(120,179,204,.10)!important;
    background:linear-gradient(180deg,rgba(24,52,64,.36),rgba(8,28,37,.10))!important;
}
.peakledger-unified .activity-day-modal-header span{
    display:block!important;
    color:#6f9caf!important;
    font-size:7.5px!important;
    font-weight:800!important;
    letter-spacing:.09em!important;
}
.peakledger-unified .activity-day-modal-header h3{
    margin:2px 0 0!important;
    color:#eef6f9!important;
    font-size:22px!important;
    font-weight:700!important;
    letter-spacing:-.025em!important;
}
.peakledger-unified .activity-day-modal-header p{
    margin:3px 0 0!important;
    color:#8ba0aa!important;
    font-size:10px!important;
}
.peakledger-unified .activity-day-modal-close{
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
    border:1px solid rgba(119,181,206,.12)!important;
    border-radius:7px!important;
    background:rgba(3,18,26,.55)!important;
    color:#8ea6b2!important;
    font-size:19px!important;
    line-height:1!important;
    cursor:pointer!important;
}
.peakledger-unified .activity-day-modal-close:hover{
    border-color:rgba(93,190,228,.25)!important;
    background:rgba(34,116,149,.14)!important;
    color:#e3f7ff!important;
}
.peakledger-unified .activity-day-modal-summary{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
    padding:12px 18px!important;
    border-bottom:1px solid rgba(120,179,204,.08)!important;
    background:rgba(3,17,24,.52)!important;
}
.peakledger-unified .activity-day-modal-summary>div{
    min-width:0!important;
    padding:9px 10px!important;
    border:1px solid rgba(119,177,201,.09)!important;
    border-radius:8px!important;
    background:linear-gradient(180deg,rgba(12,35,46,.72),rgba(5,21,29,.84))!important;
}
.peakledger-unified .activity-day-modal-summary span,
.peakledger-unified .activity-day-modal-summary strong{display:block!important}
.peakledger-unified .activity-day-modal-summary span{
    color:#77909d!important;
    font-size:7.5px!important;
    font-weight:750!important;
    letter-spacing:.05em!important;
    text-transform:uppercase!important;
}
.peakledger-unified .activity-day-modal-summary strong{
    margin-top:3px!important;
    color:#e9f3f7!important;
    font-size:16px!important;
    font-weight:700!important;
    white-space:nowrap!important;
}
.peakledger-unified .activity-day-modal-summary strong.money-in{color:#6ed7f7!important}
.peakledger-unified .activity-day-modal-summary strong.money-out{color:#f08086!important}
.peakledger-unified .activity-day-modal-list{
    min-height:110px!important;
    max-height:430px!important;
    overflow:auto!important;
    padding:5px 18px!important;
    background:rgba(2,14,20,.38)!important;
    scrollbar-width:thin!important;
    scrollbar-color:rgba(80,139,165,.26) transparent!important;
}
.peakledger-unified .activity-day-modal-row{
    display:grid!important;
    grid-template-columns:28px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:9px!important;
    min-height:52px!important;
    padding:8px 2px!important;
    border-bottom:1px solid rgba(120,177,201,.065)!important;
}
.peakledger-unified .activity-day-modal-row:last-child{border-bottom:0!important}
.peakledger-unified .activity-day-modal-mark{
    width:27px!important;
    height:27px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:7px!important;
    font-size:12px!important;
    font-weight:800!important;
}
.peakledger-unified .activity-day-modal-mark.in{
    background:rgba(34,144,184,.13)!important;
    color:#6fd8fa!important;
}
.peakledger-unified .activity-day-modal-mark.out{
    background:rgba(139,82,91,.12)!important;
    color:#e48b91!important;
}
.peakledger-unified .activity-day-modal-copy{min-width:0!important}
.peakledger-unified .activity-day-modal-copy strong,
.peakledger-unified .activity-day-modal-copy small{
    display:block!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.peakledger-unified .activity-day-modal-copy strong{
    color:#e8f1f5!important;
    font-size:10.5px!important;
    font-weight:650!important;
}
.peakledger-unified .activity-day-modal-copy small{
    margin-top:3px!important;
    color:#748b97!important;
    font-size:8.5px!important;
}
.peakledger-unified .activity-day-modal-row>b{
    color:#e9f3f7!important;
    font-size:10.5px!important;
    font-weight:700!important;
    white-space:nowrap!important;
}
.peakledger-unified .activity-day-modal-row>b.money-in{color:#6ed7f7!important}
.peakledger-unified .activity-day-modal-row>b.money-out{color:#e58a91!important}
.peakledger-unified .activity-day-modal-loading,
.peakledger-unified .activity-day-modal-empty{
    min-height:110px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    padding:20px!important;
    color:#8297a2!important;
    font-size:9.5px!important;
    text-align:center!important;
}
.peakledger-unified .activity-day-modal-loading i{
    width:14px!important;
    height:14px!important;
    border:2px solid rgba(93,187,225,.16)!important;
    border-top-color:#58c8f2!important;
    border-radius:50%!important;
    animation:activity-day-spin .8s linear infinite!important;
}
@keyframes activity-day-spin{to{transform:rotate(360deg)}}
.peakledger-unified .activity-day-modal-footer{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:11px 18px 13px!important;
    border-top:1px solid rgba(120,179,204,.08)!important;
    background:rgba(3,16,23,.72)!important;
}
.peakledger-unified .activity-day-modal-footer small{
    color:#718894!important;
    font-size:8.5px!important;
}
.peakledger-unified .activity-day-modal-footer a{
    color:#72d6f7!important;
    font-size:9.5px!important;
    font-weight:650!important;
    text-decoration:none!important;
    white-space:nowrap!important;
}
.peakledger-unified .activity-day-modal-footer a:hover{color:#bcefff!important}
@media(max-width:700px){
    .peakledger-unified .activity-day-modal{padding:10px!important}
    .peakledger-unified .activity-day-modal-dialog{width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important}
    .peakledger-unified .activity-day-modal-summary{grid-template-columns:1fr 1fr!important;padding:10px 12px!important}
    .peakledger-unified .activity-day-modal-header{padding:14px 12px 12px!important}
    .peakledger-unified .activity-day-modal-list{padding:4px 12px!important}
    .peakledger-unified .activity-day-modal-footer{padding:10px 12px 12px!important;align-items:flex-start!important;flex-direction:column!important}
}

/* ========================================================================
   PeakLedger v1.36.9 — Readability pass
   Keep the compact layouts, but stop asking important supporting text to live
   at 7–9px. Overview already has the right hierarchy; these rules bring the
   management / evidence pages up to the same readable standard.
   ======================================================================== */

/* Shared page chrome: small labels should still be readable at normal zoom. */
.peakledger-unified .page-scopebar>span,
.peakledger-unified .page-entitybar>span{font-size:9.5px!important}
.peakledger-unified .page-scopebar>a,
.peakledger-unified .page-entitybar>a{font-size:10.5px!important}
.peakledger-unified .page-scopebar>a>b,
.peakledger-unified .page-entitybar>a>b{font-size:8.5px!important}
.peakledger-unified .beta-card.connection-card .connection-heading strong{font-size:13px!important}
.peakledger-unified .beta-card.connection-card .connection-heading small{font-size:10.5px!important;line-height:1.35!important}
.peakledger-unified .beta-card.connection-card p{font-size:11px!important;line-height:1.45!important}
.peakledger-unified .beta-card.connection-card .connection-pill{font-size:10px!important}

/* Accounts: actions and secondary account identity should not feel miniature. */
.peakledger-unified #accountListCount{font-size:11px!important}
.peakledger-unified .account-detail-balance .account-manage-link,
.peakledger-unified .account-detail-balance>a{font-size:11px!important}
.peakledger-unified .account-source-sync{font-size:10.5px!important}

/* Activity chart: readable context, zoom state and hover evidence. */
.peakledger-unified .activity-trend>header span:first-child{font-size:8.5px!important}
.peakledger-unified .activity-trend header small{font-size:9.8px!important;line-height:1.35!important}
.peakledger-unified .activity-trend-legend,
.peakledger-unified .activity-trend-legend span{font-size:9.5px!important}
.peakledger-unified .activity-trend-zoom .activity-trend-zoom-level{font-size:9.5px!important}
.peakledger-unified .activity-trend-tooltip{min-width:154px!important;padding:9px 10px!important}
.peakledger-unified .activity-trend-tooltip strong{font-size:11.5px!important;margin-bottom:5px!important}
.peakledger-unified .activity-trend-tooltip span{font-size:10px!important;line-height:1.5!important}
.peakledger-unified .activity-trend-tooltip small{font-size:9px!important;line-height:1.4!important}

/* Activity date drill-down modal: evidence should be effortless to scan. */
.peakledger-unified .activity-day-modal-dialog{
    width:min(840px,calc(100vw - 36px))!important;
    max-height:min(800px,calc(100vh - 36px))!important;
}
.peakledger-unified .activity-day-modal-header{padding:18px 20px 15px!important}
.peakledger-unified .activity-day-modal-header span{font-size:9px!important;letter-spacing:.075em!important}
.peakledger-unified .activity-day-modal-header h3{font-size:23px!important}
.peakledger-unified .activity-day-modal-header p{font-size:11.5px!important;line-height:1.4!important}
.peakledger-unified .activity-day-modal-summary{gap:9px!important;padding:13px 20px!important}
.peakledger-unified .activity-day-modal-summary>div{padding:10px 11px!important}
.peakledger-unified .activity-day-modal-summary span{font-size:9px!important;letter-spacing:.045em!important}
.peakledger-unified .activity-day-modal-summary strong{font-size:18px!important}
.peakledger-unified .activity-day-modal-list{max-height:470px!important;padding:6px 20px!important}
.peakledger-unified .activity-day-modal-row{
    grid-template-columns:31px minmax(0,1fr) auto!important;
    gap:11px!important;
    min-height:60px!important;
    padding:9px 2px!important;
}
.peakledger-unified .activity-day-modal-mark{width:30px!important;height:30px!important;font-size:12.5px!important}
.peakledger-unified .activity-day-modal-copy strong{font-size:12px!important;line-height:1.25!important}
.peakledger-unified .activity-day-modal-copy small{margin-top:4px!important;font-size:10px!important;line-height:1.35!important}
.peakledger-unified .activity-day-modal-row>b{font-size:12px!important}
.peakledger-unified .activity-day-modal-loading,
.peakledger-unified .activity-day-modal-empty{font-size:11px!important}
.peakledger-unified .activity-day-modal-footer{padding:12px 20px 14px!important}
.peakledger-unified .activity-day-modal-footer small{font-size:10px!important;line-height:1.4!important}
.peakledger-unified .activity-day-modal-footer a{font-size:10.5px!important}

/* Updates: compact does not have to mean tiny. */
.peakledger-unified.update-page .update-status>small{font-size:10.5px!important}
.peakledger-unified.update-page .upload-copy p{font-size:11.5px!important}
.peakledger-unified.update-page .zip-drop>span{font-size:10.8px!important}
.peakledger-unified.update-page .zip-drop>small{font-size:10px!important}
.peakledger-unified.update-page .history-pill,
.peakledger-unified.update-page .history-status,
.peakledger-unified.update-page .verified-badge{font-size:10px!important}

@media(max-width:700px){
    .peakledger-unified .activity-day-modal-dialog{width:calc(100vw - 20px)!important}
    .peakledger-unified .activity-day-modal-header{padding:15px 13px 13px!important}
    .peakledger-unified .activity-day-modal-summary{padding:11px 13px!important}
    .peakledger-unified .activity-day-modal-list{padding:5px 13px!important}
    .peakledger-unified .activity-day-modal-row{min-height:58px!important;gap:9px!important}
    .peakledger-unified .activity-day-modal-copy strong{font-size:11.5px!important}
    .peakledger-unified .activity-day-modal-copy small{font-size:9.5px!important}
    .peakledger-unified .activity-day-modal-footer{padding:11px 13px 13px!important}
}

/* ========================================================================
   PeakLedger v1.36.15 — mobile supporting-page finish pass
   Match the Overview's compact app-shell, reduce vertical waste, and keep
   every important control comfortably tappable.
   ======================================================================== */
@media (max-width:760px){
    .peakledger-unified .main,
    .peakledger-unified .data-main,
    .peakledger-unified .settings-main{
        width:100%!important;
        max-width:100%!important;
        padding-left:10px!important;
        padding-right:10px!important;
        overflow-x:hidden!important;
    }

    /* One consistent phone app bar on Accounts / Activity / Connections / Updates. */
    .peakledger-unified .settings-topbar,
    .peakledger-unified .data-topbar{
        min-height:64px!important;
        height:64px!important;
        margin-left:-10px!important;
        margin-right:-10px!important;
        padding:0 10px!important;
        display:flex!important;
        align-items:center!important;
        gap:9px!important;
    }
    .peakledger-unified .title-row{
        min-width:0!important;
        flex:1 1 auto!important;
        align-items:center!important;
        gap:9px!important;
    }
    .peakledger-unified .title-row>div{min-width:0!important}
    .peakledger-unified .title-row h1,
    .peakledger-unified .settings-topbar h1,
    .peakledger-unified .data-topbar h1{
        margin:0!important;
        font-size:23px!important;
        line-height:1.02!important;
        white-space:nowrap!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
    }
    .peakledger-unified .title-row p,
    .peakledger-unified .settings-topbar p,
    .peakledger-unified .data-topbar p{display:none!important}
    .peakledger-unified .menu{
        width:44px!important;
        min-width:44px!important;
        height:44px!important;
        min-height:44px!important;
        margin:0!important;
        padding:0!important;
        border-radius:9px!important;
        font-size:20px!important;
    }
    .peakledger-unified .back-dashboard{
        min-width:98px!important;
        height:44px!important;
        min-height:44px!important;
        padding:0 10px!important;
        font-size:11px!important;
        border-radius:9px!important;
    }

    /* View bars stay usable without taking over the page. */
    .peakledger-unified .page-scopebar,
    .peakledger-unified .page-entitybar{
        gap:5px!important;
        margin-top:9px!important;
        padding:6px!important;
        overflow-x:auto!important;
        flex-wrap:nowrap!important;
        scrollbar-width:none!important;
    }
    .peakledger-unified .page-scopebar::-webkit-scrollbar,
    .peakledger-unified .page-entitybar::-webkit-scrollbar{display:none!important}
    .peakledger-unified .page-scopebar>span,
    .peakledger-unified .page-entitybar>span{flex:0 0 auto!important}
    .peakledger-unified .page-scopebar>a,
    .peakledger-unified .page-entitybar>a{
        flex:0 0 auto!important;
        min-height:38px!important;
        padding:0 10px!important;
        font-size:10.5px!important;
    }
    .peakledger-unified .page-scopebar>a.scope-manage,
    .peakledger-unified .page-entitybar>a.entity-manage{
        width:auto!important;
        margin-left:0!important;
    }

    /* Accounts: four portfolio answers fit naturally as a 2x2 glance grid. */
    .peakledger-unified .data-summary-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:8px!important;
        margin-top:9px!important;
    }
    .peakledger-unified .data-summary-card{
        min-height:92px!important;
        padding:13px 14px!important;
    }
    .peakledger-unified .data-summary-card>span{font-size:8.8px!important}
    .peakledger-unified .data-summary-card>strong{font-size:22px!important}
    .peakledger-unified .data-summary-card>small{font-size:9.5px!important;line-height:1.35!important}
    .peakledger-unified .account-view-toolbar{
        margin:10px 0 8px!important;
        padding:8px!important;
        gap:7px!important;
    }
    .peakledger-unified .account-view-tabs{
        width:100%!important;
        flex-wrap:nowrap!important;
        overflow-x:auto!important;
        scrollbar-width:none!important;
    }
    .peakledger-unified .account-view-tabs::-webkit-scrollbar{display:none!important}
    .peakledger-unified .account-view-tabs button{
        flex:0 0 auto!important;
        min-height:40px!important;
        padding:0 12px!important;
    }
    .peakledger-unified .account-group-card{padding:12px!important}
    .peakledger-unified .account-detail-row{
        min-height:74px!important;
        padding:10px!important;
    }
    .peakledger-unified .account-detail-main strong{font-size:12.5px!important}
    .peakledger-unified .account-detail-main small{font-size:9.8px!important;line-height:1.35!important}
    .peakledger-unified .account-detail-balance strong{font-size:17px!important}
    .peakledger-unified .account-detail-balance>a{font-size:10.5px!important;min-height:30px!important;display:inline-flex!important;align-items:center!important}

    /* Activity: compact 2x2 totals, then the chart and ledger. */
    .peakledger-unified .activity-view-context{
        gap:6px!important;
        margin-top:9px!important;
        padding:9px 10px!important;
    }
    .peakledger-unified .activity-view-context strong{font-size:12px!important}
    .peakledger-unified .activity-view-context small{font-size:9.5px!important;line-height:1.35!important}
    .peakledger-unified .activity-summary{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:8px!important;
        margin:9px 0!important;
    }
    .peakledger-unified .activity-summary>div{
        min-height:86px!important;
        padding:12px!important;
    }
    .peakledger-unified .activity-summary span{font-size:8.8px!important}
    .peakledger-unified .activity-summary strong{font-size:18px!important;line-height:1.05!important}
    .peakledger-unified .activity-summary small{font-size:9px!important;line-height:1.3!important}

    .peakledger-unified .activity-filters{
        grid-template-columns:1fr 1fr!important;
        gap:7px!important;
        padding:9px!important;
    }
    .peakledger-unified .activity-search,
    .peakledger-unified .activity-filters select[name="account"],
    .peakledger-unified .activity-filters select[name="period"]{grid-column:1/-1!important}
    .peakledger-unified .activity-search,
    .peakledger-unified .activity-filters select,
    .peakledger-unified .activity-filters>button,
    .peakledger-unified .activity-filters>a.activity-clear{
        min-height:44px!important;
        height:44px!important;
        font-size:11.5px!important;
    }
    .peakledger-unified .activity-filters>a.activity-clear{
        width:100%!important;
        justify-self:stretch!important;
    }
    .peakledger-unified .activity-custom-range{
        grid-column:1/-1!important;
        justify-content:stretch!important;
    }
    .peakledger-unified .activity-custom-range label{flex:1!important;min-width:0!important}
    .peakledger-unified .activity-custom-range input{width:100%!important;height:42px!important}
    .peakledger-unified .activity-trend{padding:11px!important}
    .peakledger-unified .activity-trend-chart{height:184px!important}
    .peakledger-unified .activity-trend-zoom button{min-width:34px!important;height:32px!important;line-height:32px!important}
    .peakledger-unified .activity-table-row{min-height:66px!important}

    /* Activity evidence behaves like a native mobile sheet, not a tiny desktop dialog. */
    .peakledger-unified .activity-day-modal{
        align-items:flex-end!important;
        justify-content:center!important;
        padding:0!important;
    }
    .peakledger-unified .activity-day-modal-backdrop{background:rgba(0,8,13,.80)!important}
    .peakledger-unified .activity-day-modal-dialog{
        width:100vw!important;
        max-width:none!important;
        max-height:min(88dvh,780px)!important;
        border-left:0!important;
        border-right:0!important;
        border-bottom:0!important;
        border-radius:18px 18px 0 0!important;
        box-shadow:0 -18px 60px rgba(0,0,0,.54),inset 0 1px 0 rgba(235,249,255,.04)!important;
    }
    .peakledger-unified .activity-day-modal-header{padding:15px 14px 12px!important}
    .peakledger-unified .activity-day-modal-header h3{font-size:22px!important}
    .peakledger-unified .activity-day-modal-header p{font-size:11px!important}
    .peakledger-unified .activity-day-modal-close{
        width:44px!important;
        height:44px!important;
        flex:0 0 44px!important;
        border-radius:10px!important;
        font-size:23px!important;
    }
    .peakledger-unified .activity-day-modal-summary{
        grid-template-columns:1fr 1fr!important;
        gap:7px!important;
        padding:10px 14px!important;
    }
    .peakledger-unified .activity-day-modal-summary>div{padding:9px 10px!important}
    .peakledger-unified .activity-day-modal-summary span{font-size:8.8px!important}
    .peakledger-unified .activity-day-modal-summary strong{font-size:17px!important}
    .peakledger-unified .activity-day-modal-list{
        flex:1 1 auto!important;
        max-height:none!important;
        padding:4px 14px!important;
        overscroll-behavior:contain!important;
    }
    .peakledger-unified .activity-day-modal-row{
        min-height:64px!important;
        grid-template-columns:34px minmax(0,1fr) auto!important;
        gap:10px!important;
    }
    .peakledger-unified .activity-day-modal-mark{width:32px!important;height:32px!important}
    .peakledger-unified .activity-day-modal-copy strong{font-size:12.5px!important}
    .peakledger-unified .activity-day-modal-copy small{font-size:10px!important;white-space:normal!important;line-height:1.35!important}
    .peakledger-unified .activity-day-modal-row>b{font-size:12.5px!important}
    .peakledger-unified .activity-day-modal-footer{
        flex-direction:row!important;
        align-items:center!important;
        padding:11px 14px calc(12px + env(safe-area-inset-bottom))!important;
    }
    .peakledger-unified .activity-day-modal-footer small{font-size:9.5px!important}
    .peakledger-unified .activity-day-modal-footer a{font-size:10.5px!important}

    /* Updates: keep the phone page compact enough that the ZIP control arrives quickly. */
    .peakledger-unified.update-page .update-hero{
        min-height:0!important;
        padding:14px!important;
        gap:10px!important;
    }
    .peakledger-unified.update-page .update-hero h2{font-size:20px!important;line-height:1.15!important}
    .peakledger-unified.update-page .update-hero p{font-size:10.8px!important;line-height:1.42!important}
    .peakledger-unified.update-page .version-orb{
        width:112px!important;
        min-width:112px!important;
        height:68px!important;
    }
    .peakledger-unified.update-page .version-orb>strong{font-size:20px!important}
    .peakledger-unified.update-page .updater-status-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:7px!important;
    }
    .peakledger-unified.update-page .update-status{
        min-height:82px!important;
        padding:10px 11px!important;
    }
    .peakledger-unified.update-page .update-status>strong{font-size:14px!important}
    .peakledger-unified.update-page .update-status>small{font-size:9.5px!important;line-height:1.3!important}
    .peakledger-unified.update-page .update-upload,
    .peakledger-unified.update-page .update-review{
        padding:14px!important;
    }
    .peakledger-unified.update-page .zip-drop{
        min-height:112px!important;
        padding:12px 14px!important;
    }
    .peakledger-unified.update-page .zip-icon{width:38px!important;height:38px!important}
    .peakledger-unified.update-page .verify-update-button,
    .peakledger-unified.update-page .apply-update-button,
    .peakledger-unified.update-page .discard-update-button,
    .peakledger-unified.update-page .rollback-button{min-height:44px!important}

    .peakledger-unified footer{
        gap:5px!important;
        padding-bottom:calc(8px + env(safe-area-inset-bottom))!important;
        font-size:8.5px!important;
    }
}

@media (max-width:370px){
    .peakledger-unified .data-summary-card>strong{font-size:20px!important}
    .peakledger-unified .activity-summary strong{font-size:16.5px!important}
    .peakledger-unified .activity-day-modal-footer{align-items:flex-start!important;flex-direction:column!important}
}
\n\n/* ========================================================================\n   PeakLedger v1.36.16 — touch chart scrubbing\n   Horizontal finger motion belongs to the Activity chart; vertical motion\n   remains native page scrolling. Prevent mobile overscroll from dragging the\n   whole page sideways while inspecting the timeline.\n   ======================================================================== */\n.peakledger-unified .activity-trend-chart{\n    max-width:100%!important;\n    overflow:hidden!important;\n    overscroll-behavior-x:contain!important;\n}\n.peakledger-unified .activity-trend-chart canvas{\n    max-width:100%!important;\n    touch-action:pan-y!important;\n    overscroll-behavior-x:contain!important;\n    -webkit-user-select:none!important;\n    user-select:none!important;\n    -webkit-touch-callout:none!important;\n}\n@media (max-width:760px){\n    .peakledger-unified{\n        max-width:100%!important;\n        overflow-x:hidden!important;\n    }\n    .peakledger-unified .activity-trend-chart canvas{\n        cursor:crosshair!important;\n    }\n}\n
/* ========================================================================
   PeakLedger v1.37.0 — Activity filter persistence / evidence polish
   Keep the working filter context close to the ledger on desktop without
   turning the mobile view into a permanently occupied toolbar.
   ======================================================================== */
.peakledger-unified .activity-shell{overflow:visible!important}
@media (min-width:761px){
  .peakledger-unified .activity-filters{
    position:sticky!important;
    top:8px!important;
    z-index:26!important;
    border:1px solid rgba(120,177,201,.12)!important;
    border-radius:9px!important;
    background:linear-gradient(180deg,rgba(7,25,34,.965),rgba(4,18,26,.955))!important;
    box-shadow:0 10px 28px rgba(0,0,0,.20),inset 0 1px 0 rgba(220,242,250,.025)!important;
    backdrop-filter:blur(12px)!important;
  }
}
@media (max-width:760px){
  .peakledger-unified .activity-filters{position:relative!important;top:auto!important}
}

/* ========================================================================
   PeakLedger v1.39.0 — flexible account identity
   Account Use is the broad financial lens; Group / Project and Note add
   human context without forcing every account into Personal or Business.
   ======================================================================== */
.peakledger-unified .scope-tag.side_income{color:#aebfe8!important;border-color:rgba(156,178,226,.16)!important;background:rgba(59,75,111,.16)!important}
.peakledger-unified .scope-tag.shared{color:#9fc8d8!important;border-color:rgba(132,184,207,.15)!important;background:rgba(40,82,101,.14)!important}
.peakledger-unified .scope-tag.other{color:#aab6bf!important;border-color:rgba(160,181,193,.12)!important;background:rgba(70,84,94,.14)!important}
.peakledger-unified .account-purpose-note{
    display:block!important;
    width:min(100%,720px)!important;
    margin-top:5px!important;
    color:#8298a4!important;
    font-size:10.5px!important;
    line-height:1.4!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
@media(max-width:700px){
    .peakledger-unified .account-purpose-note{white-space:normal!important;font-size:10.5px!important}
}

/* ========================================================================
   PeakLedger v1.42.0 — secondary-page smoky consistency + scanability
   ======================================================================== */
.peakledger-unified .data-summary-card strong,
.peakledger-unified .account-detail-balance strong,
.peakledger-unified .activity-amount,
.peakledger-unified .activity-summary strong,
.peakledger-unified .activity-day-modal-summary strong{
    font-variant-numeric:tabular-nums;
    font-feature-settings:"tnum" 1;
}
.peakledger-unified .data-summary-card,
.peakledger-unified .account-group-card,
.peakledger-unified .activity-trend,
.peakledger-unified .activity-table{
    border-color:rgba(133,182,203,.11)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.022),0 8px 20px rgba(0,0,0,.13);
}
.peakledger-unified .account-detail-row,
.peakledger-unified .activity-table-row{
    transition:background-color .12s ease,border-color .12s ease;
}
.peakledger-unified .account-detail-row:hover,
.peakledger-unified .activity-table-row:hover{
    background:linear-gradient(90deg,rgba(48,126,158,.055),rgba(4,18,26,.015))!important;
}
.peakledger-unified input:focus-visible,
.peakledger-unified select:focus-visible,
.peakledger-unified button:focus-visible,
.peakledger-unified a:focus-visible{
    outline:2px solid rgba(103,194,229,.34);
    outline-offset:2px;
}
@media(prefers-reduced-motion:reduce){
    .peakledger-unified .account-detail-row,
    .peakledger-unified .activity-table-row{transition:none!important}
}

/* v1.44.0 – explicit authorization for app updates and rollback */
.update-page .update-stepup-label{display:flex;flex-direction:column;gap:5px;color:#accad7;font-size:11px;max-width:260px;margin:9px 0}
.update-page .update-stepup-label input{min-height:36px;background:#071e2b;color:#e8f6fa;border:1px solid rgba(137,191,217,.3);border-radius:7px;padding:7px 10px;font-size:12px;width:100%}


/* ========================================================================
   PeakLedger v1.58.1 — support-page visual refresh
   Softer contrast, clearer card separation, and easier scanning on the
   supporting pages while keeping the Overview page untouched.
   ======================================================================== */
.peakledger-unified{
    --pl-support-panel:linear-gradient(180deg,rgba(25,45,58,.95),rgba(10,25,35,.985));
    --pl-support-panel-soft:linear-gradient(180deg,rgba(23,42,54,.74),rgba(9,23,31,.88));
    --pl-support-panel-bright:linear-gradient(180deg,rgba(31,55,68,.96),rgba(12,29,38,.99));
    --pl-support-border:rgba(158,201,221,.16);
    --pl-support-border-soft:rgba(158,201,221,.10);
    --pl-support-shadow:0 14px 34px rgba(3,11,17,.16), inset 0 1px 0 rgba(255,255,255,.03);
    --pl-support-text:#eaf4f8;
    --pl-support-muted:#9bb0bc;
}
body.peakledger-unified{
    background:
        radial-gradient(1100px 480px at 35% -10%,rgba(196,219,229,.12),transparent 68%),
        radial-gradient(880px 520px at 100% 16%,rgba(95,154,183,.08),transparent 72%),
        linear-gradient(180deg,#213642 0,#172d38 9%,#102530 30%,#0c1f29 65%,#0a1b24 100%)!important;
}
body.peakledger-unified::before{opacity:.042!important}
.peakledger-unified .main{position:relative}
.peakledger-unified .main::before{
    content:"";position:fixed;inset:0 0 0 clamp(250px,17.4vw,330px);pointer-events:none;z-index:-1;
    background:linear-gradient(180deg,rgba(255,255,255,.018),transparent 17%,transparent 82%,rgba(255,255,255,.012));
}
.peakledger-unified .settings-topbar,
.peakledger-unified .data-topbar{
    background:linear-gradient(180deg,rgba(53,75,89,.55),rgba(24,42,54,.38) 42%,rgba(10,25,34,.18) 100%)!important;
    border-bottom:1px solid rgba(170,206,222,.11)!important;
    backdrop-filter:blur(10px)!important;
    -webkit-backdrop-filter:blur(10px)!important;
    box-shadow:0 10px 34px rgba(3,10,16,.12)!important;
}
.peakledger-unified .settings-topbar::after,
.peakledger-unified .data-topbar::after{
    background:linear-gradient(90deg,rgba(113,189,221,.16),rgba(255,255,255,.03),transparent)!important;
    opacity:.95!important;
}
.peakledger-unified .title-row p,
.peakledger-unified .settings-topbar p,
.peakledger-unified .data-topbar p{color:#adc0ca!important}
.peakledger-unified .back-dashboard{
    background:rgba(14,34,46,.62)!important;
    border:1px solid rgba(159,202,222,.15)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
.peakledger-unified .back-dashboard:hover{background:rgba(21,45,58,.78)!important}

/* Support-page wayfinding and compact filters. */
.peakledger-unified .pl-workspace-tabs,
.peakledger-unified .pl-health-wayfinding,
.peakledger-unified .page-scopebar,
.peakledger-unified .page-entitybar,
.peakledger-unified .pl-plan-scopes,
.peakledger-unified .pl-spending-period,
.peakledger-unified .activity-view-context{
    background:var(--pl-support-panel-soft)!important;
    border:1px solid var(--pl-support-border-soft)!important;
    box-shadow:var(--pl-support-shadow)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
}
.peakledger-unified .pl-workspace-tabs,
.peakledger-unified .pl-health-wayfinding,
.peakledger-unified .page-scopebar,
.peakledger-unified .page-entitybar{border-radius:12px!important}
.peakledger-unified .pl-plan-scopes,
.peakledger-unified .pl-spending-period{border-radius:12px!important;padding:8px 10px!important}
.peakledger-unified .pl-workspace-tabs a,
.peakledger-unified .pl-health-wayfinding a,
.peakledger-unified .page-scopebar>a,
.peakledger-unified .page-entitybar>a,
.peakledger-unified .pl-plan-scopes a{
    color:#afc3ce!important;
    border-radius:9px!important;
}
.peakledger-unified .pl-workspace-tabs a:hover,
.peakledger-unified .pl-health-wayfinding a:hover,
.peakledger-unified .page-scopebar>a:hover,
.peakledger-unified .page-entitybar>a:hover,
.peakledger-unified .pl-plan-scopes a:hover{background:rgba(85,157,189,.10)!important;color:#eef8fc!important}
.peakledger-unified .pl-workspace-tabs a.selected,
.peakledger-unified .pl-health-wayfinding a.selected,
.peakledger-unified .page-scopebar>a.active,
.peakledger-unified .page-entitybar>a.active,
.peakledger-unified .pl-plan-scopes a.selected{
    background:linear-gradient(180deg,rgba(45,98,123,.56),rgba(18,53,69,.86))!important;
    border-color:rgba(120,205,237,.32)!important;
    color:#f1fbff!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 4px 12px rgba(3,14,21,.14)!important;
}
.peakledger-unified .page-scopebar>span,
.peakledger-unified .page-entitybar>span{color:#84a0ad!important}
.peakledger-unified .page-scopebar>a b,
.peakledger-unified .page-entitybar>a b{background:rgba(255,255,255,.06)!important;color:#dceef6!important}

/* Main cards and sections: give panels clearer separation so the data does
   not disappear into one dark field. */
.peakledger-unified .data-summary-card,
.peakledger-unified .account-group-card,
.peakledger-unified .activity-summary,
.peakledger-unified .activity-shell,
.peakledger-unified .activity-trend,
.peakledger-unified .activity-table,
.peakledger-unified .activity-day-modal-dialog,
.peakledger-unified .connection-hero,
.peakledger-unified .readiness,
.peakledger-unified .connection-family,
.peakledger-unified .live-provider,
.peakledger-unified .family-card,
.peakledger-unified .family-add-card,
.peakledger-unified .import-review-section,
.peakledger-unified .import-account-card,
.peakledger-unified .manager-attention,
.peakledger-unified .manager-diagnostics,
.peakledger-unified .archived-source-section,
.peakledger-unified .update-hero,
.peakledger-unified .update-status,
.peakledger-unified .update-upload,
.peakledger-unified .update-review,
.peakledger-unified .update-security,
.peakledger-unified .update-history,
.peakledger-unified .history-entry,
.peakledger-unified .pl-plan-lead,
.peakledger-unified .pl-plan-section,
.peakledger-unified .pl-taxonomy-card,
.peakledger-unified .pl-health-intro,
.peakledger-unified .pl-health-section,
.peakledger-unified .pl-saved-rule,
.peakledger-unified .pl-plan-message{
    background:var(--pl-support-panel)!important;
    border:1px solid var(--pl-support-border)!important;
    box-shadow:var(--pl-support-shadow)!important;
}
.peakledger-unified .pl-plan-lead,
.peakledger-unified .connection-hero,
.peakledger-unified .update-hero,
.peakledger-unified .pl-health-intro,
.peakledger-unified .activity-day-modal-dialog{
    background:var(--pl-support-panel-bright)!important;
}
.peakledger-unified .data-summary-card,
.peakledger-unified .activity-summary,
.peakledger-unified .update-status,
.peakledger-unified .readiness,
.peakledger-unified .pl-health-stats article{
    background:linear-gradient(180deg,rgba(36,62,75,.96),rgba(14,32,42,.98))!important;
    border-color:rgba(166,206,223,.15)!important;
}

/* List rows and detail rows: slightly alternate surface to improve scanning. */
.peakledger-unified .account-detail-row,
.peakledger-unified .activity-table-row,
.peakledger-unified .family-account-row,
.peakledger-unified .compact-live-account,
.peakledger-unified .holding-row,
.peakledger-unified .live-pending-row,
.peakledger-unified .managed-account,
.peakledger-unified .import-account-coverage,
.peakledger-unified .duplicate-row,
.peakledger-unified .diagnostic-event-row,
.peakledger-unified .pl-bridge-row,
.peakledger-unified .pl-category-row,
.peakledger-unified .pl-saved-rule,
.peakledger-unified .pl-plan-entry,
.peakledger-unified .pl-project-row,
.peakledger-unified .pl-taxonomy-child,
.peakledger-unified .rule,
.peakledger-unified .history-entry{
    background:rgba(255,255,255,.018)!important;
    border-color:rgba(162,201,220,.09)!important;
}
.peakledger-unified .activity-table-row:nth-child(even),
.peakledger-unified .account-detail-row:nth-child(even),
.peakledger-unified .pl-category-row:nth-child(even){background:rgba(255,255,255,.026)!important}
.peakledger-unified .account-detail-row:hover,
.peakledger-unified .activity-table-row:hover,
.peakledger-unified .family-account-row:hover,
.peakledger-unified .managed-account:hover,
.peakledger-unified .pl-category-row:hover,
.peakledger-unified .pl-plan-entry:hover,
.peakledger-unified .pl-project-row:hover{
    background:linear-gradient(90deg,rgba(90,168,199,.10),rgba(255,255,255,.02))!important;
    border-color:rgba(129,201,230,.18)!important;
}

/* Forms and controls: less harsh blocks, easier focus and separation. */
.peakledger-unified input,
.peakledger-unified select,
.peakledger-unified textarea,
.peakledger-unified .activity-search,
.peakledger-unified .activity-filters select,
.peakledger-unified .pl-suggestion-select,
.peakledger-unified .connection-label-input,
.peakledger-unified .name-editor input,
.peakledger-unified .archive-confirm-input,
.peakledger-unified .zip-drop{
    background:linear-gradient(180deg,rgba(10,28,38,.96),rgba(7,22,31,.99))!important;
    border-color:rgba(159,199,216,.15)!important;
    color:#e6f1f6!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.peakledger-unified .activity-filters,
.peakledger-unified .import-review-head,
.peakledger-unified .import-confirm-bar,
.peakledger-unified .duplicate-review,
.peakledger-unified .pl-suggestions-toolbar,
.peakledger-unified .pl-suggestions-filters{
    background:rgba(255,255,255,.014)!important;
    border-color:rgba(162,201,220,.09)!important;
}
.peakledger-unified .connect-button,
.peakledger-unified .neutral-button,
.peakledger-unified .promote-button,
.peakledger-unified .verify-update-button,
.peakledger-unified .apply-update-button,
.peakledger-unified .pl-plan-primary,
.peakledger-unified .pl-suggestions-apply,
.peakledger-unified .activity-filters>button,
.peakledger-unified .activity-filters>a{
    background:linear-gradient(180deg,rgba(40,88,110,.90),rgba(17,55,72,.98))!important;
    border-color:rgba(118,205,238,.26)!important;
    color:#f3fbff!important;
    box-shadow:0 6px 16px rgba(5,17,24,.16)!important;
}
.peakledger-unified .discard-update-button,
.peakledger-unified .rollback-button,
.peakledger-unified .danger-button{
    background:linear-gradient(180deg,rgba(29,45,54,.88),rgba(13,27,34,.96))!important;
}

/* Stronger text hierarchy so supporting pages remain readable at a glance. */
.peakledger-unified .data-summary-card>span,
.peakledger-unified .activity-table-head,
.peakledger-unified .page-scopebar>span,
.peakledger-unified .page-entitybar>span,
.peakledger-unified .pl-plan-eyebrow,
.peakledger-unified .pl-kicker,
.peakledger-unified .manager-badge,
.peakledger-unified .history-status,
.peakledger-unified .settings-eyebrow{color:#8aa6b4!important}
.peakledger-unified .activity-account,
.peakledger-unified .activity-category,
.peakledger-unified .activity-date,
.peakledger-unified .activity-ledger-note,
.peakledger-unified .account-purpose-note,
.peakledger-unified .account-source-sync,
.peakledger-unified .connection-hero p,
.peakledger-unified .family-card-head>div>span,
.peakledger-unified .update-hero p,
.peakledger-unified .update-status>small,
.peakledger-unified .pl-plan-lead p,
.peakledger-unified .pl-plan-section p,
.peakledger-unified .pl-taxonomy-card p,
.peakledger-unified .pl-health-intro p,
.peakledger-unified .pl-health-section header p,
.peakledger-unified .pl-category-guide,
.peakledger-unified .pl-suggestion-note,
.peakledger-unified .pl-modal-empty,
.peakledger-unified .pl-plan-disclaimer{color:#a6bac5!important}
.peakledger-unified .pl-plan-section>header h2,
.peakledger-unified .pl-taxonomy-card h2,
.peakledger-unified .pl-health-section h2,
.peakledger-unified .connection-hero h2,
.peakledger-unified .account-group-head h2,
.peakledger-unified .family-card-head h3,
.peakledger-unified .update-hero h2{letter-spacing:-.028em!important}
.peakledger-unified .activity-amount,
.peakledger-unified .account-detail-balance strong,
.peakledger-unified .pl-plan-section>header strong,
.peakledger-unified .pl-plan-total strong,
.peakledger-unified .update-status>strong,
.peakledger-unified .pl-health-bottom-line{color:#f5fbfe!important}

/* Activity modal and health cleanup components benefit from extra air. */
.peakledger-unified .activity-day-modal-dialog{border-radius:16px!important}
.peakledger-unified .pl-category-grid{gap:14px!important}
.peakledger-unified .pl-suggestions-actions{padding-top:10px!important;border-top:1px solid rgba(164,201,220,.08)!important}
.peakledger-unified .pl-taxonomy-grid{gap:16px!important}

@media(max-width:980px){
    .peakledger-unified .main::before{inset:0}
}
@media(max-width:720px){
    .peakledger-unified .pl-workspace-tabs,
    .peakledger-unified .pl-health-wayfinding,
    .peakledger-unified .page-scopebar,
    .peakledger-unified .page-entitybar,
    .peakledger-unified .pl-plan-scopes,
    .peakledger-unified .pl-spending-period{border-radius:10px!important}
    .peakledger-unified .activity-summary,
    .peakledger-unified .data-summary-card,
    .peakledger-unified .update-status,
    .peakledger-unified .pl-health-stats article{box-shadow:0 10px 24px rgba(3,11,17,.15)!important}
}


/* ========================================================================
   PeakLedger v1.58.3 — hybrid refinement
   Restore a crisp dark top section while keeping content tables/cards lighter
   and easier to read. This avoids the washed-out, blurry look from v1.58.2.
   ======================================================================== */
body.peakledger-unified{
    background:
        radial-gradient(760px 300px at 16% -4%, rgba(146,176,194,.11), transparent 72%),
        radial-gradient(940px 380px at 100% 0%, rgba(69,111,134,.12), transparent 70%),
        linear-gradient(180deg,#13212b 0,#162833 23%,#dce4e9 23%,#dce4e9 100%)!important;
}
body.peakledger-unified::before{opacity:.02!important}
.peakledger-unified .glow{display:none!important}
.peakledger-unified .main::before{display:none!important}

/* Keep the framing sharp and premium instead of frosted/blurred. */
.peakledger-unified .data-topbar,
.peakledger-unified .settings-topbar{
    background:linear-gradient(180deg,#314654 0,#1f3441 58%,#182b37 100%)!important;
    border-bottom:1px solid rgba(130,167,187,.18)!important;
    box-shadow:0 10px 26px rgba(8,15,20,.16)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
.peakledger-unified .data-topbar::after,
.peakledger-unified .settings-topbar::after{
    background:linear-gradient(90deg,rgba(133,192,218,.20),rgba(255,255,255,.04),transparent)!important;
}
.peakledger-unified .title-row h1,
.peakledger-unified .settings-topbar h1,
.peakledger-unified .data-topbar h1{color:#f5fbff!important}
.peakledger-unified .title-row p,
.peakledger-unified .settings-topbar p,
.peakledger-unified .data-topbar p{color:#adc0cc!important}
.peakledger-unified .back-dashboard{
    background:linear-gradient(180deg,#375667,#274654)!important;
    color:#f4fbff!important;
    border:1px solid rgba(145,191,214,.22)!important;
    box-shadow:0 4px 12px rgba(7,15,20,.12)!important;
}

/* Dark, crisp upper controls and summary surfaces. */
.peakledger-unified .pl-workspace-tabs,
.peakledger-unified .pl-health-wayfinding,
.peakledger-unified .page-scopebar,
.peakledger-unified .page-entitybar,
.peakledger-unified .pl-plan-scopes,
.peakledger-unified .pl-spending-period,
.peakledger-unified .activity-view-context,
.peakledger-unified .data-summary-card,
.peakledger-unified .activity-summary>div,
.peakledger-unified .activity-shell,
.peakledger-unified .activity-trend,
.peakledger-unified .activity-filters,
.peakledger-unified .pl-bills-overview,
.peakledger-unified .pl-plan-lead,
.peakledger-unified .pl-health-intro,
.peakledger-unified .connection-hero,
.peakledger-unified .readiness,
.peakledger-unified .update-hero{
    background:linear-gradient(180deg,#324857 0,#233946 55%,#1d313d 100%)!important;
    border:1px solid rgba(139,177,197,.18)!important;
    box-shadow:0 8px 20px rgba(8,15,20,.10)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}
.peakledger-unified .pl-workspace-tabs a,
.peakledger-unified .pl-health-wayfinding a,
.peakledger-unified .page-scopebar>a,
.peakledger-unified .page-entitybar>a,
.peakledger-unified .pl-plan-scopes a{color:#b7cad4!important}
.peakledger-unified .pl-workspace-tabs a:hover,
.peakledger-unified .pl-health-wayfinding a:hover,
.peakledger-unified .page-scopebar>a:hover,
.peakledger-unified .page-entitybar>a:hover,
.peakledger-unified .pl-plan-scopes a:hover{background:rgba(100,164,193,.11)!important;color:#f4fbff!important}
.peakledger-unified .pl-workspace-tabs a.selected,
.peakledger-unified .pl-health-wayfinding a.selected,
.peakledger-unified .page-scopebar>a.active,
.peakledger-unified .page-entitybar>a.active,
.peakledger-unified .pl-plan-scopes a.selected{
    background:linear-gradient(180deg,#5a8298,#35576a)!important;
    color:#fff!important;
    border-color:rgba(172,212,231,.28)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
}
.peakledger-unified .page-scopebar>span,
.peakledger-unified .page-entitybar>span,
.peakledger-unified .data-summary-card>span,
.peakledger-unified .activity-summary span,
.peakledger-unified .pl-bills-overview-kicker,
.peakledger-unified .pl-plan-eyebrow,
.peakledger-unified .pl-kicker{color:#aac0cb!important}
.peakledger-unified .data-summary-card>strong,
.peakledger-unified .activity-summary strong,
.peakledger-unified .pl-bills-stat strong,
.peakledger-unified .pl-plan-lead h2,
.peakledger-unified .connection-hero h2,
.peakledger-unified .update-hero h2,
.peakledger-unified .pl-health-intro h2{color:#f6fbfe!important}
.peakledger-unified .data-summary-card>small,
.peakledger-unified .activity-summary small,
.peakledger-unified .pl-bills-overview-main p,
.peakledger-unified .connection-hero p,
.peakledger-unified .update-hero p,
.peakledger-unified .pl-health-intro p,
.peakledger-unified .pl-plan-lead p{color:#b7c8d1!important}

/* Filters and chart area should feel intentional, not misty. */
.peakledger-unified .activity-filters{background:linear-gradient(180deg,#223742,#1c2f39)!important;border-top:1px solid rgba(255,255,255,.03)!important;border-bottom:1px solid rgba(116,157,177,.14)!important}
.peakledger-unified .activity-search,
.peakledger-unified .activity-filters select,
.peakledger-unified .activity-filters>button,
.peakledger-unified .activity-filters>a,
.peakledger-unified .pl-bill-create input,
.peakledger-unified .pl-bill-create select,
.peakledger-unified .pl-bill-create textarea{
    background:#f6f9fb!important;
    color:#203643!important;
    border:1px solid #c5d0d7!important;
    box-shadow:none!important;
}
.peakledger-unified .activity-filters>button,
.peakledger-unified .activity-filters>a.activity-clear,
.peakledger-unified .connect-button,
.peakledger-unified .neutral-button,
.peakledger-unified .promote-button,
.peakledger-unified .verify-update-button,
.peakledger-unified .apply-update-button,
.peakledger-unified .pl-plan-primary,
.peakledger-unified .pl-suggestions-apply{
    background:linear-gradient(180deg,#5c8297,#3b6072)!important;
    border-color:#6f95aa!important;
    color:#fff!important;
    box-shadow:none!important;
}
.peakledger-unified .activity-shell>.activity-trend,
.peakledger-unified .activity-trend{
    background:linear-gradient(180deg,#0f2430,#132a37)!important;
    border-bottom:1px solid rgba(117,157,177,.16)!important;
}

/* Light content surfaces below the summary section. */
.peakledger-unified .activity-table,
.peakledger-unified .account-group-card,
.peakledger-unified .connection-family,
.peakledger-unified .family-card,
.peakledger-unified .family-add-card,
.peakledger-unified .live-provider,
.peakledger-unified .import-review-section,
.peakledger-unified .import-account-card,
.peakledger-unified .manager-attention,
.peakledger-unified .manager-diagnostics,
.peakledger-unified .archived-source-section,
.peakledger-unified .update-status,
.peakledger-unified .update-upload,
.peakledger-unified .update-review,
.peakledger-unified .update-security,
.peakledger-unified .update-history,
.peakledger-unified .pl-bills-group,
.peakledger-unified .pl-bill-item,
.peakledger-unified .pl-bill-create,
.peakledger-unified .pl-plan-section,
.peakledger-unified .pl-taxonomy-card,
.peakledger-unified .pl-health-section,
.peakledger-unified .pl-saved-rule,
.peakledger-unified .pl-plan-message{
    background:linear-gradient(180deg,#f7fafc,#eef3f6)!important;
    border:1px solid #c8d3db!important;
    box-shadow:0 6px 18px rgba(11,22,30,.06)!important;
    color:#273b47!important;
}
.peakledger-unified .activity-table-head,
.peakledger-unified .account-group-head,
.peakledger-unified .pl-bills-group-header,
.peakledger-unified .pl-plan-section>header,
.peakledger-unified .pl-health-section header{
    background:linear-gradient(180deg,#eef3f6,#e5edf2)!important;
    border-bottom:1px solid #d3dce2!important;
}
.peakledger-unified .activity-table-row,
.peakledger-unified .account-detail-row,
.peakledger-unified .family-account-row,
.peakledger-unified .compact-live-account,
.peakledger-unified .managed-account,
.peakledger-unified .import-account-coverage,
.peakledger-unified .duplicate-row,
.peakledger-unified .diagnostic-event-row,
.peakledger-unified .pl-bridge-row,
.peakledger-unified .pl-category-row,
.peakledger-unified .pl-plan-entry,
.peakledger-unified .pl-project-row,
.peakledger-unified .pl-taxonomy-child,
.peakledger-unified .rule,
.peakledger-unified .history-entry,
.peakledger-unified .pl-saved-rule{
    background:rgba(255,255,255,.78)!important;
    border-color:#d7e0e6!important;
}
.peakledger-unified .activity-table-row:nth-child(even),
.peakledger-unified .account-detail-row:nth-child(even),
.peakledger-unified .pl-category-row:nth-child(even){background:#f2f6f8!important}
.peakledger-unified .activity-table-row:hover,
.peakledger-unified .account-detail-row:hover,
.peakledger-unified .family-account-row:hover,
.peakledger-unified .managed-account:hover,
.peakledger-unified .pl-category-row:hover,
.peakledger-unified .pl-plan-entry:hover,
.peakledger-unified .pl-project-row:hover{background:#eaf1f5!important;border-color:#c8d4dc!important}

/* Dark text hierarchy on the light content panels. */
.peakledger-unified .activity-table,
.peakledger-unified .activity-table *:not(canvas),
.peakledger-unified .account-group-card,
.peakledger-unified .account-group-card *,
.peakledger-unified .connection-family,
.peakledger-unified .connection-family *,
.peakledger-unified .family-card,
.peakledger-unified .family-card *,
.peakledger-unified .live-provider,
.peakledger-unified .live-provider *,
.peakledger-unified .import-review-section,
.peakledger-unified .import-review-section *,
.peakledger-unified .import-account-card,
.peakledger-unified .import-account-card *,
.peakledger-unified .manager-attention,
.peakledger-unified .manager-attention *,
.peakledger-unified .manager-diagnostics,
.peakledger-unified .manager-diagnostics *,
.peakledger-unified .archived-source-section,
.peakledger-unified .archived-source-section *,
.peakledger-unified .update-status,
.peakledger-unified .update-status *,
.peakledger-unified .update-upload,
.peakledger-unified .update-upload *,
.peakledger-unified .update-review,
.peakledger-unified .update-review *,
.peakledger-unified .update-security,
.peakledger-unified .update-security *,
.peakledger-unified .update-history,
.peakledger-unified .update-history *,
.peakledger-unified .pl-bills-group,
.peakledger-unified .pl-bills-group *,
.peakledger-unified .pl-bill-item,
.peakledger-unified .pl-bill-item *,
.peakledger-unified .pl-bill-create,
.peakledger-unified .pl-bill-create *,
.peakledger-unified .pl-plan-section,
.peakledger-unified .pl-plan-section *,
.peakledger-unified .pl-taxonomy-card,
.peakledger-unified .pl-taxonomy-card *,
.peakledger-unified .pl-health-section,
.peakledger-unified .pl-health-section *{
    color:#253844!important;
}
.peakledger-unified .activity-account,
.peakledger-unified .activity-category,
.peakledger-unified .activity-date,
.peakledger-unified .activity-ledger-note,
.peakledger-unified .account-purpose-note,
.peakledger-unified .account-source-sync,
.peakledger-unified .family-card-head>div>span,
.peakledger-unified .pl-category-guide,
.peakledger-unified .pl-suggestion-note,
.peakledger-unified .pl-plan-disclaimer,
.peakledger-unified .pl-bill-due,
.peakledger-unified .pl-bill-meter,
.peakledger-unified .pl-bill-pay-details{color:#5f7684!important}
.peakledger-unified .activity-table-head,
.peakledger-unified .activity-table-head *,
.peakledger-unified .account-group-head h2,
.peakledger-unified .account-group-head p,
.peakledger-unified .pl-bills-group-header,
.peakledger-unified .pl-bills-group-header *,
.peakledger-unified .pl-plan-section>header h2,
.peakledger-unified .pl-health-section h2,
.peakledger-unified .pl-taxonomy-card h2{color:#263b48!important}
.peakledger-unified .activity-amount,
.peakledger-unified .account-detail-balance strong,
.peakledger-unified .pl-bill-balance,
.peakledger-unified .pl-bill-balance *,
.peakledger-unified .pl-health-bottom-line,
.peakledger-unified .pl-bills-stat strong{font-weight:700!important}

/* Preserve status and action color cues. */
.peakledger-unified .activity-amount.negative,
.peakledger-unified .money-out,
.peakledger-unified .negative{color:#b4495a!important}
.peakledger-unified .activity-amount.positive,
.peakledger-unified .money-in,
.peakledger-unified .positive{color:#2d7a61!important}
.peakledger-unified .pl-bill-state-overdue,
.peakledger-unified .pl-bill-state-soon{background:#f4e4c9!important;color:#7a5624!important;border-color:#d8be8c!important}
.peakledger-unified .pl-bill-state-month,
.peakledger-unified .pl-bill-state-flexible{background:#d9e7ee!important;color:#355568!important;border-color:#b6ccd9!important}
.peakledger-unified .pl-bill-state-done{background:#d9eee3!important;color:#2a6047!important;border-color:#b2d4c0!important}
.peakledger-unified .pl-bill-record,
.peakledger-unified .pl-bill-doc-button,
.peakledger-unified .pl-bill-quiet-action,
.peakledger-unified .pl-bill-overflow{background:#eff4f7!important;border:1px solid #c7d3db!important;color:#314b5a!important}
.peakledger-unified .pl-bill-record{background:linear-gradient(180deg,#5d8297,#406677)!important;border-color:#6b91a6!important;color:#fff!important}

/* Keep dark charts/modals readable. */
.peakledger-unified .activity-day-modal-dialog,
.peakledger-unified .pl-bill-modal,
.peakledger-unified .pl-doc-viewer{
    background:linear-gradient(180deg,#17303d,#0f2531)!important;
    color:#e8f2f6!important;
}

@media(max-width:980px){
    body.peakledger-unified{background:linear-gradient(180deg,#162833 0,#1a2f3b 18%,#dce4e9 18%,#dce4e9 100%)!important}
}
