.ea-root{--ea-pink:var(--crm-accent,#eb008b);--ea-ink:#243047;color:var(--ea-ink)}
.ea-root .ea-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border:1px solid #e5dbed;border-left:5px solid var(--ea-pink);border-radius:18px;background:linear-gradient(100deg,#fff1f8,#f8f7fe);margin:0 0 18px}
.ea-root .ea-heading h2{font-size:22px;font-weight:700;line-height:1.3;margin:0;display:flex;gap:12px;align-items:center}.ea-root svg{width:21px;height:21px;flex:0 0 21px;vertical-align:middle}.ea-root .ea-heading h2 svg{width:27px;height:27px;color:var(--ea-pink)}
.ea-root .ea-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ea-root button,.ea-root a.ea-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 14px;font-size:14px;line-height:1.3;white-space:nowrap;border:1px solid #d5d9e5;border-radius:12px;background:white;color:var(--ea-ink);text-decoration:none;cursor:pointer}.ea-root button.ea-primary{background:var(--ea-pink);color:white;border-color:var(--ea-pink);font-weight:600}.ea-root button:disabled{opacity:.5;cursor:default}.ea-root button.ea-refresh{width:42px;padding:10px}
.ea-root .ea-intro{font-size:15px;line-height:1.5;margin:0 0 16px;color:#556783}.ea-root .ea-counts{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 18px}.ea-root .ea-counts span{background:#fff;border:1px solid #e1dcea;border-radius:11px;padding:10px 14px;font-size:14px}.ea-root .ea-counts strong{font-size:19px;color:var(--ea-pink);margin-right:6px}
.ea-root .ea-filters{display:flex;gap:12px;margin-bottom:20px;align-items:end}.ea-root .ea-filters label{display:grid;gap:6px;font-size:13px;color:#52617a}.ea-root .ea-filters label:first-child{flex:1}.ea-root input,.ea-root select{font-family:inherit;font-size:15px;height:43px;margin:0;border:1px solid #d8d5e4;border-radius:11px;padding:8px 12px;background:#fff;box-sizing:border-box;width:100%}.ea-root .ea-filters select{min-width:190px}
.ea-root .ea-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.ea-root .ea-card{background:#fff;border:1px solid #e4ddea;border-radius:18px;overflow:hidden;min-width:0}.ea-root .ea-card-head{display:flex;align-items:center;gap:10px;padding:13px 15px;justify-content:space-between;min-height:55px;box-sizing:border-box}.ea-root .ea-card h3{font-size:15px;margin:0;overflow-wrap:anywhere}.ea-root .ea-tag{font-size:11px;background:#faf0f6;border-radius:20px;padding:5px 8px;white-space:nowrap;color:var(--crm-accent,#eb008b)}.ea-root canvas{display:block;width:100%;height:auto;background:#fff1f8;aspect-ratio:1}.ea-root .ea-card-foot{padding:12px 15px;display:grid;gap:10px}.ea-root .ea-card-foot small{font-size:12px;color:#5a6c86}.ea-root .ea-card-foot button{width:100%}.ea-root .ea-card [role=alert]{color:#b31f51;font-size:13px;margin:0}.ea-root .ea-status{font-size:14px;margin:12px 0;line-height:1.5}.ea-root .ea-empty{padding:28px;border:1px dashed #d7c7e5;border-radius:16px;text-align:center;background:#fff}.ea-root .ea-ready-note{font-size:12px;color:#53647c;margin-top:14px}.ea-root .ea-card-foot a{font-size:13px;color:var(--crm-accent,#eb008b)}
@media(min-width:1700px){.ea-root .ea-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.ea-root .ea-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ea-root .ea-heading{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:620px){.ea-root .ea-grid{grid-template-columns:1fr}.ea-root .ea-filters{align-items:stretch;flex-direction:column}.ea-root .ea-heading{padding:15px}.ea-root .ea-actions{width:100%}.ea-root .ea-actions .ea-primary{flex:1;white-space:normal}.ea-root .ea-counts{gap:7px}.ea-root .ea-counts span{padding:8px 10px}}
.ea-root .ea-card-head{height:58px;min-height:58px}.ea-root .ea-card h3{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.ea-root .ea-card-foot small{min-height:34px;line-height:17px}.ea-root .ea-tag{flex-shrink:0}
.ea-editor{box-sizing:border-box;width:min(1020px,96vw);max-width:96vw;max-height:94dvh;padding:0;border:1px solid #e1d7eb;border-radius:22px;background:#fff;color:#243047;overflow:hidden;box-shadow:0 18px 70px #28304a30}
.ea-editor::backdrop{background:#26304777;backdrop-filter:blur(3px)}
.ea-editor .ea-editor-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 24px;border-bottom:1px solid #e9e1ef;background:#fff4fa}.ea-editor h2{margin:0;font-size:22px;line-height:1.3}.ea-editor h3{margin:0 0 12px;font-size:16px}.ea-editor p{font-size:13px;line-height:1.5;margin:6px 0;color:#52647a}
.ea-editor button,.ea-editor .ea-file-button{font:inherit;font-size:14px;line-height:1.4;display:inline-flex;align-items:center;justify-content:center;min-height:42px;gap:8px;padding:9px 14px;border:1px solid #d9d2e3;border-radius:12px;background:#fff;color:#31405a;cursor:pointer;box-sizing:border-box}.ea-editor button:disabled{opacity:.5;cursor:wait}.ea-editor .ea-editor-head button{width:40px;min-width:40px;font-size:26px;min-height:40px;padding:0;color:var(--crm-accent,#eb008b)}
.ea-editor .ea-editor-body{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;padding:20px 24px;max-height:calc(94dvh - 187px);overflow:auto;align-items:start}.ea-editor .ea-editor-preview{position:sticky;top:0;min-width:0}.ea-editor .ea-editor-preview canvas{display:block;width:100%;height:auto;margin-top:12px;border-radius:15px;touch-action:none;cursor:grab;box-shadow:0 4px 20px #30405515}.ea-editor .ea-editor-preview p{text-align:center;font-size:12px}
.ea-editor label{font-size:13px;color:#465973;display:grid;gap:7px}.ea-editor select{box-sizing:border-box;width:100%;font:inherit;font-size:14px;height:42px;padding:8px 10px;border:1px solid #d9d2e3;border-radius:10px;background:#fff;color:#243047}
.ea-editor .ea-editor-settings{display:grid;gap:16px;min-width:0}.ea-editor section{border:1px solid #e7dfef;border-radius:15px;padding:15px}.ea-editor small{display:block;font-size:12px;line-height:1.5;color:#52647a;margin-top:9px}.ea-editor .ea-file-button{background:#fff1f8;color:var(--crm-accent,#eb008b);border-color:#efc7df;position:relative;overflow:hidden;width:100%;font-weight:600}.ea-editor .ea-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.ea-editor [data-eae-file-name]{overflow-wrap:anywhere;font-size:12px}
.ea-editor label.ea-check{display:flex;align-items:center;gap:10px;line-height:1.4;margin-top:12px}.ea-editor .ea-check input{width:18px;height:18px;min-width:18px;accent-color:var(--crm-accent,#eb008b);margin:0;padding:0}.ea-editor .ea-editor-tabs{display:flex;gap:7px;margin-bottom:14px}.ea-editor .ea-editor-tabs button{flex:1;font-size:13px;padding:8px 10px}.ea-editor .ea-editor-tabs [aria-pressed=true]{background:#fff1f8;border-color:var(--crm-accent,#eb008b);color:var(--crm-accent,#eb008b);font-weight:600}
.ea-editor .ea-editor-range{grid-template-columns:1fr auto;gap:5px;margin:10px 0}.ea-editor output{font-size:12px;font-weight:600;color:var(--crm-accent,#eb008b)}.ea-editor input[type=range]{grid-column:1/-1;width:100%;height:22px;padding:0;margin:0;accent-color:var(--crm-accent,#eb008b);border:0;background:transparent;box-shadow:none}.ea-editor .ea-color{display:flex;align-items:center;justify-content:space-between;margin-top:12px}.ea-editor input[type=color]{width:45px;height:33px;padding:2px;border:1px solid #d9d2e3;border-radius:8px}.ea-editor [hidden]{display:none!important}
.ea-editor .ea-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 24px;border-top:1px solid #e9e1ef;background:#fff}.ea-editor .ea-editor-footer p{max-width:410px;margin:0}.ea-editor .ea-editor-footer>div{display:flex;gap:9px}.ea-editor button.ea-editor-save{background:var(--crm-accent,#eb008b);border-color:var(--crm-accent,#eb008b);color:#fff;font-weight:600}.ea-editor [role=alert]{color:#b51d4e}.ea-editor button.ea-editor-reset{font-size:13px;color:#965d86;background:#fbf8fc}
@media(max-width:760px){.ea-editor{max-width:98vw;width:98vw;max-height:96dvh;border-radius:18px}.ea-editor .ea-editor-body{grid-template-columns:1fr;max-height:calc(96dvh - 220px);padding:15px;gap:16px}.ea-editor .ea-editor-preview{position:static;max-width:480px;width:100%;margin:auto}.ea-editor .ea-editor-head{padding:15px}.ea-editor .ea-editor-head h2{font-size:20px}.ea-editor .ea-editor-footer{padding:12px 15px;flex-wrap:wrap;gap:8px}.ea-editor .ea-editor-footer>div{width:100%}.ea-editor .ea-editor-save{flex:1}.ea-editor .ea-editor-footer p{font-size:12px}}

/* Client gallery uses the existing portal title bar, with one download action. */
.ea-root.ea-client{font-family:inherit}
.ea-root.ea-client .ea-heading{justify-content:flex-end;padding:0;min-height:0;border:0;background:none;box-shadow:none;margin:0 0 14px}
.ea-root.ea-client .ea-heading h2{display:none}
.ea-root.ea-client button,.ea-toolbar button{font-family:inherit}
.xp-shell .xp-panel-title>.ea-root.ea-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 0 auto;flex:0 1 auto}
.ea-root.ea-toolbar button{min-height:40px;font-size:14px;padding:9px 13px}
.ea-root.ea-client .ea-intro{margin-bottom:12px}
.ea-root.ea-client .ea-counts{margin-bottom:14px}
.ea-root.ea-client .ea-filters{margin-bottom:16px}
.ea-root.ea-client .ea-status:empty{display:none}
@media(min-width:761px){.pp-nav:has([data-pp-view="client_linkedin"]){flex-wrap:wrap;overflow:visible}.pp-nav:has([data-pp-view="client_linkedin"])>button{flex:1 0 auto}}
@media(max-width:620px){.xp-panel-title:has(>.ea-toolbar){flex-wrap:wrap}.xp-panel-title>.ea-toolbar{margin:0 0 0 auto}.ea-root.ea-toolbar button{font-size:13px;min-height:38px;white-space:normal}}

/* Company announcement animation: one preview and two equal download actions. */
.ea-root .ea-downloads{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:8px}.ea-root .ea-downloads button{min-width:0;min-height:40px;padding:8px 7px;gap:6px;font-size:13px;font-family:inherit}.ea-root .ea-downloads svg{width:18px;height:18px;flex-basis:18px}.ea-root .ea-actions button{font-family:inherit}
.ea-animation{box-sizing:border-box;width:min(840px,95vw);max-height:94dvh;padding:0;overflow:auto;border:1px solid #eaddea;border-radius:20px;color:#243047;background:#fff;font-family:EAVisby,sans-serif;box-shadow:0 16px 70px #27304730}.ea-animation::backdrop{background:#26304788;backdrop-filter:blur(3px)}.ea-animation-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 22px;background:#fff3fa;border-bottom:1px solid #eaddea}.ea-animation h2{margin:0;font-size:20px;line-height:1.3;font-weight:700}.ea-animation button{font:inherit;font-size:14px;line-height:1.4;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 14px;border:1px solid #d9d2e3;border-radius:12px;background:#fff;color:#31405a;cursor:pointer}.ea-animation button:disabled{opacity:.5;cursor:wait}.ea-animation-head button{min-width:40px;min-height:40px;padding:0;font-size:26px;color:var(--crm-accent,#eb008b)}.ea-animation-body{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr);align-items:center;gap:24px;padding:22px}.ea-animation canvas{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:12px}.ea-animation p{font-size:14px;line-height:1.55;margin:0 0 14px;color:#556783}.ea-animation [data-eav-name]{font-size:18px;font-weight:700;color:#243047}.ea-animation [data-eav-download]{background:var(--crm-accent,#eb008b);border-color:var(--crm-accent,#eb008b);color:#fff}.ea-animation svg{width:20px;height:20px;flex-shrink:0}.ea-animation [data-eav-status]{margin:12px 0 0;font-size:13px}.ea-animation [role=alert]{color:#bc165c}
@media(max-width:620px){.ea-animation-body{grid-template-columns:1fr;padding:15px;gap:18px}.ea-animation-body>div{text-align:center}.ea-animation-head{padding:14px 16px}.ea-animation h2{font-size:18px}.ea-root .ea-actions button{flex:1}}
