/* Shared controls for official module pages. Counter geometry lives in counters.css. */
body:not(.member-portal-ui) .app-shell .content .page-header h1 {
    color: #173f2d;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}
body:not(.member-portal-ui) .app-shell .content .page-header p {
    color: #6d8075;
    font-size: 12px;
    line-height: 1.6;
}
body .app-shell .content :is(.br-tabs,.cn-tabs,.rg-module-tabs) a {
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
}
.ga-standard-counters { margin-bottom: 18px; }
@media (max-width: 700px) {
    body:not(.member-portal-ui) .app-shell .content .page-header h1 { font-size: 21px; }
}

/* Promotion header and navigation are the shared official-page reference. */
html body:not(.member-portal-ui) .app-shell main.content .page-header { display:flex!important; align-items:flex-end!important; justify-content:space-between!important; gap:16px!important; margin:0 0 14px!important; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
html body:not(.member-portal-ui) .app-shell main.content .page-header h1 { margin:0 0 5px!important; color:#20352a!important; font-size:24px!important; line-height:1.3!important; font-weight:500!important; letter-spacing:-.025em!important; }
html body:not(.member-portal-ui) .app-shell main.content .page-header p { margin:0!important; color:#718078!important; font-size:12px!important; line-height:1.6!important; }
html body:not(.member-portal-ui) .app-shell main.content :is(.pm-module-tabs,.ai-module-tabs,.cn-module-tabs,.cn-tabs,.br-tabs,.rg-module-tabs,.bl-detail-tabs,.rp-report-tabs,.br-member-tabs) { display:flex!important; align-items:center!important; flex-wrap:wrap!important; gap:5px!important; margin:0 0 14px!important; padding:4px!important; border:1px solid #e5ece7!important; border-radius:13px!important; background:#f4f7f5!important; box-shadow:none!important; }
html body:not(.member-portal-ui) .app-shell main.content :is(.pm-module-tabs,.ai-module-tabs,.cn-module-tabs,.cn-tabs,.br-tabs,.rg-module-tabs,.bl-detail-tabs,.rp-report-tabs,.br-member-tabs) > :is(a,button) { display:inline-flex!important; align-items:center!important; justify-content:center!important; flex:0 0 auto!important; gap:7px!important; min-height:34px!important; box-sizing:border-box!important; padding:7px 13px!important; border:1px solid transparent!important; border-radius:10px!important; background:transparent!important; color:#617168!important; font-family:inherit!important; font-size:12px!important; font-weight:400!important; line-height:1.4!important; text-decoration:none!important; white-space:nowrap!important; box-shadow:none!important; cursor:pointer; transition:background .17s,color .17s,border-color .17s; }
html body:not(.member-portal-ui) .app-shell main.content :is(.pm-module-tabs,.ai-module-tabs,.cn-module-tabs,.cn-tabs,.br-tabs,.rg-module-tabs,.bl-detail-tabs,.rp-report-tabs,.br-member-tabs) > :is(a,button):hover { background:#fff!important; border-color:#e3ebe5!important; color:#236544!important; }
html body:not(.member-portal-ui) .app-shell main.content :is(.pm-module-tabs,.ai-module-tabs,.cn-module-tabs,.cn-tabs,.br-tabs,.rg-module-tabs,.bl-detail-tabs,.rp-report-tabs,.br-member-tabs) > :is(a,button):is(.active,.is-active,[aria-current="page"],[aria-selected="true"]) { background:#e9f5ee!important; border-color:#d3e9dc!important; color:#176d48!important; box-shadow:0 1px 3px rgba(24,59,42,.06)!important; }
html body:not(.member-portal-ui) .app-shell main.content :is(.pm-module-tabs,.ai-module-tabs,.cn-module-tabs,.cn-tabs,.br-tabs,.rg-module-tabs,.bl-detail-tabs,.rp-report-tabs,.br-member-tabs) > :is(a,button):focus-visible { outline:2px solid #14865a; outline-offset:2px; }
@media(max-width:700px) { html body:not(.member-portal-ui) .app-shell main.content .page-header { flex-wrap:wrap!important; align-items:flex-start!important; gap:10px!important; } html body:not(.member-portal-ui) .app-shell main.content .page-header h1 { font-size:21px!important; } html body:not(.member-portal-ui) .app-shell main.content :is(.pm-module-tabs,.ai-module-tabs,.cn-module-tabs,.cn-tabs,.br-tabs,.rg-module-tabs,.bl-detail-tabs,.rp-report-tabs,.br-member-tabs) > :is(a,button) { padding:7px 10px!important; } }

/* Creation actions belong to the section below page navigation. */
html body .app-shell main.content .cm-list-create-actions { display:flex; justify-content:flex-end; margin:0 0 14px; }

/* Standard creation section: Balloting reference, below module tabs. */
html body:not(.member-portal-ui) .app-shell main.content :is(.gmt-create-section,.bl-create-card,.bm-add-card,.cn-add-card,.ai-inline-intake,.service-request-create) { margin:0 0 16px!important; border:1px solid #e2e9e5!important; border-radius:17px!important; background:#fff!important; box-shadow:0 3px 12px rgba(25,60,40,.035)!important; overflow:hidden; }
html body:not(.member-portal-ui) .app-shell main.content :is(.gmt-create-section-heading,.bl-create-card-top,.bm-add-card-top,.cn-add-card-top,.ai-intake-heading,.tr-add-card,.rg-add-card) { display:flex!important; align-items:center!important; justify-content:space-between!important; gap:18px!important; padding:18px 20px!important; margin:0!important; background:#fff!important; }
html body:not(.member-portal-ui) .app-shell main.content :is(.gmt-create-section-heading,.bl-create-card-top,.bm-add-card-top,.cn-add-card-top,.ai-intake-heading,.tr-add-card,.rg-add-card) h2 { margin:0 0 5px!important; font-size:15px!important; font-weight:500!important; line-height:1.4!important; color:#20352a!important; }
html body:not(.member-portal-ui) .app-shell main.content :is(.gmt-create-section-heading,.bl-create-card-top,.bm-add-card-top,.cn-add-card-top,.ai-intake-heading,.tr-add-card,.rg-add-card) p { margin:0!important; color:#718078!important; font-size:12px!important; line-height:1.5!important; }
html body:not(.member-portal-ui) .app-shell main.content .gmt-create-section-heading .cm-list-create-actions { margin:0!important; flex-shrink:0; }
@media(max-width:700px) { html body:not(.member-portal-ui) .app-shell main.content :is(.gmt-create-section-heading,.bl-create-card-top,.bm-add-card-top,.cn-add-card-top,.ai-intake-heading,.tr-add-card,.rg-add-card) { flex-wrap:wrap!important; gap:12px!important; padding:16px!important; } }
