/* Project360 15.3: transparent identity and a keyboard-accessible language menu. */
img[data-p360-brand],img[src*="project360-logo-v153"]{background:transparent!important;padding:0!important;border:0!important;border-radius:0!important;object-fit:contain;box-shadow:none!important}
header img[data-p360-brand]{width:clamp(160px,16vw,220px);height:74px!important;max-height:74px;display:block}
header .refined-tagline{display:none}
footer img[data-p360-brand],.portal-footer img[data-p360-brand]{width:240px!important;height:90px!important;max-width:100%;display:block}
.member-brand img{width:240px!important;height:88px!important;background:transparent!important;padding:0!important}
.member-brand small{display:none}
.sidebar img[data-p360-brand],.download-sidebar img[data-p360-brand]{width:190px!important;height:76px!important}
.login-card img[data-p360-brand]{filter:drop-shadow(0 1px 1px #14314880)}
.login-card .brand:has(img[data-p360-brand]){background:#10283c;border-radius:10px;padding:12px;justify-content:center}
.p360-language-menu{position:relative;flex:0 0 auto;color:#f4ead5;font-size:13px;font-weight:500;line-height:1.5;z-index:110;min-width:112px;max-width:180px}
.p360-language-menu summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:8px 12px;border:1px solid #c6a76766;border-radius:10px;background:#0e293dd9;cursor:pointer;user-select:none;white-space:nowrap;font:inherit}
.p360-language-menu summary::-webkit-details-marker{display:none}
.p360-language-menu summary:hover,.p360-language-menu[open] summary{background:#193b51;border-color:#d9b66d}
.p360-language-menu summary:focus-visible,.p360-language-options a:focus-visible{outline:2px solid #f0ce89;outline-offset:4px}
.p360-language-menu[open] .p360-language-chevron{transform:rotate(180deg)}
.p360-language-options{position:absolute!important;inset-block-start:calc(100% + 9px);inset-inline-end:0;display:grid!important;gap:3px!important;min-width:182px;padding:7px!important;background:#0c263b!important;border:1px solid #ac8d5355;border-radius:12px;box-shadow:0 18px 44px #0005;max-height:60vh;overflow:auto}
.p360-language-options a{display:flex!important;align-items:center;justify-content:space-between;gap:18px;padding:10px 11px!important;border-radius:7px;color:#dae4eb!important;text-decoration:none;font-size:13px!important;line-height:1.5;white-space:nowrap}
.p360-language-options a::after{display:none!important}
.p360-language-options a:hover,.p360-language-options a[aria-current=page]{color:#ffe1a0!important;background:#ffffff0b}
.p360-language-options small{font:10px/1.5 Arial,sans-serif;letter-spacing:.06em;color:#9db1be;direction:ltr}
.p360-language-options a[aria-current=page] small{color:#e8c276}
header .p360-header-tools{display:none!important}
.site-header .header-inner{flex-wrap:nowrap!important;gap:clamp(8px,1.2vw,20px)!important}
.site-header .main-nav{gap:clamp(9px,1vw,18px);min-width:0}
header .p360-language-menu{margin-inline-start:0}
.site-header .header-cta{max-width:170px;min-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
header .member-name-link{max-width:170px;overflow:hidden;text-overflow:ellipsis}
@media(min-width:1201px){.site-header .main-nav a[href$="/account"]{display:none}.site-header .main-nav{font-size:12px!important}.site-header .brand{flex-shrink:0}}
@media(max-width:1200px){.site-header{height:auto!important}.site-header .header-inner{height:auto!important;min-height:86px;flex-wrap:wrap!important;padding-block:8px}.site-header .menu-toggle{display:flex!important;align-items:center;justify-content:center}.site-header .main-nav{display:none}.site-header .main-nav.open,.site-header .main-nav.is-open{display:flex;flex-basis:100%;order:6;flex-wrap:wrap;padding:12px;gap:18px}.site-header .header-cta{margin-inline-start:auto}.site-header .p360-language-menu{order:4}.site-header .menu-toggle{order:5}.site-header .brand img{width:190px}.portal-header{flex-wrap:wrap;gap:12px}.portal-header .p360-language-menu{margin-inline-start:auto}}
@media(max-width:620px){.p360-language-menu{min-width:94px;font-size:12px}.p360-language-menu summary{padding:8px;gap:6px;min-height:40px}.site-header .header-inner{gap:9px!important}.site-header .brand img{width:160px;height:59px!important}.site-header .header-cta{max-width:150px;padding:9px 10px;min-width:0}.site-header .brand{margin-inline-end:auto}.site-header .p360-language-menu{order:4;margin-inline-start:auto}.site-header .menu-toggle{order:3}.site-header .header-cta{order:2}.site-header .main-nav.open,.site-header .main-nav.is-open{position:static!important}.site-header~.hero .hero-content{padding-top:180px!important}.portal-header img[data-p360-brand]{width:170px;height:60px!important}.p360-language-options{min-width:176px}.member-brand img{width:210px!important}.member-language-bar{display:flex;justify-content:flex-end;margin-bottom:18px}}
@media(prefers-reduced-motion:reduce){.p360-language-chevron{transition:none}}

.p360-language-suggest{display:flex;align-items:center;gap:14px;background:#102b40!important;color:#f1dfb5!important;border:1px solid #b49a5d88!important;border-radius:10px!important;box-shadow:0 8px 24px #0003!important;padding:8px 12px!important;font-size:13px!important}.p360-language-suggest a{color:#f1dfb5!important;text-decoration:none}.p360-language-suggest button{background:transparent!important;color:#d7e1e9!important;border:0;min-height:32px;min-width:32px;font-size:22px}.member-language-bar{margin:14px 0;display:block!important}.member-file-cover:has(img[src*="project360-logo-v153"]){background:#0e293e!important}.member-file-cover img[src*="project360-logo-v153"]{object-fit:contain!important;padding:20px!important;width:100%;height:100%}

html:not([lang=fa]) .site-header .header-cta{white-space:nowrap!important;max-width:205px!important;flex-shrink:0;gap:8px;padding:12px 14px!important;min-height:44px;font-size:12px!important}html[lang=de] .site-header .header-cta,html[lang=ru] .site-header .header-cta{font-size:11px!important}@media(max-width:620px){html:not([lang=fa]) .site-header .header-cta{max-width:180px!important;padding:10px!important}}

.p360-admin-brand{display:inline-flex;background:#10283c;padding:8px 12px;border-radius:10px;align-items:center;max-width:240px}.p360-admin-brand img{width:190px!important;height:64px!important}.login-card .brand small{color:#d9e4ec}.members-top{flex-wrap:wrap;gap:16px}

.resource-hero:has(>img[data-p360-brand]){background:linear-gradient(125deg,#173d50,#071e30)!important;color:#e4edf2}.resource-hero:has(>img[data-p360-brand]) h1{color:#fff}.resource-hero:has(>img[data-p360-brand]) .lead{color:#c8d9e3}.resource-hero p{overflow-wrap:anywhere}.resource-hero>img[data-p360-brand]{width:280px!important;height:94px!important}.resource-hero:has(>img[data-p360-brand])::before{opacity:.12}
