@font-face{font-family:Bernard;src:url('/serif.ttf')}*{box-sizing:border-box}body{margin:0;background:#f3f5f8;color:#172e4b;font:16px/1.6 system-ui,sans-serif}button,a{touch-action:manipulation}button,.primary{font:inherit;border:1px solid #ced6e0;border-radius:7px;padding:10px 18px;min-height:44px;background:white;color:#102e52;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}button:hover{background:#edf1f6}button:focus-visible,a:focus-visible{outline:3px solid #bb943d;outline-offset:3px}.primary{background:#08233e;color:white;border-color:#08233e}h1,h2,h3,.brand{font-family:Bernard,Georgia,serif;font-weight:400}h1{font-size:44px;line-height:1.15;margin:0 0 16px}h2{font-size:26px;line-height:1.25;margin:0}h3{font-size:22px;line-height:1.25;margin:7px 0}.shell{display:flex;min-height:100vh}aside{position:sticky;top:0;width:270px;background:#08233e;color:white;height:100vh;display:flex;flex-direction:column;padding:28px 20px;flex-shrink:0}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:white;font-size:21px;line-height:1.1}.bc{font-size:54px;border-right:1px solid #ba953f;padding-right:12px}.brand small{font-size:12px;display:block;border-top:2px solid #bb943d;padding-top:7px;margin-top:7px;font-style:italic}.nav-label{font-size:12px;letter-spacing:2px;margin:45px 14px 16px;color:#aebed0}nav{display:flex;flex-direction:column;gap:4px}nav a{text-decoration:none;color:#c9d5e3;padding:10px 16px;border-radius:5px;font-size:14px}nav a.active{background:#244464;color:white;box-shadow:inset 3px 0 #c7a253}.aside-bottom{margin-top:auto;padding:24px 12px 0;font-size:12px;color:#d3ddea}.aside-bottom span{color:#9eafc2;font-size:12px}.workspace{flex:1;min-width:0}header{height:76px;display:flex;justify-content:space-between;align-items:center;padding:0 42px;background:white;border-bottom:1px solid #dce2e9;font-size:12px;letter-spacing:1.5px}header>div{display:flex;align-items:center;gap:16px}header button{font-size:13px;letter-spacing:0}main{max-width:1240px;margin:auto;padding:40px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.eyebrow{font-size:12px;letter-spacing:2px;color:#718197;margin:0 0 9px}.notice{border-left:3px solid #b4934b;background:#e9edf3;padding:12px 16px;font-size:14px;margin:10px 0 24px}.grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.card{background:white;border:1px solid #dbe1e9;border-radius:10px;padding:24px;margin-bottom:22px}.balance{background:#08233e;color:white;border-top:3px solid #bd994a}.balance small{color:#c3d0df}.amount{font-family:Bernard,Georgia,serif;font-size:52px;line-height:1.2;margin:12px 0}.metrics{display:flex;gap:30px;border-top:1px solid #496078;margin-top:24px;padding-top:18px}.metrics strong{display:block;font-size:21px;font-weight:500}.positive{color:#a6d9c3}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.section-heading button{font-size:13px;border:0;padding:4px 0}.row{padding:15px 0;border-bottom:1px solid #e8ebf0}.row:last-child{border:0}.row p{margin:6px 0;font-size:14px;color:#627287}.muted{color:#63748a;font-size:14px}.tag{font-size:12px;letter-spacing:1px;color:#7b6946}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.chart{width:100%;height:170px;margin-top:20px}.chart polyline{fill:none;stroke:#254f80;stroke-width:2.5}.chart polygon{fill:#e9eff6}table{width:100%;border-collapse:collapse}td,th{text-align:left;padding:14px 8px;border-bottom:1px solid #e3e7ed;font-size:14px}th{font-weight:500;color:#66768a}footer{padding:20px 42px;font-size:12px;color:#74849a;border-top:1px solid #dce2e9}footer span{float:right}.welcome-mark{font-family:Bernard,serif;font-size:80px;color:#08233e;border-bottom:3px solid #bb943d;width:110px;margin-bottom:30px}#welcome{max-width:740px;margin:45px auto 85px}#welcome h1{font-size:56px}.lead{font-size:18px;color:#63748a}.welcome-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.tabs{display:flex;gap:8px;margin-bottom:20px}.tabs button.active{background:#08233e;color:white}.empty{padding:20px 0;color:#63748a}.file-link{display:inline-flex;min-height:44px;align-items:center;color:#08233e}.episode{display:flex;gap:16px;align-items:center}.episode img{width:90px;height:90px;object-fit:contain;border-radius:6px}.episode-icon{background:#08233e;color:white;border-radius:6px;width:70px;height:70px;display:grid;place-items:center;font-size:28px;flex-shrink:0}[hidden]{display:none!important}@media(max-width:1000px){aside{width:220px}.grid{grid-template-columns:1fr}main{padding:28px}.brand{font-size:17px}.bc{font-size:42px}}@media(max-width:650px){.shell{display:block}aside{position:relative;height:auto;width:auto;padding:16px}.brand{font-size:22px}.bc{font-size:46px}.nav-label,.aside-bottom{display:none}nav{flex-direction:row;overflow:auto;margin-top:16px}nav a{white-space:nowrap;padding:8px 12px}header{height:auto;min-height:60px;padding:12px 20px;gap:10px;flex-wrap:wrap}main{padding:22px 16px}h1{font-size:34px}#welcome h1{font-size:40px}.amount{font-size:42px}.card{padding:18px}.metrics{gap:20px}.metrics strong{font-size:18px}footer{padding:20px}footer span{float:none;display:block}.page-heading button{padding:8px 12px}#welcome{margin:20px 0 50px}}

.bc-image{width:64px;height:64px;object-fit:contain}.brand>span{min-width:0}

.brand img.brand-lockup{display:block;width:100%;height:auto;max-width:314px}
.portal-welcome-logo{background:#08233e;display:inline-block;padding:6px 12px;border-radius:4px;margin-bottom:26px;max-width:100%}
.portal-welcome-logo .brand-lockup{display:block;width:314px;max-width:100%;height:auto}

.portfolio-controls{display:flex;flex-wrap:wrap;align-items:end;gap:16px;margin-top:20px}
.portfolio-account-label{display:flex;flex-direction:column;gap:5px;font-size:14px;flex:1;min-width:170px}
.portfolio-controls select{font:inherit;color:#173451;background:white;border:1px solid #b9c6d4;border-radius:5px;padding:10px 32px 10px 12px;min-height:44px;max-width:100%;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#173451 50%),linear-gradient(135deg,#173451 50%,transparent 50%);background-position:calc(100% - 17px) 19px,calc(100% - 12px) 19px;background-size:5px 5px;background-repeat:no-repeat}
.portfolio-ranges{display:flex;flex-wrap:wrap;gap:5px}.portfolio-ranges button{font-size:14px;padding:8px 10px}.portfolio-ranges button[aria-pressed=true]{background:#08233e;color:white;border-color:#08233e}
.portfolio-history-chart{display:block;width:100%;height:auto;min-height:180px}.portfolio-chart-value{font:36px Bernard,Georgia,serif;color:#08233e}.portfolio-history-chart circle:focus{outline:2px solid #b99547}.card details summary{cursor:pointer;min-height:44px;font-size:14px}

/* Compact balance chart stays inside the existing blue portfolio card. */
.grid>div{min-width:0}
.balance>.portfolio-inset{width:100%;max-width:100%;min-width:0;margin:20px 0 0;padding:14px;background:#fff;color:#172e4b;border:1px solid #dce3eb;border-radius:6px;overflow:hidden}
.portfolio-inset .portfolio-controls{margin-top:0;gap:8px;align-items:center}
.portfolio-inset .portfolio-account-label{font-size:12px;min-width:130px}
.portfolio-inset select{padding-top:6px;padding-bottom:6px;min-height:36px;font-size:13px;background-position:calc(100% - 17px) 15px,calc(100% - 12px) 15px}
.portfolio-inset .portfolio-ranges{gap:3px}
.portfolio-inset .portfolio-ranges button{padding:4px 7px;min-height:32px;border-radius:18px;font:13px Georgia,serif}
.portfolio-inset .portfolio-history-chart{width:100%;max-width:100%;height:auto;min-height:0;margin:0}
.portfolio-inset .muted{font-size:12px;margin:6px 0;color:#63748a}
.portfolio-inset details{font-size:12px}.portfolio-inset details summary{font-size:12px;min-height:28px}
.portfolio-inset table{font-size:12px}
@media(max-width:650px){.balance>.portfolio-inset{padding:10px}.portfolio-inset .portfolio-controls{align-items:stretch}.portfolio-inset .portfolio-account-label{flex-basis:100%}}

/* Seamless navy and gold portfolio chart treatment. */
.balance>.portfolio-inset{background:transparent;color:#fff;border:0;border-top:1px solid #496078;border-radius:0;padding:20px 0 0;overflow:hidden}
.portfolio-inset .portfolio-account-label{color:#c3d0df}
.portfolio-inset select{background-color:#08233e;color:#fff;border-color:#587089;background-image:linear-gradient(45deg,transparent 50%,#c3d0df 50%),linear-gradient(135deg,#c3d0df 50%,transparent 50%)}
.portfolio-inset .portfolio-ranges{gap:0;border:1px solid #587089;border-radius:5px;overflow:hidden}
.portfolio-inset .portfolio-ranges button{background:transparent;color:#e4ebf3;border:0;border-right:1px solid #39526b;border-radius:0}
.portfolio-inset .portfolio-ranges button:last-child{border-right:0}
.portfolio-inset .portfolio-ranges button[aria-pressed=true]{background:#c4a15c;color:#08233e}
.portfolio-inset .muted,.portfolio-inset .empty{color:#b9c8d9}
.portfolio-inset details summary{color:#d9bc7e}
.portfolio-inset table td,.portfolio-inset table th{color:#d6e0eb;border-bottom-color:#39526b}
.balance .metrics .positive{color:#d9bc7e}
@media(max-width:650px){.balance>.portfolio-inset{padding:16px 0 0}}

/* Approved white portfolio design, confined to the original card width. */
.balance{background:#fff;color:#08233e;border:1px solid #dbe1e9;border-top:3px solid #c4a15c}
.portfolio-title-row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.balance small{color:#63748a}.portfolio-title-row>small{color:#08233e;letter-spacing:1.7px;font-size:12px}
.sample-badge{font:12px Georgia,serif;letter-spacing:1px;border:1px solid #b99136;border-radius:18px;padding:3px 12px;color:#906c20}
.balance .amount{font-family:"Times New Roman",Times,serif;font-weight:400;font-size:clamp(30px,3.8vw,48px);letter-spacing:-.7px;color:#08233e;overflow-wrap:anywhere}
.balance>.portfolio-inset{background:#fff;color:#08233e;border-top-color:#dce3eb}
.portfolio-inset .portfolio-account-label{color:#63748a}
.portfolio-inset select{background-color:#fff;color:#08233e;border-color:#bdc9d6;background-image:linear-gradient(45deg,transparent 50%,#08233e 50%),linear-gradient(135deg,#08233e 50%,transparent 50%)}
.portfolio-inset .portfolio-ranges{border-color:#bdc9d6}
.portfolio-inset .portfolio-ranges button{color:#08233e;background:white;border-right-color:#dce3eb}
.portfolio-inset .portfolio-ranges button[aria-pressed=true]{background:#08233e;color:#fff}
.portfolio-inset .muted,.portfolio-inset .empty{color:#63748a}
.portfolio-inset details summary{color:#08233e;text-decoration:underline}
.portfolio-inset table td,.portfolio-inset table th{color:#173451;border-bottom-color:#e3e7ed}
.balance .metrics{border-top-color:#dce3eb;gap:24px}
.balance .metrics>div{flex:1;min-width:0}
.balance .metrics>div:before{content:"";display:block;width:28px;height:2px;background:#c4a15c;margin-bottom:8px}
.balance .metrics strong.positive{font:400 clamp(21px,2.5vw,29px) "Times New Roman",Times,serif;color:#08233e}
.chart-readout{font-size:12px;color:#173451;margin:4px 0;min-height:20px}
.portfolio-history-chart circle{cursor:pointer;stroke:white;stroke-width:1.3}
@media(max-width:650px){.balance .metrics{gap:14px}.portfolio-title-row>small{letter-spacing:1px}}

/* Shorter plot with straight balance-to-balance segments. */
.portfolio-inset .portfolio-history-chart{height:auto;min-height:0}
.balance>.portfolio-inset{margin-top:14px;padding-top:14px}
.portfolio-inset .muted{margin:4px 0}
.chart-readout{margin:2px 0;min-height:18px}

/* Smaller headline figure and a prominent session exit. */
.balance .amount{font-size:clamp(22.5px,2.85vw,36px)}
header .logout-button{background:#08233e;border:1px solid #08233e;color:white;min-height:44px;padding:9px 18px;font-size:14px;font-weight:500}
header .logout-button:hover{background:#204464}
header .logout-button:disabled{opacity:.65;cursor:wait}

.funding-page{max-width:800px}.funding-tabs{display:flex;border:1px solid #cad4df;border-radius:6px;overflow:hidden;margin:20px 0}
.funding-tabs button{flex:1;border:0;border-radius:0;background:white;color:#08233e}.funding-tabs button.active{background:#08233e;color:white}
.funding-page .card{margin-top:20px}.funding-page .card p{color:#465b76}
.funding-page form{display:grid;gap:14px;margin-top:20px}.funding-page label{display:grid;gap:7px;font-size:14px;color:#283b55}
.funding-page input,.funding-page select,.funding-page textarea{width:100%;font:16px system-ui,sans-serif;padding:12px;color:#08233e;border:1px solid #c6d1df;border-radius:5px;background:#fafbfd}
.funding-page select{appearance:none;padding-right:32px;background-image:linear-gradient(45deg,transparent 50%,#08233e 50%),linear-gradient(135deg,#08233e 50%,transparent 50%);background-position:calc(100% - 17px) 20px,calc(100% - 12px) 20px;background-size:5px 5px;background-repeat:no-repeat}
.funding-page button:disabled{opacity:.55;cursor:not-allowed}.funding-status{color:#173451;font-size:14px}.funding-page form .muted{margin:0}

/* Banking-style overview; existing logo and navigation remain unchanged. */
.overview-intro{margin:4px 0 24px}.overview-intro h2{font-size:32px}.overview-intro p{margin:8px 0}
.banking-summary{display:grid;grid-template-columns:minmax(245px,.8fr) minmax(0,1.6fr);gap:30px;align-items:start;width:100%}
.banking-values{min-width:0}.banking-summary .amount{font-size:clamp(26px,2.6vw,36px);margin:18px 0 8px}
.banking-summary .metrics{flex-direction:column;gap:0;padding-top:12px;margin-top:24px}
.banking-summary .metrics>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e3e7ed}
.banking-summary .metrics>div:before{display:none}.banking-summary .metrics small{font-size:14px}
.banking-summary .metrics strong.positive{font-size:23px;white-space:nowrap}
.banking-summary>.portfolio-inset{border:0;border-left:1px solid #e1e7ee;border-radius:0;margin:0;padding:0 0 0 26px;background:white;width:100%;min-width:0}
.banking-summary .portfolio-inset h2{font-size:26px;margin-bottom:12px}
.banking-summary .portfolio-inset .portfolio-history-chart{height:255px;min-height:0;width:100%;max-width:100%}
.banking-quick{padding:16px 22px}.banking-quick-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
.banking-quick-actions h3{font-size:23px;margin:0 10px 0 0}
.banking-quick-actions button{border:0;border-left:1px solid #e1e7ee;border-radius:0;background:transparent;font-size:14px;padding:8px 14px}
.banking-quick-actions button:disabled{color:#89939e;cursor:not-allowed}
.banking-quick>small{display:block;margin-top:7px;font-size:12px}
.banking-lower{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px}
.banking-lower>div{min-width:0}.banking-account-row{display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid #e3e7ed;padding:15px 0}
.banking-account-row h3{font-size:21px;margin:0}.banking-account-row p{margin:5px 0 0}
.banking-account-amount{font:400 25px "Times New Roman",Times,serif;color:#08233e;white-space:nowrap}
.banking-activity-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #e3e7ed}
.banking-activity-row button{text-align:left;justify-content:flex-start;border:0;padding:5px 0;background:transparent;font-size:14px}
.banking-activity-row small{font-size:12px;white-space:nowrap}
.banking-connection{background:#08233e;color:white;border-top:2px solid #c4a15c}
.banking-connection p{font-size:16px;color:#dae4ef;overflow-wrap:anywhere}
.banking-connection button{background:#c4a15c;color:#08233e;border-color:#c4a15c;font-size:14px}
@media(max-width:1150px){.banking-summary{grid-template-columns:1fr}.banking-summary>.portfolio-inset{border-left:0;border-top:1px solid #e1e7ee;padding:20px 0 0}.banking-summary .metrics{flex-direction:row;gap:24px}.banking-summary .metrics>div{display:block;flex:1}.banking-summary .metrics strong{display:block;margin-top:5px}}
@media(max-width:800px){.banking-lower{grid-template-columns:1fr}.banking-account-amount{font-size:22px}}
@media(max-width:650px){.banking-summary{gap:20px}.banking-summary .portfolio-inset .portfolio-history-chart{height:230px}.banking-account-row{flex-wrap:wrap;gap:8px}.banking-activity-row{align-items:flex-start}.banking-quick-actions{gap:5px}.banking-quick-actions h3{width:100%;margin-bottom:7px}.banking-summary .metrics{gap:12px}.banking-summary .metrics small{font-size:12px}.banking-summary .metrics strong.positive{font-size:21px}}

/* Fluid desktop composition matching the selected overview mockup. */
.overview-layout main{width:100%;max-width:1920px;padding:24px 28px 36px}
body aside{width:224px;padding:24px 16px}
body aside nav a{display:flex;align-items:center;gap:14px;color:#edf2f8;font:17px/1.25 "Times New Roman",Times,serif;padding:11px 12px}
body aside nav a.active{background:#ffffff1c;border-radius:4px}
.overview-layout #dashboard>.page-heading{display:none}
.overview-layout #notice{font-size:12px;margin:0 0 14px;padding:7px 12px;background:#edf1f5}
.overview-layout .overview-intro{margin:0 0 18px}.overview-layout .overview-intro h2{font:400 40px/1.1 "Times New Roman",Times,serif}
.overview-layout .overview-intro p{font:italic 19px/1.4 "Times New Roman",Times,serif;color:#173451;margin-top:5px}
.overview-layout .card{border-radius:6px;box-shadow:0 2px 8px #08233e05;padding:20px 24px;margin-bottom:18px}
.overview-layout .banking-summary{gap:24px;grid-template-columns:minmax(265px,.9fr) minmax(0,1.7fr);border-top:2px solid #c4a15c;align-items:stretch}
.overview-layout .banking-summary .amount{font:400 clamp(28px,2.8vw,42px)/1.2 "Times New Roman",Times,serif;letter-spacing:-.6px;margin:20px 0 8px;overflow-wrap:normal}
.overview-layout .banking-summary .metrics{flex-direction:column;gap:0;border:0;margin-top:28px;padding:0}
.overview-layout .banking-summary .metrics>div{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-top:1px solid #dce3eb;border-bottom:0}
.overview-layout .banking-summary .metrics small{font:16px/1.3 "Times New Roman",Times,serif}
.overview-layout .banking-summary .metrics strong.positive{font:400 24px/1.3 "Times New Roman",Times,serif;margin:0}
.overview-layout .banking-summary>.portfolio-inset{border:0;border-left:1px solid #e1e7ee;padding:0 0 0 24px;margin:0;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);align-content:start;gap:6px 12px}
.overview-layout .portfolio-inset>h2{font:400 25px/1.2 "Times New Roman",Times,serif;margin:0;align-self:center}
.overview-layout .portfolio-inset>.portfolio-controls{margin:0;gap:8px;justify-content:flex-end}
.overview-layout .portfolio-inset>.portfolio-controls .portfolio-account-label{flex:1;min-width:130px}
.overview-layout .portfolio-inset>.portfolio-controls select{font-size:12px}
.overview-layout .portfolio-inset>div:last-child{grid-column:1/-1;min-width:0}
.overview-layout .banking-summary .portfolio-history-chart{height:280px;width:100%;max-width:100%;display:block}
.overview-layout .portfolio-ranges button{min-height:30px;padding:4px 7px;font-size:12px}
.overview-layout .banking-quick{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 20px}
.overview-layout .banking-quick-actions{gap:0;flex:1;justify-content:space-between}
.overview-layout .banking-quick-actions h3{font:400 23px/1.2 "Times New Roman",Times,serif;margin-right:14px}
.overview-layout .banking-quick-actions button{display:flex;align-items:center;gap:9px;padding:7px 15px;font:16px "Times New Roman",Times,serif}
.overview-layout .banking-quick>small{max-width:160px;font:italic 13px/1.4 "Times New Roman",Times,serif;margin:0}
.overview-layout .banking-lower{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:18px}
.overview-layout .banking-lower h2{font:400 28px/1.15 "Times New Roman",Times,serif}
.overview-layout .banking-account-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;padding:13px 0;gap:12px}
.overview-layout .banking-account-row>.overview-icon{color:#b18d40}
.overview-layout .banking-account-row h3{font:400 21px/1.25 "Times New Roman",Times,serif}
.overview-layout .banking-account-row .muted{font:15px/1.4 "Times New Roman",Times,serif}
.overview-layout .banking-account-amount{font-size:26px}
.overview-layout .banking-activity-row button{font:16px "Times New Roman",Times,serif}
.overview-layout .banking-connection{background:#08233e;background-image:linear-gradient(155deg,transparent 70%,#c4a15c15 70.2%,transparent 70.5%);padding:24px 28px}
.overview-layout .banking-connection h2{font-size:30px}.overview-layout .banking-connection p{font:19px "Times New Roman",Times,serif}
.overview-layout .banking-connection button{font:16px "Times New Roman",Times,serif;padding:9px 18px}
.overview-icon{width:23px;height:23px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:1600px){.overview-layout main{padding:28px 36px 40px}.overview-layout .banking-summary{grid-template-columns:minmax(300px,.85fr) minmax(0,1.75fr)}.overview-layout .banking-summary .portfolio-history-chart{height:300px}}
@media(max-width:1250px) and (min-width:1051px){body aside{width:200px}.overview-layout main{padding:22px}.overview-layout .banking-summary{grid-template-columns:minmax(250px,.9fr) minmax(0,1.5fr)}.overview-layout .banking-summary>.portfolio-inset{display:block}.overview-layout .portfolio-inset>.portfolio-controls{margin:10px 0}.overview-layout .banking-quick{flex-wrap:wrap}.overview-layout .banking-quick>small{max-width:none}.overview-layout .banking-account-amount{font-size:23px}}
@media(max-width:1050px){.overview-layout main{padding:22px}.overview-layout .banking-summary{grid-template-columns:1fr}.overview-layout .banking-summary>.portfolio-inset{border-left:0;border-top:1px solid #e1e7ee;padding:18px 0 0}.overview-layout .banking-summary .metrics{margin-top:20px}.overview-layout .banking-quick{display:block}.overview-layout .banking-quick-actions{justify-content:flex-start;gap:8px}.overview-layout .banking-quick>small{max-width:none;margin-top:8px}.overview-layout .banking-lower{grid-template-columns:1fr}.overview-layout .banking-summary .portfolio-history-chart{height:260px}}
@media(max-width:650px){body aside{width:100%;padding:16px}.overview-layout main{padding:20px 14px}.overview-layout .card{padding:18px}.overview-layout .overview-intro h2{font-size:34px}.overview-layout .banking-summary>.portfolio-inset{display:block}.overview-layout .portfolio-inset>.portfolio-controls{margin:12px 0}.overview-layout .banking-summary .amount{font-size:32px}.overview-layout .banking-account-row{grid-template-columns:26px minmax(0,1fr)}.overview-layout .banking-account-amount{grid-column:2;font-size:24px}.overview-layout .banking-quick-actions h3{width:100%;margin:0 0 8px}.overview-layout .banking-summary .portfolio-history-chart{height:230px}.overview-layout .banking-quick-actions button{font-size:15px;padding:7px 10px}.overview-layout .banking-summary .metrics strong.positive{font-size:22px}.overview-layout .banking-activity-row small{white-space:normal}}

/* Compact mockup proportions, retaining the fluid desktop arrangement. */
.overview-layout main{padding:18px 24px 28px}
.overview-layout #notice{margin-bottom:10px;padding:5px 10px}
.overview-layout .overview-intro{margin-bottom:14px}
.overview-layout .overview-intro h2{font-size:34px}
.overview-layout .overview-intro p{font-size:17px;margin:4px 0}
.overview-layout .card{padding:16px 20px;margin-bottom:14px}
.overview-layout .banking-summary{gap:20px}
.overview-layout .banking-summary>.portfolio-inset{padding-left:20px}
.overview-layout .banking-summary .portfolio-history-chart{height:215px;min-height:0}
.overview-layout .portfolio-inset .muted{margin:3px 0;font-size:12px}
.overview-layout .chart-readout{margin:1px 0;min-height:16px;font-size:12px}
.overview-layout .portfolio-inset details summary{min-height:24px}
.overview-layout .banking-summary .amount{margin:14px 0 6px}
.overview-layout .banking-summary .metrics{margin-top:18px}
.overview-layout .banking-summary .metrics>div{padding:11px 0}
.overview-layout .banking-quick{padding:8px 16px;gap:10px}
.overview-layout .banking-lower{gap:14px}
.overview-layout .banking-account-row{padding:10px 0}
.overview-layout .banking-activity-row{padding:5px 0}
.overview-layout .banking-lower .section-heading{margin-bottom:6px}
.overview-layout .banking-lower .row{padding:10px 0}
@media(max-width:1050px){.overview-layout .banking-summary>.portfolio-inset{padding:14px 0 0}.overview-layout .banking-summary .portfolio-history-chart{height:215px}}
@media(max-width:650px){.overview-layout main{padding:16px 12px}.overview-layout .card{padding:16px}.overview-layout .banking-summary .portfolio-history-chart{height:auto;min-height:0}.overview-layout .overview-intro h2{font-size:30px}}

/* Reference-matched compact card contents; the chart frame retains its size. */
.chart-readout-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.overview-layout .overview-intro{position:relative;padding-right:220px}
.overview-layout .overview-intro p{font-style:normal;font-size:21px}
.overview-sample-badge{position:absolute;right:0;top:15px;border:1px solid #b18d40;border-radius:4px;padding:5px 18px;color:#8b6b25;background:white;font:14px "Times New Roman",Times,serif}
.overview-layout #notice{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%)}
.overview-layout .banking-summary .portfolio-title-row .sample-badge{display:none}
.overview-layout .banking-summary{min-height:318px}
.overview-layout .banking-summary .portfolio-inset{min-height:282px}
.overview-layout .banking-summary .portfolio-history-chart{height:180px;margin-top:10px;margin-bottom:12px}
.chart-history-caption{font:italic 14px/1.4 "Times New Roman",Times,serif;color:#63748a;margin:0 0 5px}
.overview-layout .banking-summary .portfolio-inset h2{font-size:25px}
.overview-layout .banking-summary .metrics strong.positive{font-size:25px}
.overview-layout .banking-connection{position:relative;overflow:hidden;background-image:linear-gradient(160deg,transparent 70%,#c4a15c18 70.2%,transparent 70.6%),linear-gradient(165deg,transparent 76%,#c4a15c55 76.2%,transparent 76.5%)}
.overview-layout .banking-activity-row button{display:flex;align-items:center;gap:14px}
.overview-layout .banking-activity-row .overview-icon{color:#b18d40;flex-shrink:0}
.overview-layout .banking-lower .row h3{font:400 19px/1.35 "Times New Roman",Times,serif}
.overview-layout .banking-lower .row>p{display:none}
.overview-layout .banking-lower .row>.tag{display:none}
.overview-layout .banking-lower .row{padding:13px 0}
@media(max-width:1050px){.overview-layout .banking-summary{min-height:0}.overview-layout .banking-summary .portfolio-inset{min-height:282px}}
@media(max-width:650px){.overview-layout .overview-intro{padding-right:0}.overview-sample-badge{position:static;display:inline-block;margin-top:8px}.overview-layout .banking-summary .portfolio-history-chart{height:180px}}

/* Equal quick-access columns and matching media icons. */
.overview-layout .banking-quick{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}
.overview-layout .banking-quick-actions{display:grid;grid-template-columns:1.05fr repeat(6,minmax(0,1fr));align-items:stretch;gap:0;width:100%}
.overview-layout .banking-quick-actions h3{align-self:center;margin:0;padding-right:10px}
.overview-layout .banking-quick-actions button{justify-content:center;gap:8px;padding:7px 8px;min-width:0;font-size:14px;line-height:1.25;text-align:center}
.overview-layout .banking-quick-actions button .overview-icon{width:20px;height:20px;flex-shrink:0}
.overview-layout .banking-quick>small{max-width:none;text-align:right;font-size:12px}
.overview-media-card .section-heading h2{display:flex;align-items:center;gap:10px}
.overview-media-card .section-heading h2>.overview-icon{width:23px;height:23px;color:#a9822f;flex-shrink:0}
.overview-media-row{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:12px;align-items:center}
.overview-media-row>.overview-icon{color:#a9822f;grid-column:1;grid-row:1/5}
.overview-media-row>h3,.overview-media-row>small,.overview-media-row>.file-link{grid-column:2}
.overview-media-row>img{grid-column:1/-1;margin-bottom:10px}
@media(max-width:1100px){.overview-layout .banking-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-layout .banking-quick-actions h3{grid-column:1/-1;padding:0 0 9px}.overview-layout .banking-quick-actions button{border:1px solid #e1e7ee;margin:-.5px;min-height:48px}.overview-layout .banking-quick>small{text-align:left;margin-top:6px}}
@media(max-width:650px){.overview-layout .banking-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-layout .banking-quick-actions button{font-size:14px}.overview-media-card .section-heading h2{font-size:25px}}

/* Larger standalone original BC mark in the client portal only. */
aside .brand{justify-content:center;padding-bottom:8px}
aside .brand img.portal-bc-logo{display:block;width:112px;height:100px;max-width:100%;object-fit:contain}
.portal-welcome-logo img.portal-bc-logo{display:block;width:112px;height:100px;object-fit:contain}
.portfolio-history-chart text{font-weight:600}
@media(max-width:650px){aside .brand{justify-content:flex-start}aside .brand img.portal-bc-logo{width:96px;height:84px}}

/* Shared navigation styling and restored complete brand lockup. */
body aside .brand{justify-content:flex-start;padding-bottom:0}
body aside .brand img.brand-lockup{display:block;width:100%;height:auto;max-width:314px}
body aside nav .overview-icon{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5}
body aside nav a.active{color:white;box-shadow:inset 3px 0 #c4a15c}
/* Lower the plot while preserving the summary and chart-panel heights. */
.overview-layout .banking-summary .portfolio-inset{min-height:282px}
.overview-layout .banking-summary .portfolio-history-chart{height:140px;margin-top:48px;margin-bottom:14px}
/* Keep the quick-access controls in a slim single desktop row. */
.overview-layout .banking-quick{padding:6px 14px;position:relative}
.overview-layout .banking-quick-actions button{min-height:36px;padding:5px 8px}
.overview-layout .banking-quick-actions h3{font-size:21px}
.overview-layout .banking-quick>small{font-size:11px;line-height:1.15;margin:0}
@media(max-width:1100px){.overview-layout .banking-quick-actions button{min-height:38px;padding:5px 8px}.overview-layout .banking-quick-actions h3{padding-bottom:6px}}
@media(max-width:650px){body aside{width:100%;height:auto}body aside nav a{white-space:nowrap}body aside .brand img.brand-lockup{width:220px;max-width:100%}.overview-layout .banking-summary .portfolio-history-chart{height:140px;margin-top:48px}}

/* Use the chart panel's existing space for a taller plot. */
.overview-layout .banking-summary .portfolio-history-chart{height:195px;margin-top:4px;margin-bottom:4px}
.overview-layout .banking-summary .portfolio-inset{min-height:282px}
header .profile-button{width:44px;height:44px;padding:7px;border:0;background:transparent;color:#08233e;flex-shrink:0}
.profile-button svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round}
header .profile-button:hover{background:#edf1f6}
.profile-details{display:grid;grid-template-columns:minmax(120px,.4fr) minmax(0,1fr);gap:0;max-width:740px;margin:22px 0}
.profile-details dt,.profile-details dd{padding:13px 10px;border-bottom:1px solid #e1e7ee;margin:0;font-size:15px;overflow-wrap:anywhere}
.profile-details dt{color:#63748a}.profile-details dd{color:#08233e}
@media(max-width:650px){.overview-layout .banking-summary .portfolio-history-chart{height:195px;margin-top:4px;margin-bottom:4px}.profile-details{grid-template-columns:1fr}.profile-details dt{border:0;padding-bottom:3px}.profile-details dd{padding-top:3px}}

/* Model detail, consistent card heading rules, and a simple session exit. */
.overview-layout .account-model-summary strong.positive{font-size:22px;text-align:right}
.overview-layout .recent-activity-card>h2{border-bottom:1px solid #dce3eb;padding-bottom:10px;margin-bottom:4px}
.overview-layout .overview-media-card>.section-heading{border-bottom:1px solid #dce3eb;padding-bottom:10px;margin-bottom:4px}
header .profile-button{border-right:1px solid #93a1b2;border-radius:0;padding-right:14px;width:52px}
header .logout-button{display:inline-flex;gap:8px;align-items:center;background:transparent;color:#08233e;border:0;border-radius:0;padding:7px 2px;font:16px "Times New Roman",Times,serif;box-shadow:none}
header .logout-button:hover{background:transparent;text-decoration:underline}
header .logout-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

/* Lower chart footer and use the existing panel space for a taller plot. */
.overview-layout .banking-summary .portfolio-history-chart{height:215px;margin:3px 0 2px}
.portfolio-inset .chart-history-caption{margin-top:7px}
.portfolio-inset details{margin-top:0;text-align:right}
.portfolio-inset details table{text-align:left}
.overview-layout .banking-summary .portfolio-inset{min-height:282px}
.accounts-intro{margin-bottom:22px}.accounts-intro h2{font:400 34px "Times New Roman",Times,serif}
.account-summary-card{border-top:2px solid #c4a15c}
.account-summary-amount{font:400 36px "Times New Roman",Times,serif;color:#08233e;margin-bottom:18px}
.account-summary-card>.portfolio-inset{width:100%;margin:0;padding:16px 0 0;border:0;border-top:1px solid #dce3eb;border-radius:0;background:#fff;color:#08233e}
.account-summary-card .portfolio-controls{margin:12px 0}
.account-summary-card .portfolio-history-chart{height:240px;width:100%;max-width:100%}
.account-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.account-detail-card{min-width:0;border-top:2px solid #c4a15c}
.account-detail-amount{font:400 30px "Times New Roman",Times,serif;color:#08233e;margin:14px 0 8px}
.account-detail-card .profile-details{grid-template-columns:1fr 1fr}
.account-detail-card details{text-align:left;margin-top:18px}
.account-detail-card summary{cursor:pointer;min-height:44px}
.account-forecasts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
.account-forecasts>div{border:1px solid #dce3eb;padding:10px;border-radius:4px}
.account-forecasts small,.account-forecasts strong{display:block}.account-forecasts strong{font:400 20px "Times New Roman",Times,serif;color:#08233e;margin-top:4px}
@media(max-width:900px){.account-detail-grid{grid-template-columns:1fr}}
@media(max-width:650px){.overview-layout .banking-summary .portfolio-history-chart{height:215px}.account-summary-card .portfolio-history-chart{height:215px}.account-summary-amount{font-size:30px}}

.account-summary-amount{font:400 36px/1.2 "Times New Roman",Times,serif;color:#08233e;margin:12px 0 20px}

/* Taller plotting area with a compact, shared caption/link footer. */
.overview-layout .banking-summary .portfolio-history-chart{height:225px;margin:1px 0 0}
.chart-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;margin-top:0}
.chart-footer .chart-history-caption{margin:0;font-size:12px;line-height:20px}
.chart-footer details{margin:0;text-align:right}
.chart-footer details summary{min-height:20px;line-height:20px}
.chart-footer details[open]{grid-column:1/-1}
@media(max-width:650px){.overview-layout .banking-summary .portfolio-history-chart{height:225px}.chart-footer{gap:4px}.chart-footer .chart-history-caption{font-size:11px}}

/* Top-level account selector; a smaller selector in Overview history. */
.account-selector-bar{padding:12px 16px;margin-bottom:18px}
.account-selector-bar .portfolio-account-label{display:block;width:100%;margin:0}
.account-selector-bar select{display:block;width:100%;max-width:none;font:14px system-ui,sans-serif;color:#08233e;border:1px solid #bdc9d6;border-radius:5px;min-height:38px;padding:8px 34px 8px 12px;background-color:white;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#08233e 50%),linear-gradient(135deg,#08233e 50%,transparent 50%);background-position:calc(100% - 17px) 16px,calc(100% - 12px) 16px;background-size:5px 5px;background-repeat:no-repeat}
.overview-layout .banking-summary .portfolio-inset>.portfolio-controls .portfolio-account-label{flex:0 1 210px;min-width:150px;width:210px;max-width:210px}
.overview-layout .banking-summary .portfolio-inset>.portfolio-controls select{min-height:32px;padding-top:5px;padding-bottom:5px;background-position:calc(100% - 17px) 13px,calc(100% - 12px) 13px}
.account-summary-card .portfolio-controls{justify-content:flex-end}
@media(max-width:650px){.overview-layout .banking-summary .portfolio-inset>.portfolio-controls .portfolio-account-label{flex:0 1 190px;width:190px;max-width:190px;min-width:0}}

.accounts-intro{margin-bottom:12px}.accounts-intro h2{margin-bottom:0}.accounts-intro>p{margin-top:4px;margin-bottom:0}

/* Exact point values on hover, focus or selection in either balance chart. */
.balance-chart-frame{position:relative;width:100%;min-width:0}
.balance-tooltip{position:absolute;z-index:5;pointer-events:none;padding:8px 12px;max-width:calc(100% - 8px);background:#fff;color:#08233e;border:1px solid #b6c7da;border-radius:5px;box-shadow:0 3px 12px #08233e1c;white-space:nowrap}
.balance-tooltip span{display:block;font:12px/1.4 system-ui,sans-serif;color:#63748a}
.balance-tooltip strong{display:block;font:600 15px/1.5 "Times New Roman",Times,serif;color:#08233e}
.portfolio-history-chart circle[role=button]{cursor:pointer;stroke:#fff;stroke-width:2;pointer-events:all}
.portfolio-history-chart circle.balance-point-selected{fill:#08233e;stroke:#c4a15c;stroke-width:3}

/* Regular overview metrics and a slim signature rule below portal page titles. */
.overview-layout .banking-summary .metrics .metric-value{font:400 25px/1.3 "Times New Roman",Times,serif;color:#08233e;white-space:nowrap;text-align:right}
.overview-layout .banking-summary .account-model-summary .metric-value{font-size:22px}
#pageTitle:after,.overview-intro>h2:after{content:"";display:block;width:60px;height:1px;background:#c4a15c;margin-top:10px}
@media(max-width:650px){.overview-layout .banking-summary .metrics .metric-value{font-size:22px}.overview-layout .banking-summary .account-model-summary .metric-value{font-size:21px}}

.profile-editor{max-width:900px}.profile-editor form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;margin:22px 0}
.profile-editor label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:#173451}
.profile-editor input,.profile-editor textarea,.profile-editor select{width:100%;min-width:0;padding:11px 12px;border:1px solid #c6d1df;border-radius:5px;background:#fafbfd;color:#08233e;font:16px system-ui,sans-serif;min-height:44px}
.profile-editor select{appearance:none;padding-right:32px;background-image:linear-gradient(45deg,transparent 50%,#08233e 50%),linear-gradient(135deg,#08233e 50%,transparent 50%);background-position:calc(100% - 17px) 19px,calc(100% - 12px) 19px;background-size:5px 5px;background-repeat:no-repeat}
.profile-editor .actions{grid-column:1/-1;margin-top:0}
.profile-update-status{font-size:14px;color:#173451}.profile-editor button:disabled{opacity:.6;cursor:wait}
@media(max-width:650px){.profile-editor form{grid-template-columns:1fr}}

/* All client workspaces use the Overview's fluid width, except Profile. */
.portal-wide-layout main{width:100%;max-width:1920px;padding:24px 28px 36px}
.portal-wide-layout #content{width:100%;min-width:0}
.portal-wide-layout #content>.card,.portal-wide-layout #content>.funding-page{width:100%;max-width:none}
.portal-wide-layout .funding-page{width:100%;max-width:none}
.portal-wide-layout:not(.overview-layout) .card{border-radius:6px;padding:20px 24px;margin-bottom:18px;box-shadow:0 2px 8px #08233e05}
.portal-wide-layout:not(.overview-layout) .card h2{font-family:"Times New Roman",Times,serif;font-weight:400}
.portal-wide-layout .account-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.portal-wide-layout .funding-page form{max-width:none}
.portal-wide-layout .funding-page .card p{max-width:100ch}
.portal-profile-layout main{max-width:1040px;width:100%;padding:28px 32px}
.portal-profile-layout #content>.card{max-width:900px}
.portal-profile-layout .profile-details{max-width:none}
.portal-profile-layout .profile-editor{margin-top:20px}
.portal-profile-layout #content>.card>.button{margin-right:8px}
@media(min-width:1600px){.portal-wide-layout main{padding:28px 36px 40px}}
@media(max-width:1050px){.portal-wide-layout main{padding:22px}.portal-wide-layout .account-detail-grid{grid-template-columns:1fr}}
@media(max-width:650px){.portal-wide-layout main{padding:16px 12px}.portal-wide-layout .card{padding:16px}.portal-profile-layout main{padding:22px 16px}}

@media(max-width:900px){.portal-wide-layout .account-detail-grid{grid-template-columns:1fr}}
@media(min-width:1600px){.portal-wide-layout main{padding:28px 36px 40px}}
@media(max-width:1050px){.portal-wide-layout main{padding:22px}}
@media(max-width:650px){.portal-wide-layout main{padding:16px 12px}.portal-wide-layout:not(.overview-layout) .card{padding:18px}.portal-profile-layout main{padding:22px 16px}}

/* Slightly smaller, regular-weight overview metric figures. */
.overview-layout .banking-summary .metrics .metric-value{font-size:22px;font-weight:400;font-synthesis:none}
.overview-layout .banking-summary .account-model-summary .metric-value{font-size:20px;font-weight:400}
@media(max-width:650px){.overview-layout .banking-summary .metrics .metric-value{font-size:20px}.overview-layout .banking-summary .account-model-summary .metric-value{font-size:19px}}

header>div{margin-left:auto}
.messages-layout{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(0,1.6fr);gap:20px;align-items:stretch;width:100%}
.message-inbox,.message-reader{min-width:0;min-height:420px}
.message-tabs{display:flex;gap:5px;margin:18px 0}.message-tabs button{flex:1;padding:8px;font-size:14px}
.message-tabs button[aria-pressed=true]{background:#08233e;color:white;border-color:#08233e}
.message-list-item{display:flex;width:100%;flex-direction:column;align-items:flex-start;text-align:left;gap:4px;padding:14px 12px;border:0;border-bottom:1px solid #e1e7ee;border-radius:0;background:white}
.message-list-item.selected{background:#edf2f8;box-shadow:inset 3px 0 #c4a15c}
.message-list-title{font:400 20px "Times New Roman",Times,serif;color:#08233e}
.message-list-item.unread .message-list-title{font-weight:700}.message-list-item.unread .message-list-title:before{content:'•';color:#b18d40;margin-right:7px}
.message-list-item small{font-size:12px;color:#63748a}
.message-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.8;margin-top:24px;color:#173451}
.message-status{font-size:14px;color:#63748a}
@media(max-width:800px){.messages-layout{grid-template-columns:1fr}.message-inbox,.message-reader{min-height:240px}}

.app-download-link{font-size:14px;margin-right:18px;white-space:nowrap}.app-download-note{font-size:14px;line-height:1.6}.app-download-link:focus-visible{outline:2px solid #b99547;outline-offset:4px}@media(max-width:520px){.app-download-link{font-size:12px;margin-right:8px}}

/* App download belongs below the welcome message, above the footer divider. */
#welcome{margin-bottom:24px}.welcome-app-download{display:inline-flex;align-items:center;gap:14px;margin-top:18px;margin-bottom:4px;min-height:56px;color:#0b253f;font-size:16px;text-underline-offset:4px}.welcome-app-download img{display:block;width:56px;height:56px;object-fit:contain;border-radius:12px}.welcome-app-download:focus-visible{outline:2px solid #b99547;outline-offset:5px;border-radius:5px}
