/* Header-only branding. Dashboard panels, charts and report controls are untouched. */
#bi-jornada .ah-brandbar{display:flex;align-items:center;gap:24px;margin:-24px -36px 24px;padding:20px 36px;background:#fff;border-bottom:1px solid #e2ebed}
#bi-jornada .ah-brand{display:flex;align-items:center;gap:18px;min-width:0}
#bi-jornada .ah-logo{width:150px;height:56px;object-fit:contain}
#bi-jornada .ah-caption{font-size:10px;letter-spacing:2px;color:#627b83;font-weight:650}
#bi-jornada .ah-protected{margin-left:auto;font-size:12px;color:#57747d}
#bi-jornada .bj-hero.ah-gradient{position:relative;isolation:isolate;overflow:hidden;display:block;margin:0 0 20px;padding:30px 34px;border:0;border-radius:22px;background:linear-gradient(110deg,#12373e 0%,#176871 55%,#32bdc3 100%);color:#fff}
#bi-jornada .ah-gradient:after{content:'';position:absolute;z-index:-1;width:330px;height:330px;border:55px solid #ffffff0c;transform:rotate(25deg);right:-60px;top:-165px;border-radius:35px;pointer-events:none}
#bi-jornada .ah-gradient .bj-eyebrow{color:#a2e8e7;font-size:10px;letter-spacing:2px}
#bi-jornada .ah-gradient h2{color:white;font-size:clamp(23px,2.5vw,32px);line-height:1.25;max-width:1050px;margin:13px 0 10px;letter-spacing:-.7px;overflow-wrap:anywhere}
#bi-jornada .ah-gradient p{color:#d1e9eb;margin:0;font-size:14px}
#bi-jornada .ah-hero-controls{display:flex;gap:14px;align-items:center;margin-top:24px}
#bi-jornada .ah-pill{display:inline-flex;border-radius:100px;padding:7px 13px;background:#ffffff13;border:1px solid #ffffff28;color:#e4f8f8;font-size:12px}
#bi-jornada .ah-change{margin-left:auto;background:white;color:#086c75;border:0;box-shadow:0 4px 12px #12373e15}
#bi-jornada .ah-change:hover{background:#e7faf9}
#bi-jornada.ah-header-ready>.bj-search-box{margin:0 0 20px;padding:20px 22px;gap:20px;border:1px solid #e0ebed;border-radius:16px;box-shadow:0 12px 28px #173e4507;grid-template-columns:minmax(240px,1fr) minmax(300px,1.5fr)}
#bi-jornada.ah-header-ready>.bj-search-box>label{font-size:11px;letter-spacing:.3px;color:#526f78}
#bi-jornada.ah-header-ready>.bj-search-box select,#bi-jornada.ah-header-ready>.bj-search-box input{background:#fbfdfd;border-color:#d9e7e9;font-size:13px}
#bi-jornada.ah-header-ready>.bj-search-box .bj-button.primary{background:#087f89;border-color:#087f89}
@media(max-width:760px){#bi-jornada .ah-brandbar{margin:-16px -16px 18px;padding:16px;gap:12px}#bi-jornada .ah-caption,#bi-jornada .ah-protected{display:none}#bi-jornada .ah-brandbar>.bj-button{margin-left:auto}#bi-jornada .ah-logo{width:128px;height:45px}#bi-jornada .bj-hero.ah-gradient{padding:24px}#bi-jornada.ah-header-ready>.bj-search-box{grid-template-columns:1fr}#bi-jornada .ah-hero-controls{flex-wrap:wrap}#bi-jornada .ah-change{margin-left:0}}

/* Brand backdrop only: preserve the portfolio hero and every dashboard panel. */
#bi-jornada .ah-brandbar{position:relative;isolation:isolate;overflow:hidden;min-height:104px;padding:20px 30px;gap:22px;border:1px solid #d6ecef;border-radius:19px;background:linear-gradient(108deg,#f5fcfd 0%,#ddf6f8 35%,#65c5ce 61%,#087988 81%,#163c4b 100%);box-shadow:0 8px 25px #123d490b}
#bi-jornada .ah-brandbar:before{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;background:repeating-linear-gradient(135deg,transparent 0 48px,#ffffff13 49px 50px,transparent 51px 96px)}
#bi-jornada .ah-brandbar:after{content:'';position:absolute;z-index:-1;right:190px;top:-88px;width:240px;height:240px;border:27px solid #ffffff12;border-radius:46px;transform:rotate(28deg);pointer-events:none}
#bi-jornada .ah-brandbar .ah-logo{width:138px;height:53px;padding:8px 14px;background:#ffffffed;border:1px solid #fff;border-radius:14px;box-sizing:content-box;box-shadow:0 3px 14px #123d4908}
#bi-jornada .ah-brandbar .ah-brand{gap:23px}#bi-jornada .ah-brandbar .ah-caption{color:#225967;border-left:1px solid #9bcbd2;padding-left:23px;font-size:10px;letter-spacing:2px;font-weight:750;line-height:1.8}
#bi-jornada .ah-brandbar .ah-protected{display:inline-flex;align-items:center;gap:9px;background:#104a58b8;border:1px solid #ffffff32;border-radius:30px;padding:9px 14px;color:#f1fdff;font-size:11px;white-space:nowrap;backdrop-filter:blur(4px)}
#bi-jornada .ah-brandbar .ah-protected:before{content:'';width:6px;height:6px;border-radius:50%;background:#b1eff1;box-shadow:0 0 0 4px #ffffff12}
#bi-jornada .ah-brandbar>.bj-button{background:#ffffffed;border:1px solid #fff;color:#164c59;border-radius:10px;min-height:42px;padding:11px 19px;font-size:12px;font-weight:650;box-shadow:0 3px 10px #123d4910}
#bi-jornada .ah-brandbar>.bj-button:hover{background:#e5f8fa;box-shadow:0 5px 14px #123d4920}#bi-jornada .ah-brandbar>.bj-button:focus-visible{outline:3px solid white;outline-offset:3px}
@media(max-width:900px){#bi-jornada .ah-brandbar .ah-caption{display:none}#bi-jornada .ah-brandbar{gap:16px}#bi-jornada .ah-brandbar:after{right:90px}}
@media(max-width:760px){#bi-jornada .ah-brandbar{padding:15px 18px;min-height:88px;border-radius:16px;background:linear-gradient(112deg,#eefafb,#9edee4 48%,#0c7181 83%,#163c4b);gap:12px}#bi-jornada .ah-brandbar .ah-protected{display:none}#bi-jornada .ah-brandbar .ah-logo{width:120px;height:43px;padding:7px 11px}#bi-jornada .ah-brandbar>.bj-button{margin-left:auto}#bi-jornada .ah-brandbar:after{right:25px;top:-110px}}

/* Transparent logo and logout control on the brand backdrop. */
#bi-jornada .ah-brandbar .ah-logo{background:transparent;border:0;box-shadow:none;padding:0;width:150px;height:56px;box-sizing:border-box}
#bi-jornada .ah-brandbar>.bj-button{background:transparent;border:1px solid #ffffff55;color:#f0feff;box-shadow:none}
#bi-jornada .ah-brandbar>.bj-button:hover{background:transparent;color:white;border-color:#b3edf0;box-shadow:none;text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){#bi-jornada .ah-brandbar .ah-logo{width:128px;height:45px;padding:0}}

#bi-jornada .ah-brandbar .ah-logo{mix-blend-mode:multiply}

/* Unfilled creditor top bar, as requested. */
#bi-jornada .ah-brandbar{background:transparent;border:0;border-radius:0;box-shadow:none}
#bi-jornada .ah-brandbar:before,#bi-jornada .ah-brandbar:after{display:none}
#bi-jornada .ah-brandbar .ah-protected{background:transparent;border:0;color:#57747d;backdrop-filter:none}
#bi-jornada .ah-brandbar .ah-protected:before{background:#0b929e;box-shadow:none}
#bi-jornada .ah-brandbar>.bj-button{background:transparent;color:#164c59;border-color:#c7dce2;box-shadow:none}
#bi-jornada .ah-brandbar>.bj-button:hover{background:transparent;color:#087b87;border-color:#7cbac4;box-shadow:none}

#bi-jornada .ah-brandbar{isolation:auto}

/* Larger symbol only: no bitmap wordmark or background in the dashboard header. */
#bi-jornada .ah-brandbar .ah-logo{display:block;flex:0 0 auto;width:88px;height:88px;padding:0;background:none;border:0;box-shadow:none;mix-blend-mode:normal}
@media(max-width:760px){#bi-jornada .ah-brandbar .ah-logo{width:72px;height:72px}}
