/* BastionGuard 1.9.6: narrow, last-loaded integration layer (forum, profile, account). */
:root{--bsg196-border:rgba(8,107,235,0.38);--bsg196-ink:#121f32;--bsg196-muted:#4d5d73;--bsg196-accent:#086beb;--bsg196-panel:#ffffff}
body.bbpress .bsg-aurora-shell{padding-bottom:70px}
body.bbpress .bsg-aurora-navigation{padding-top:18px!important;padding-bottom:20px!important;margin-bottom:25px!important}
body.bbpress .bsg-aurora-panel,body.bbpress .bsg-aurora-widget{box-shadow:0 8px 30px rgba(10,45,90,0.069)}
/* Parent forum category rows: fixed numeric columns, deterministic alignment. */
.bsg-aurora-page .bsg-aurora-forum-row{display:grid!important;grid-template-columns:50px minmax(0,2.5fr) minmax(72px,.44fr) minmax(72px,.44fr) minmax(160px,1.04fr) 22px!important;align-items:center!important;column-gap:14px!important;min-height:80px!important;max-width:100%;padding:12px 16px!important}
.bsg-aurora-page .bsg-aurora-forum-row__intro{min-width:0;max-width:100%}
.bsg-aurora-page .bsg-aurora-forum-row__intro small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;line-height:1.5}
.bsg-aurora-page .bsg-aurora-forum-row__number{display:flex;align-items:center;justify-content:center;flex-direction:column;white-space:nowrap;text-align:center;min-width:0}
.bsg-aurora-page .bsg-aurora-forum-row__number strong{font-variant-numeric:tabular-nums;font-size:15px;line-height:1.2}
.bsg-aurora-page .bsg-aurora-forum-row__latest{display:flex;min-width:0;overflow:hidden}
.bsg-aurora-page .bsg-aurora-forum-row__latest span{max-width:100%}
.bsg-aurora-page .bsg-aurora-forum-row__arrow{min-width:20px}
.bsg-community-family{margin:5px 9px 10px;border:1px solid rgba(8,107,235,0.42);border-radius:12px;overflow:visible;background:linear-gradient(130deg,#ffffff,#ffffff)}
.bsg-community-family>.bsg-aurora-forum-row{margin:0!important;border:0!important;border-radius:11px!important}
.bsg-community-subforums{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:10px 14px 12px 78px;border-top:1px solid rgba(8,107,235,0.17);min-width:0}
.bsg-community-subforums__label{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#4d5d73;margin-right:6px;font-weight:750}
.bsg-community-subforums>a{display:inline-flex;align-items:center;gap:8px;max-width:100%;text-decoration:none;color:#121f32!important;font-size:12px;padding:7px 10px;border:1px solid rgba(8,107,235,0.24);background:#ffffff;border-radius:8px}
.bsg-community-subforums>a:hover{border-color:var(--bsg196-accent);color:var(--bsg196-accent)!important}
.bsg-community-subforums>a span{color:#086beb;font-weight:850;font-variant-numeric:tabular-nums;padding-left:4px}
.bsg-community-subforums>.bsg-community-family{flex-basis:100%;margin:4px 0}
.bsg-community-subforums>.bsg-community-family>.bsg-aurora-forum-row{min-height:62px!important}
/* Preserve informational widgets from the previous layout, without Latest Replies. */
.bsg-community-notice{border-left:3px solid var(--bsg196-accent)!important}
.bsg-community-notice__body{padding:17px 18px;color:#4d5d73;font-size:13px;line-height:1.7}
.bsg-community-notice__body strong{color:#121f32}
.bsg-community-notice__body p{margin:8px 0 0}
.bsg-community-statistics__rows>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 17px;border-bottom:1px solid rgba(8,107,235,0.2);font-size:12px}
.bsg-community-statistics__rows>div:last-child{border-bottom:0}
.bsg-community-statistics__rows span{color:#4d5d73}
.bsg-community-statistics__rows strong{color:#121f32;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.bsg-community-statistics__rows a{color:var(--bsg196-accent)!important}
/* Author identity on the LEFT of every topic/reply; message body and controls on the RIGHT. */
.bsg-aurora-page .bsg-aurora-conversation>.bsg-aurora-post,
.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post--reply{
 display:grid!important;grid-template-columns:158px minmax(0,1fr)!important;grid-template-rows:minmax(80px,1fr) auto!important;column-gap:0!important;row-gap:0!important;padding:0!important;overflow:visible!important;
}
.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__heading{grid-column:1;grid-row:1 / span 2;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:7px!important;min-width:0;padding:20px 11px!important;margin:0!important;border-right:1px solid rgba(8,107,235,0.24)}
.bsg-aurora-page .bsg-aurora-post__heading>img.avatar{width:75px!important;height:75px!important;border-radius:15px!important;border:1px solid rgba(8,107,235,0.35)}
.bsg-aurora-page .bsg-aurora-post__identity{width:100%;min-width:0;text-align:center;overflow:visible}
.bsg-aurora-page .bsg-aurora-post__identity>a,.bsg-aurora-page .bbp-userpop__trigger{font-size:13px;font-weight:800;overflow-wrap:anywhere}
.bsg-aurora-page .bsg-aurora-post__identity small{font-size:10px;line-height:1.4;color:#4d5d73}
.bsg-aurora-page .bsg-aurora-post__heading>.bsg-aurora-role{margin-top:2px}
.bsg-aurora-page .bsg-aurora-post__number{margin:6px 0 0!important;align-self:center}
.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__body{grid-column:2;grid-row:1;min-width:0;padding:21px 24px 18px!important}
.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__actions{grid-column:2;grid-row:2;min-height:57px!important;margin:0 20px;padding:12px 8px!important;border-top:1px solid rgba(8,107,235,0.22)}
/* One clean button around the three dots, no double border. Native details supports toggle. */
.bsg-aurora-page .bsg-aurora-admin-menu{border:none!important;background:transparent!important;padding:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
.bsg-aurora-page .bsg-aurora-admin-menu>summary{appearance:none;border:1px solid rgba(8,107,235,0.55)!important;border-radius:9px!important;box-shadow:none!important;background:#ffffff!important;outline-offset:3px;width:35px!important;height:35px!important;margin:0!important;padding:0!important}
.bsg-aurora-page .bsg-aurora-admin-menu>summary i{font-size:19px}
.bsg-aurora-page .bsg-aurora-admin-menu__list{background:#ffffff!important;border:1px solid rgba(8,107,235,0.6)!important;border-radius:11px!important}
.bsg-aurora-page .bsg-aurora-admin-menu__list .bbp-admin-links{display:contents!important}
/* Author popovers: distinct card on hover, keyboard focus and click/touch. */
.bsg-aurora-page .bbp-userpop{position:relative;display:inline-block;max-width:100%;z-index:auto}
.bsg-aurora-page .bbp-userpop__card{position:absolute;z-index:10000;left:0;right:auto;top:calc(100% + 8px);width:270px;max-width:calc(100vw - 35px);padding:14px;text-align:left;border:1px solid rgba(8,107,235,0.6);border-radius:13px;background:#ffffff;color:#121f32;box-shadow:0 22px 56px rgba(10,45,90,0.2)}
.bsg-aurora-page .bbp-userpop:hover,.bsg-aurora-page .bbp-userpop:focus-within,.bsg-aurora-page .bbp-userpop.is-open{z-index:1000}
.bsg-aurora-page .bbp-userpop__name{font-size:13px}
.bsg-aurora-page .bbp-userpop__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.bsg-aurora-page .bbp-userpop__stat{padding:9px;background:#ffffff;border:1px solid #e5edf7;border-radius:8px}
.bsg-aurora-page .bbp-userpop__profilelink{color:#086beb!important}
.bsg-aurora-page .bsg-member-badge{border-color:var(--bsg-badge-color,rgba(8,107,235,0.6))!important;color:var(--bsg-badge-color,#086beb)!important;background:color-mix(in srgb,var(--bsg-badge-color,#0d77f2) 12%,transparent)!important}
/* Identity and user profile menu: matching nav, cards and readable lists on every tab. */
.bsg-aurora-page .bsg-aurora-profile-grid{display:grid;grid-template-columns:215px minmax(0,1fr);gap:17px;align-items:start}
.bsg-aurora-page .bsg-community-member-aside{min-width:0;display:flex;flex-direction:column;gap:12px}
.bsg-aurora-page .bsg-community-member-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:20px 12px;border-radius:12px;border:1px solid var(--bsg196-border);background:linear-gradient(145deg,#ffffff,#ffffff)}
.bsg-aurora-page .bsg-community-member-card img.avatar{width:76px!important;height:76px!important;object-fit:cover;border-radius:16px;border:2px solid rgba(8,107,235,0.6)}
.bsg-aurora-page .bsg-community-member-card strong{font-size:14px;overflow-wrap:anywhere}
.bsg-aurora-page .bsg-community-member-card small{font-size:11px;color:#4d5d73}
.bsg-aurora-page .bsg-aurora-profile-grid .bsg-aurora-profile-nav{height:auto;width:100%}
.bsg-aurora-page .bsg-aurora-profile-detail__body{padding:20px!important;overflow:visible!important;min-width:0}
.bsg-aurora-page #bbp-user-ajax-content .bbp-user-section{margin:12px 0 24px;border:1px solid rgba(8,107,235,0.35);border-radius:12px;overflow:visible;background:rgba(8,107,235,0.038)}
.bsg-aurora-page #bbp-user-ajax-content h2.entry-title,.bsg-aurora-page #bbp-user-ajax-content .entry-title{font-size:19px!important;line-height:1.4;margin:20px 0 13px!important;letter-spacing:-.02em;color:#121f32!important}
.bsg-aurora-page #bbp-user-ajax-content .bbp-iv-topicrow{display:grid;grid-template-columns:42px minmax(0,1fr) 58px;align-items:center;gap:12px;padding:16px 17px;border:0;border-bottom:1px solid rgba(8,107,235,0.25)}
.bsg-aurora-page #bbp-user-ajax-content .bbp-iv-topicrow:last-child{border-bottom:0}
.bsg-aurora-page #bbp-user-ajax-content .bbp-iv-topicrow__title{margin:0 0 5px!important;line-height:1.4}
.bsg-aurora-page #bbp-user-ajax-content .bbp-iv-topicrow__meta{display:flex;flex-wrap:wrap;gap:7px;color:#4d5d73;font-size:11px}
.bsg-aurora-page #bbp-user-ajax-content .bbp-iv-topicrow__freshness{display:none}
.bsg-aurora-page #bbp-user-ajax-content .bbp-iv-topicrow__count{text-align:right;color:#121f32}
.bsg-aurora-page #bbp-user-ajax-content .bbp-iv-post,.bsg-aurora-page #bbp-user-ajax-content .bbp-iv-panel{border-radius:10px;border-color:var(--bsg196-border);background:#ffffff}
.bsg-aurora-page #bbp-user-ajax-content .bbp-pagination-count{display:none!important}
.bsg-aurora-page #bbp-user-ajax-content .bbp-pagination{display:flex;justify-content:flex-end;flex-wrap:wrap;padding:8px 12px}
.bsg-aurora-page #bbp-user-ajax-content input[type=search],.bsg-aurora-page #bbp-user-ajax-content input[type=text]{min-height:40px;background:#ffffff!important;border:1px solid rgba(8,107,235,0.6)!important;border-radius:8px!important;color:#121f32!important}
.bsg-aurora-page #bbp-user-ajax-content button,.bsg-aurora-page #bbp-user-ajax-content input[type=submit]{border-radius:8px!important}
.bsg-aurora-page #bbp-user-ajax-content .bsgx-member-section{margin:22px 0 0;padding-top:18px;border-top:1px solid rgba(8,107,235,0.22)}
.bsg-aurora-page #bbp-user-ajax-content .bsgx-member-section>h3{font-size:17px!important;color:#121f32!important}
.bsg-aurora-page #bbp-user-ajax-content .bsgx-member-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.bsg-aurora-page #bbp-user-ajax-content .bsgx-member-metrics>div{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid rgba(8,107,235,0.3);border-radius:10px;background:#ffffff}
.bsg-aurora-page #bbp-user-ajax-content .bsgx-member-metrics span{font-size:11px;color:#4d5d73}
.bsg-aurora-page #bbp-user-ajax-content .bsgx-member-metrics strong{font-size:13px;color:#121f32;overflow-wrap:anywhere}
/* same two header CTA styles in maintenance and login as site's primary button */
body.login .bsg-header .bsg-header-actions>a.btn-bsg-primary,
body.swmm-maintenance-active .swmm-header .bsg-header-actions>a.btn-bsg-primary{background:#0d76f2!important;color:#ffffff!important;border:1px solid rgba(8,107,235,0.6)!important;border-radius:10px!important;min-height:44px!important;padding:9px 18px!important;font-weight:800!important;box-shadow:none!important}
body.login .bsg-header .bsg-header-actions>a.btn-bsg-primary:hover,
body.swmm-maintenance-active .swmm-header .bsg-header-actions>a.btn-bsg-primary:hover{background:#107ff7!important;border-color:rgba(8,107,235,0.6)!important}
@media(max-width:1100px){.bsg-aurora-page .bsg-aurora-forum-row{grid-template-columns:48px minmax(0,2fr) 64px 64px 20px!important}.bsg-aurora-page .bsg-aurora-forum-row__latest{display:none}}
@media(max-width:800px){.bsg-aurora-page .bsg-aurora-profile-grid{grid-template-columns:1fr}.bsg-aurora-page .bsg-community-member-aside{display:grid;grid-template-columns:210px minmax(0,1fr);align-items:start}.bsg-aurora-page .bsg-aurora-profile-grid .bsg-aurora-profile-nav{display:flex;flex-wrap:wrap;flex-direction:row}}
@media(max-width:650px){.bsg-aurora-page .bsg-aurora-forum-row{grid-template-columns:39px minmax(0,1fr) 46px 18px!important;gap:8px!important;padding:11px 10px!important}.bsg-aurora-page .bsg-aurora-forum-row__number:nth-of-type(2){display:none!important}.bsg-community-subforums{padding:10px 12px!important}.bsg-community-family{margin:5px 3px 9px}.bsg-community-subforums__label{flex-basis:100%}.bsg-aurora-page .bsg-aurora-conversation>.bsg-aurora-post,.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post--reply{display:block!important}.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__heading{border:0;border-bottom:1px solid rgba(8,107,235,0.2);display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;padding:13px!important;min-height:0}.bsg-aurora-page .bsg-aurora-post__heading>img.avatar{width:41px!important;height:41px!important;border-radius:50%!important}.bsg-aurora-page .bsg-aurora-post__identity{text-align:left;flex:1}.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__body{padding:15px!important}.bsg-aurora-page .bsg-aurora-conversation .bsg-aurora-post__actions{margin:0 10px!important}.bsg-aurora-page .bsg-community-member-aside{grid-template-columns:1fr}.bsg-aurora-page .bsg-community-member-card{display:none}.bsg-aurora-page .bsg-aurora-profile-grid .bsg-aurora-profile-nav{display:flex;overflow-x:auto;flex-wrap:nowrap}.bsg-aurora-page #bbp-user-ajax-content .bbp-iv-topicrow{grid-template-columns:minmax(0,1fr) 48px}.bsg-aurora-page #bbp-user-ajax-content .bbp-iv-topicrow__avatar{display:none}.bsg-aurora-page #bbp-user-ajax-content .bsgx-member-metrics{grid-template-columns:1fr}.bsg-aurora-page .bbp-userpop__card{max-width:min(270px,calc(100vw - 35px))}}
.bsg-community-notice__text{margin-top:8px}.bsg-community-notice__text>:first-child{margin-top:0}.bsg-community-notice__text>:last-child{margin-bottom:0}.bsg-community-notice__text p{margin:0 0 8px}.bsg-community-notice__text img{max-width:100%;height:auto}.bsg-community-notice__text a{color:#086beb}
