.h45home .h50activity{background:transparent}.h50activity .h50grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.h50box{--accent:#164b91;--pale:#eaf2ff;min-width:0;border:1px solid #d9e4ef;border-radius:13px;background:white;overflow:hidden;box-shadow:0 5px 18px #102e6010;display:flex;flex-direction:column}.h50-green{--accent:#087750;--pale:#e4f6ec}.h50-purple{--accent:#6545a1;--pale:#f0eafb}.h45home .h50box h3{background:linear-gradient(110deg,#102e60,var(--accent));color:white;font-size:18px;line-height:1.35;padding:13px 15px;margin:0;display:flex;align-items:center;gap:9px}.h50box h3 i{color:#ffcf50}.h50tabs{display:flex;background:var(--pale);min-height:46px}.h50tabs button{flex:1;min-width:0;border:0;border-bottom:3px solid transparent;background:none;color:#102e60;font-weight:700;font-size:13px;padding:8px;line-height:1.25;cursor:pointer}.h50tabs button[aria-selected=true]{background:var(--accent);color:white;border-bottom-color:#ffc329}.h50panel[hidden]{display:none!important}.h50scroll{height:250px;overflow-y:auto;overscroll-behavior:contain;padding:5px 12px;scrollbar-width:thin}.h50row{width:100%;display:flex;gap:10px;align-items:center;text-align:left;color:#102e60;background:transparent;border:0;border-bottom:1px solid #e7edf5;padding:10px 0;text-decoration:none;min-height:59px}.h50detail{cursor:pointer}.h50row:hover{background:var(--pale);color:var(--accent)}.h50row>span:last-child{min-width:0;overflow-wrap:anywhere}.h50row strong,.h50row small{display:block}.h50row strong{font-size:14px;line-height:1.35}.h50row small{font-size:12px;color:#53667e;margin-top:3px}.h50icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:9px;color:var(--accent);background:var(--pale);overflow:hidden}.h50icon img{width:100%;height:100%;object-fit:contain}.h50more{display:block;text-align:center;padding:10px;color:var(--accent);font-size:13px;font-weight:700;border-top:1px solid #e7edf5;text-decoration:none}.h50empty{padding:18px 8px;color:#53667e;text-align:center}.h50dialog{width:min(580px,calc(100% - 28px));max-height:85vh;border:0;border-radius:16px;padding:30px;color:#102e60;box-shadow:0 12px 50px #0005}.h50dialog::backdrop{background:#06182dbb}.h50close{float:right;border:0;background:#eaf0f8;border-radius:50%;width:34px;height:34px;font-size:24px}.h50description{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:16px}.h50activity :focus-visible{outline:3px solid #e6a900;outline-offset:2px}@media(max-width:900px){.h50activity .h50grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.h50activity *{scroll-behavior:auto!important}}
/* V51 compact layout, scoped to the activity centre. */
.h45home .h40-news{background:linear-gradient(125deg,#eaf2fc,#f8fbff 52%,#f2ecfa)}
.h45home .h50activity .h37head{margin-bottom:14px}
.h50activity .h50grid{gap:14px;align-items:stretch}
.h50activity .h50box{border-radius:15px;border-top:3px solid var(--accent);background:linear-gradient(145deg,#fff,var(--pale));box-shadow:0 7px 20px #102e6012}
.h45home .h50activity .h50box h3{padding:10px 14px;font-size:17px;min-height:44px;box-sizing:border-box}
.h50activity .h50tabs{min-height:38px;padding:4px;gap:4px;box-sizing:border-box}
.h50activity .h50tabs button{border-radius:7px;border-bottom:0;padding:7px 5px;font-size:12px}
.h50activity .h50tabs button[aria-selected=true]{box-shadow:0 2px 5px #102e6020}
.h50activity .h50scroll{height:216px;padding:5px 9px;box-sizing:border-box}
.h50activity .h50row{min-height:48px;padding:6px 7px;margin:0 0 4px;border:1px solid #dce6f1;border-radius:8px;background:#ffffffdb;box-sizing:border-box;gap:9px}
.h50activity .h50row strong{font-size:13px;line-height:1.25}
.h50activity .h50row small{font-size:11px;line-height:1.3}
.h50activity .h50icon{width:33px;height:33px;flex-basis:33px}
.h50activity .h50more{background:#ffffffad;padding:9px;font-size:12px}
.h50activity .h50empty{font-size:13px;margin:8px 0;padding:16px 8px}
@media(max-width:900px){.h50activity .h50grid{grid-template-columns:1fr}.h50activity .h50scroll{height:216px}}
/* AFSEI V8.4: scoped three-column layout and equal panel heights. */
body.nb-site .h50activity .h50grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important;width:100%;}
body.nb-site .h50activity .h50grid>.h50box{width:auto!important;min-width:0;display:flex!important;flex-direction:column;}
body.nb-site .h50activity .h50box h3{background:linear-gradient(115deg,#10243b,var(--accent))!important;color:#fff!important;}
body.nb-site .h50activity .h50tabs{display:flex!important;min-height:44px;}
body.nb-site .h50activity .h50panel:not([hidden]){display:flex!important;flex-direction:column;flex:1;}
body.nb-site .h50activity .h50panel[hidden]{display:none!important;}
body.nb-site .h50activity .h50scroll{height:216px!important;overflow-y:auto!important;}
body.nb-site .h50activity .h50empty{color:#485b70!important;}
body.nb-site .h50activity .h50more{margin-top:auto;}
@media(max-width:900px){body.nb-site .h50activity .h50grid{grid-template-columns:1fr!important;}}
