/* PGPRO headers and tabs inherit the exact palette of their home card. */
:where(#pgpro,#observations,#accidents,#committees):has(> .pgpro-element-header[data-pgpro-element-theme="1"]),:where(#pgpro,#observations,#accidents,#committees) :has(> .pgpro-element-header[data-pgpro-element-theme="1"]){--pgpro-card-bg:#f3f8ff;--pgpro-card-border:#c9e0f5;--pgpro-card-soft:#dceeff;--pgpro-card-ink:#1266a5;}
:where(#pgpro,#observations,#accidents,#committees):has(> .pgpro-element-header[data-pgpro-element-theme="2"]),:where(#pgpro,#observations,#accidents,#committees) :has(> .pgpro-element-header[data-pgpro-element-theme="2"]){--pgpro-card-bg:#f0fbf7;--pgpro-card-border:#c7ebdf;--pgpro-card-soft:#d8f5e9;--pgpro-card-ink:#087b55;}
:where(#pgpro,#observations,#accidents,#committees):has(> .pgpro-element-header[data-pgpro-element-theme="3"]),:where(#pgpro,#observations,#accidents,#committees) :has(> .pgpro-element-header[data-pgpro-element-theme="3"]){--pgpro-card-bg:#fff4f4;--pgpro-card-border:#f3cdcd;--pgpro-card-soft:#ffdede;--pgpro-card-ink:#c51f35;}
:where(#pgpro,#observations,#accidents,#committees):has(> .pgpro-element-header[data-pgpro-element-theme="4"]),:where(#pgpro,#observations,#accidents,#committees) :has(> .pgpro-element-header[data-pgpro-element-theme="4"]){--pgpro-card-bg:#fff9ed;--pgpro-card-border:#f1dfb8;--pgpro-card-soft:#ffefc8;--pgpro-card-ink:#ae6b00;}
:where(#pgpro,#observations,#accidents,#committees):has(> .pgpro-element-header[data-pgpro-element-theme="5"]),:where(#pgpro,#observations,#accidents,#committees) :has(> .pgpro-element-header[data-pgpro-element-theme="5"]){--pgpro-card-bg:#f3f8ff;--pgpro-card-border:#c9e0f5;--pgpro-card-soft:#dceeff;--pgpro-card-ink:#1266a5;}
:where(#pgpro,#observations,#accidents,#committees):has(> .pgpro-element-header[data-pgpro-element-theme="6"]),:where(#pgpro,#observations,#accidents,#committees) :has(> .pgpro-element-header[data-pgpro-element-theme="6"]){--pgpro-card-bg:#f0fbf7;--pgpro-card-border:#c7ebdf;--pgpro-card-soft:#d8f5e9;--pgpro-card-ink:#087b55;}
:where(#pgpro,#observations,#accidents,#committees):has(> .pgpro-element-header[data-pgpro-element-theme="7"]),:where(#pgpro,#observations,#accidents,#committees) :has(> .pgpro-element-header[data-pgpro-element-theme="7"]){--pgpro-card-bg:#f8f4ff;--pgpro-card-border:#ded0f6;--pgpro-card-soft:#e9defe;--pgpro-card-ink:#6631bd;}
:where(#pgpro,#observations,#accidents,#committees):has(> .pgpro-element-header[data-pgpro-element-theme="8"]),:where(#pgpro,#observations,#accidents,#committees) :has(> .pgpro-element-header[data-pgpro-element-theme="8"]){--pgpro-card-bg:#fff6ef;--pgpro-card-border:#f0d5c0;--pgpro-card-soft:#ffe2cf;--pgpro-card-ink:#bb540d;}
:where(#pgpro,#observations,#accidents,#committees):has(> .pgpro-element-header[data-pgpro-element-theme="9"]),:where(#pgpro,#observations,#accidents,#committees) :has(> .pgpro-element-header[data-pgpro-element-theme="9"]){--pgpro-card-bg:#effafb;--pgpro-card-border:#c4e5e7;--pgpro-card-soft:#d4f2f3;--pgpro-card-ink:#08727c;}
:where(#pgpro,#observations,#accidents,#committees):has(> .pgpro-element-header[data-pgpro-element-theme="10"]),:where(#pgpro,#observations,#accidents,#committees) :has(> .pgpro-element-header[data-pgpro-element-theme="10"]){--pgpro-card-bg:#fff2f6;--pgpro-card-border:#f2ccda;--pgpro-card-soft:#ffdbe7;--pgpro-card-ink:#bd2459;}
html body .pgpro-element-header[data-pgpro-element-theme] .pgpro-element-badge{background:var(--pgpro-card-soft)!important;color:var(--pgpro-card-ink)!important;box-shadow:none!important}

/* One calm mint navigation style; element badges keep their card colors. */
html body :is(#pgpro,#observations,#accidents,#committees) :is(.pgpro-e7-tab,.pgpro-e7-subtab,.pgpro-e2-subtab,.pgpro-e2-risk-subtab,.st-category,.cso-tab,.pgc-tabs button,.pgm-tabs button,.pfe-tabs button,.pgd-subtabs button,.peb-mini-tabs button,.peb-area-tabs button,[role="tab"],.pgpro-e2-risk-subtabs [data-e2-view]){position:relative;background:#fff!important;background-image:none!important;color:#173b57!important;border:1px solid #d7e3e6!important;box-shadow:none!important;transform:none!important;font-weight:400!important;transition:background-color .15s,color .15s!important;}
html body :is(#pgpro,#observations,#accidents,#committees) :is(.pgpro-e7-tab,.pgpro-e7-subtab,.pgpro-e2-subtab,.pgpro-e2-risk-subtab,.st-category,.cso-tab,.pgc-tabs button,.pgm-tabs button,.pfe-tabs button,.pgd-subtabs button,.peb-mini-tabs button,.peb-area-tabs button,[role="tab"],.pgpro-e2-risk-subtabs [data-e2-view]) :is(span,strong){font-weight:400!important}
html body :is(#pgpro,#observations,#accidents,#committees) :is(.pgpro-e7-tab,.pgpro-e7-subtab,.pgpro-e2-subtab,.pgpro-e2-risk-subtab,.st-category,.cso-tab,.pgc-tabs button,.pgm-tabs button,.pfe-tabs button,.pgd-subtabs button,.peb-mini-tabs button,.peb-area-tabs button,[role="tab"],.pgpro-e2-risk-subtabs [data-e2-view]) svg{width:20px!important;height:20px!important;flex:0 0 20px; color:inherit!important;}
html body :is(#pgpro,#observations,#accidents,#committees) :is(.pgpro-e7-tab,.pgpro-e7-subtab,.pgpro-e2-subtab,.pgpro-e2-risk-subtab,.st-category,.cso-tab,.pgc-tabs button,.pgm-tabs button,.pfe-tabs button,.pgd-subtabs button,.peb-mini-tabs button,.peb-area-tabs button,[role="tab"],.pgpro-e2-risk-subtabs [data-e2-view]):is(.active,.is-active,.is-primary,[aria-selected="true"]){background:#e2f3ef!important;color:#006d67!important;border-color:#c5e5dd!important;}
html body :is(#pgpro,#observations,#accidents,#committees) :is(.pgpro-e7-tab,.pgpro-e7-subtab,.pgpro-e2-subtab,.pgpro-e2-risk-subtab,.st-category,.cso-tab,.pgc-tabs button,.pgm-tabs button,.pfe-tabs button,.pgd-subtabs button,.peb-mini-tabs button,.peb-area-tabs button,[role="tab"],.pgpro-e2-risk-subtabs [data-e2-view])::after{content:none!important}
html body :is(#pgpro,#observations,#accidents,#committees) :is(.pgpro-e7-tab,.pgpro-e7-subtab,.pgpro-e2-subtab,.pgpro-e2-risk-subtab,.st-category,.cso-tab,.pgc-tabs button,.pgm-tabs button,.pfe-tabs button,.pgd-subtabs button,.peb-mini-tabs button,.peb-area-tabs button,[role="tab"],.pgpro-e2-risk-subtabs [data-e2-view]):is(.active,.is-active,.is-primary,[aria-selected="true"])::after{content:""!important;position:absolute;left:12px;right:12px;bottom:0;height:3px;background:#006d67;border-radius:3px;pointer-events:none;}
@media(hover:hover){html body :is(#pgpro,#observations,#accidents,#committees) :is(.pgpro-e7-tab,.pgpro-e7-subtab,.pgpro-e2-subtab,.pgpro-e2-risk-subtab,.st-category,.cso-tab,.pgc-tabs button,.pgm-tabs button,.pfe-tabs button,.pgd-subtabs button,.peb-mini-tabs button,.peb-area-tabs button,[role="tab"],.pgpro-e2-risk-subtabs [data-e2-view]):not(:is(.active,.is-active,.is-primary,[aria-selected="true"])):hover{background:#f0f9f6!important;color:#006d67!important;}}
@media(max-width:700px){html body :is(#pgpro,#observations,#accidents,#committees) :is(.pgpro-e7-tabs,.pgpro-e7-subtabs,.pgpro-e2-subtabs,.pgpro-e2-risk-subtabs,.st-categories,.cso-tabs,.pgc-tabs,.pgm-tabs,.pfe-tabs,.pgd-subtabs,.peb-mini-tabs,.peb-area-tabs,[role="tablist"]){display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%;min-width:0;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:6px;}html body :is(#pgpro,#observations,#accidents,#committees) :is(.pgpro-e7-tab,.pgpro-e7-subtab,.pgpro-e2-subtab,.pgpro-e2-risk-subtab,.st-category,.cso-tab,.pgc-tabs button,.pgm-tabs button,.pfe-tabs button,.pgd-subtabs button,.peb-mini-tabs button,.peb-area-tabs button,[role="tab"],.pgpro-e2-risk-subtabs [data-e2-view]){flex:0 0 auto!important;min-width:160px;max-width:290px;min-height:48px;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;} }
