:root {
    --e1pp-accent: var(--wp--preset--color--primary, var(--global-palette1, var(--ast-global-color-0, var(--bs-primary, #59a900))));
}
.e1pp-list, .e1pp-profile, .e1pp-dialog { box-sizing: border-box; color: #24292b; line-height: 1.6; }
.e1pp-list *, .e1pp-profile *, .e1pp-dialog * { box-sizing: border-box; }
.e1pp-list [hidden] { display: none !important; }
.e1pp-search { display: block; max-width: 30rem; margin: 0 0 1rem; font-weight: 700; }
.e1pp-search input { display: block; width: 100%; margin-top: .35rem; padding: .7rem 1rem; border: 1px solid #b7c0c6; border-radius: .3rem; background: #fff; color: #24292b; font: inherit; }
.e1pp-scroll { overflow-x: auto; }
.e1pp-list table { width: 100%; min-width: 38rem; border-collapse: separate; border-spacing: 0 .4rem; }
.e1pp-list th, .e1pp-list td { padding: .8rem 1rem; text-align: left; vertical-align: middle; }
.e1pp-list th { background: #303030; color: white; }
.e1pp-list td { background: #eee; }
.e1pp-list tr:nth-child(even) td { background: #e2e2e2; }
.e1pp-list small { display: block; color: #535a60; }
a.e1pp-profile-link { color: inherit; text-decoration: underline; text-underline-offset: .16em; }
a.e1pp-profile-link:hover { color: var(--e1pp-accent); }
a.e1pp-thumb-link { display: inline-block; vertical-align: middle; }
.e1pp-thumb-link .e1pp-thumb { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: .35rem; }
dialog.e1pp-dialog {
    position: fixed; inset: 0; width: min(94vw, 65rem); max-width: 96vw;
    max-height: 92vh; max-height: 92dvh; margin: auto; padding: 0; overflow: hidden;
    border: 1px solid #ffffff40; border-radius: 1rem; background: #f2f3f4; box-shadow: 0 24px 90px #0008;
}
dialog.e1pp-dialog[open] { display: flex; flex-direction: column; }
.e1pp-dialog::backdrop { background: #101417d9; }
.e1pp-toolbar { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 1rem; background: #15191b; }
.e1pp-toolbar-brand, .e1pp-eyebrow { font: 700 .72rem/1.5 system-ui,sans-serif; text-transform: uppercase; letter-spacing: .13em; }
.e1pp-toolbar-brand { color: #cbd2d6; }
.e1pp-toolbar form { margin: 0; }
.e1pp-toolbar button.e1pp-close { display: inline-flex; align-items: center; gap: .8em; min-height: 44px; padding: .5rem .9rem; border: 1px solid #ccd1d4; border-radius: .45rem; background: white; color: #15191b; font: 700 .9rem/1.2 system-ui,sans-serif; cursor: pointer; }
.e1pp-close span { font-size: 1.4em; }
.e1pp-dialog-content { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.e1pp-dialog-content:not(:has(> .e1pp-profile)) { padding: 1rem; }
.e1pp-profile { background: #f2f3f4; overflow-wrap: anywhere; }
.e1pp-profile .e1pp-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.4rem, 4vw, 2.6rem); border-top: 4px solid var(--e1pp-accent); background: linear-gradient(115deg,#252b2e,#101416); color: white; }
.e1pp-hero::after { content: ''; position: absolute; z-index: -1; inset: 0 -5% 0 auto; width: 24%; transform: skew(-24deg); background: var(--e1pp-accent); opacity: .16; }
.e1pp-profile .e1pp-eyebrow { color: #c6ee94; color: color-mix(in srgb,var(--e1pp-accent) 55%,white); }
.e1pp-profile .e1pp-hero h1 { margin: .8rem 0 1.6rem; color: white; font-size: clamp(2rem,5vw,3.6rem); line-height: 1.08; letter-spacing: -.025em; }
.e1pp-facts { display: flex; gap: 1rem 2rem; flex-wrap: wrap; }
.e1pp-facts > div { padding-left: .85rem; border-left: 2px solid var(--e1pp-accent); }
.e1pp-facts span, .e1pp-team strong { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; }
.e1pp-facts span { color: #c5cdd1; }
.e1pp-body { padding: clamp(1rem,3vw,2.5rem); }
.e1pp-body:empty { display: none; }
.e1pp-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,17.5rem),1fr)); gap: 1rem; }
.e1pp-gallery .e1pp-image-link { position: relative; display: block; overflow: hidden; border-radius: .75rem; background: #14191b; color: white; }
.e1pp-gallery img { display: block; width: 100%; height: clamp(15rem,40vh,22.5rem); object-fit: contain; }
.e1pp-gallery a span { position: absolute; right: .7rem; bottom: .7rem; padding: .35rem .7rem; border: 1px solid #ffffff55; border-radius: .35rem; background: #101416ed; color: white; font-size: .8rem; }
.e1pp-profile .e1pp-team, .e1pp-profile .e1pp-text { margin: 0; padding: 1.4rem; border: 1px solid #dfe3e6; border-radius: .7rem; background: white; }
.e1pp-profile .e1pp-body > * + * { margin-top: 1.3rem; }
.e1pp-profile .e1pp-team { border-left: 4px solid var(--e1pp-accent); }
.e1pp-team strong { color: #55616a; }
.e1pp-text { line-height: 1.8; }
.e1pp-text h2 { margin: 0 0 .8rem; font-size: 1.5rem; }
.e1pp-text p:last-child { margin-bottom: 0; }
dialog.e1pp-image-dialog { width: fit-content; max-width: min(96vw,105rem); background: #101416; color: white; }
.e1pp-image-dialog img { display: block; max-height: 75vh; max-height: 75dvh; max-width: 100%; margin: auto; object-fit: contain; }
.e1pp-page { margin: 0; padding: clamp(.5rem,2vw,2rem); background: #e7eaec; font-family: system-ui,sans-serif; }
.e1pp-page > article { max-width: 65rem; margin: auto; overflow: hidden; border-radius: 1rem; }
:is(.e1pp-list,.e1pp-dialog,.e1pp-profile) :focus-visible { outline: 3px solid var(--e1pp-accent); outline-offset: -3px; }
