.ep-preferences-trigger{border:1px solid #d9d9d9;border-radius:999px;background:#fff;color:#141414;padding:9px 14px;font:700 12px/1 Arial,sans-serif;cursor:pointer;white-space:nowrap}
.ep-preferences-trigger:hover,.ep-preferences-trigger:focus-visible{border-color:#005b39;color:#005b39}
.ep-preferences-menu{display:none}
.ep-preferences-backdrop{position:fixed;inset:0;z-index:15000;display:grid;place-items:center;overflow:auto;padding:18px;background:rgba(10,13,12,.68);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
body.ep-preferences-open{overflow:hidden}
.ep-preferences-panel{position:relative;width:min(680px,100%);max-height:calc(100dvh - 36px);overflow:auto;border-radius:22px;background:#fff;color:#111;padding:clamp(22px,4vw,40px);box-shadow:0 24px 80px #0004;font:15px/1.45 Arial,sans-serif}
.ep-preferences-panel *{box-sizing:border-box}
.ep-preferences-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border:1px solid #ddd;border-radius:50%;background:#fff;color:#111;font:24px/1 Arial;cursor:pointer}
.ep-preferences-kicker{margin:0 0 12px;color:#006744;font:700 11px/1.2 Arial;letter-spacing:.18em}
.ep-preferences-panel h2{max-width:540px;margin:0 0 10px;color:#141414;font:400 clamp(32px,5vw,50px)/1.04 Georgia,serif;letter-spacing:-.035em}
.ep-preferences-intro{max-width:530px;margin:0 0 22px;color:#474747}
.ep-preferences-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 17px;align-items:end}
.ep-preferences-panel label{display:grid;gap:6px;color:#171717;font-weight:700;font-size:13px}
.ep-preferences-panel label small{font-weight:400;color:#666}
.ep-preferences-panel input:not([type=checkbox]),.ep-preferences-panel select{width:100%;min-height:43px;border:1px solid #c7c7c7;border-radius:9px;background:#fff;color:#111;padding:9px 11px;font:15px Arial}
.ep-preferences-panel fieldset{margin:0 0 17px;padding:0;border:0}
.ep-preferences-panel legend{margin:0 0 10px;color:#171717;font-weight:700}
.ep-preferences-panel legend small{margin-left:5px;color:#686868;font-weight:400}
.ep-preferences-industries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:214px;overflow:auto}
.ep-preferences-panel .ep-industry-choice{display:flex;align-items:center;gap:9px;min-height:41px;border:1px solid #ddd;border-radius:9px;padding:8px 10px;font-weight:600;cursor:pointer}
.ep-industry-choice:has(input:checked){border-color:#006744;background:#f0f8f3}
.ep-preferences-panel input[type=checkbox]{accent-color:#006744}
.ep-location-button{min-height:43px;border:1px solid #777;border-radius:9px;background:#fff;color:#111;font:700 13px Arial;cursor:pointer}
.ep-location-status{min-height:16px;margin:-9px 0 10px;color:#555;font-size:12px}
.ep-preferences-panel details{border-top:1px solid #e1e1e1;padding:12px 0}
.ep-preferences-panel summary{cursor:pointer;font-weight:700;color:#1e1e1e}
.ep-preferences-panel details .ep-preferences-row{margin-top:14px}
.ep-preferences-panel .ep-preferences-check{display:flex;align-items:flex-start;gap:8px;font-weight:400}
.ep-preferences-actions{display:flex;align-items:center;gap:15px;margin-top:12px}
.ep-preferences-save{min-height:46px;border:0;border-radius:9px;background:#005b3b;color:#fff;padding:11px 18px;font:700 14px Arial;cursor:pointer}
.ep-preferences-skip{border:0;background:transparent;color:#555;text-decoration:underline;cursor:pointer}
@media(max-width:650px){.ep-preferences-trigger{font-size:0;width:38px;height:38px;padding:0}.ep-preferences-trigger:before{content:'✦';font-size:18px}.ep-preferences-panel{border-radius:18px;padding:22px}.ep-preferences-row{grid-template-columns:1fr}.ep-preferences-industries{grid-template-columns:1fr 1fr}.ep-preferences-panel .ep-industry-choice{font-size:11px}.ep-preferences-actions{align-items:stretch;flex-direction:column}.ep-preferences-skip{min-height:38px}}
.ep-category-preferences{border:0;background:transparent;color:#005b3b;text-decoration:underline;font:inherit;cursor:pointer}
.ep-industry-selected{border-color:#006744!important;background:#f3faf6!important}
.ep-industry-articles{max-width:1152px;margin:32px auto 100px;padding:0 16px;color:#111}
.ep-industry-articles h2{font:400 clamp(30px,4vw,45px)/1.1 Georgia,serif}
.ep-industry-article-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:13px}
.ep-industry-article-grid a{display:grid;gap:8px;border:1px solid #ddd;border-radius:14px;padding:18px;background:#fff;color:#111;text-decoration:none}
.ep-industry-article-grid small{color:#006744;font-weight:700;text-transform:uppercase}
.ep-industry-article-grid strong{font:700 19px/1.2 Georgia,serif}
.ep-industry-article-grid span{font-size:14px;line-height:1.45}
@media(max-width:650px){
  .ep-preferences-backdrop{display:flex;flex-direction:column;align-items:center;justify-content:safe center;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:max(18px,env(safe-area-inset-top)) 18px max(18px,env(safe-area-inset-bottom))}
  .ep-preferences-panel{flex:0 0 auto;max-height:none;overflow:visible}
  .ep-preferences-industries{max-height:none;overflow:visible}
}
