/* Receive-only contact. One alpha geometry per drawing, directly over document layers. */
.eg-redaction{color:transparent!important;background:#17191a;box-decoration-break:clone;-webkit-box-decoration-break:clone;border-radius:1px;text-shadow:none!important}
.eg-redaction-revealed{color:inherit;background:transparent}
.eg-helper[hidden],.eg-helper [hidden],.eg-disturbance[hidden]{display:none!important}
.eg-helper{--helper-bg:#242323;--helper-surface:#353030;--helper-ink:#f8f2ec;--helper-muted:#d4c8bf;--helper-accent:#ffa56e;--helper-edge:#958276;--helper-hover:#453c38;color:var(--helper-ink)}
.eg-helper-client{--helper-bg:#15222b;--helper-surface:#23343f;--helper-ink:#f3f6f5;--helper-muted:#bcc8cf;--helper-accent:#9fedd8;--helper-edge:#71848f;--helper-hover:#324651}
.eg-helper *{box-sizing:border-box}
.eg-help-launcher{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:32;display:flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:12px 17px;border:1px solid #a7b3b9;border-radius:9px;background:var(--helper-bg);color:var(--helper-ink);box-shadow:0 4px 18px #080d1260,0 0 0 2px #ffffffb3;font:600 14px/1.35 Arial,sans-serif;cursor:pointer}
.eg-help-launcher:hover{background:var(--helper-hover);border-color:var(--helper-accent)}
.eg-help-label{white-space:nowrap}
.eg-chat-icon{position:relative;display:block;flex:0 0 23px;width:23px;height:23px;color:var(--helper-accent)}
.eg-chat-icon:before{content:"";position:absolute;inset:2px 1px 5px;border:2px solid currentColor;border-radius:4px}
.eg-chat-icon:after{content:"";position:absolute;left:5px;bottom:2px;width:7px;height:7px;background:var(--helper-bg);border-left:2px solid currentColor;transform:skewY(-35deg)}
.eg-help-unread{display:flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 5px;border-radius:20px;background:var(--helper-accent);color:#18232a;font:700 12px/1 Arial,sans-serif}
body.eg-has-helper{padding-bottom:max(84px,calc(66px + env(safe-area-inset-bottom)))}
/* Allow the document footer to scroll fully above expanded Help. Match its existing maximum-height envelope. */
body.eg-has-helper.eg-helper-expanded{padding-bottom:max(84px,calc(min(440px,calc(100dvh - 36px)) + max(18px,env(safe-area-inset-bottom)) + 18px))}
@media(max-width:600px){body.eg-has-helper.eg-helper-expanded{padding-bottom:max(84px,calc(min(420px,calc(100dvh - 28px)) + max(14px,env(safe-area-inset-bottom)) + 14px))}}
.eg-help-preview{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(84px,calc(84px + env(safe-area-inset-bottom)));z-index:32;display:flex;align-items:flex-start;width:min(332px,calc(100vw - 36px));border:1px solid var(--helper-edge);border-radius:9px;background:var(--helper-bg);color:var(--helper-ink);box-shadow:0 5px 22px #080d1259;overflow:hidden}
.eg-help-preview-open{display:flex;align-items:flex-start;gap:13px;flex:1;min-width:0;min-height:76px;padding:17px 0 17px 17px;border:0;background:none;color:inherit;text-align:left;cursor:pointer}
.eg-help-preview-copy{display:block;min-width:0}
.eg-help-preview-label{display:block;margin-bottom:5px;color:var(--helper-muted);font:600 11px/1.3 Arial,sans-serif;letter-spacing:.055em;text-transform:uppercase}
.eg-help-preview-text{display:block;max-width:245px;color:var(--helper-ink);font:14px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.eg-help-preview-dismiss{flex:0 0 44px;min-width:44px;min-height:44px;margin:4px 2px 0 0;padding:0;border:0;border-radius:6px;background:none;color:var(--helper-muted);font:24px/1 Arial,sans-serif;cursor:pointer}
.eg-help-preview-open:hover .eg-help-preview-text{color:#fff}
.eg-help-preview-dismiss:hover,.eg-contact-dismiss:hover{background:var(--helper-hover);color:#fff}
.eg-contact{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:32;display:flex;flex-direction:column;width:min(356px,calc(100vw - 36px));max-height:min(440px,calc(100dvh - 36px));border:1px solid var(--helper-edge);border-radius:10px;background:var(--helper-bg);color:var(--helper-ink);box-shadow:0 10px 35px #080d1266,0 0 0 1px #ffffff1f;font:15px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:hidden}
.eg-contact-head{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:9px 11px 9px 17px;border-bottom:1px solid var(--helper-edge);background:var(--helper-bg);color:var(--helper-ink)}
.eg-contact-heading{display:flex;align-items:center;gap:12px}
.eg-contact-head h2{margin:0!important;color:var(--helper-ink)!important;font:600 16px/1.35 Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
.eg-contact-dismiss{min-width:44px;min-height:44px;padding:7px 10px;border:0;border-radius:6px;background:none;color:var(--helper-muted);cursor:pointer;font:27px/1 Arial,sans-serif}
.eg-contact-lines{position:relative;flex:1 1 auto;min-height:104px;max-height:300px;padding:19px 17px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#718895 var(--helper-bg)}
.eg-contact-line{margin:0 0 11px!important;padding:9px 12px;border-left:2px solid var(--helper-accent);border-radius:0 5px 5px 0;background:var(--helper-surface);color:var(--helper-ink)!important;font:15px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace!important;overflow-wrap:anywhere;contain:paint}
.eg-contact-line:last-child{margin-bottom:0!important}
.eg-contact-line-replaying{border-left-color:#fff;background:var(--helper-hover)}
.eg-contact-corrupted{display:block;overflow-wrap:anywhere;line-height:1.9}
.eg-contact-exact{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.eg-contact-waiting{margin:0!important;padding:7px 0;color:var(--helper-muted)!important;font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace!important}
.eg-contact-controls{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:10px;min-height:66px;padding:10px 12px 10px 17px;border-top:1px solid var(--helper-edge);background:var(--helper-bg)}
.eg-contact-replay{min-height:44px;padding:8px 4px;border:0;border-radius:4px;background:none;color:var(--helper-accent);font:600 12px/1.4 Arial,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.eg-contact-replay:hover{color:#fff}
.eg-contact-disabled{margin-left:auto;min-height:44px;padding:8px 0;border:0;background:none;color:var(--helper-muted);font:12px/1.5 Arial,sans-serif;cursor:default;text-align:right}
.eg-contact-dismiss:focus-visible,.eg-help-launcher:focus-visible,.eg-help-preview-open:focus-visible,.eg-help-preview-dismiss:focus-visible,.eg-contact-replay:focus-visible,[data-reveal-redactions]:focus-visible,[data-encounter-replay]:focus-visible{outline:3px solid #fff;outline-offset:3px}
.eg-help-preview-open:focus-visible,.eg-help-preview-dismiss:focus-visible,.eg-contact-replay:focus-visible,.eg-contact-dismiss:focus-visible{outline-offset:-4px}
.eg-disturbance{position:fixed;inset:0;z-index:41;display:grid;place-items:center;background:#0009;overflow:hidden;pointer-events:none;opacity:1;transition:opacity .35s ease-out}
.eg-disturbance img{width:87vw;height:91dvh;object-fit:contain;filter:grayscale(1) brightness(.8) contrast(1.12);display:block}
.eg-disturbance[data-tone="ash"] img{filter:grayscale(1) brightness(1.35) contrast(1.08)}
/* The authored current helper stays legible above its accompanying art. */
.eg-help-launcher,.eg-help-preview,.eg-contact{z-index:42}
/* Two brief image-only misregistrations; neither the scrim nor page moves. */
.eg-disturbance.eg-art-motion img{animation:eg-art-dislocation 2.5s steps(1,end) both}
@keyframes eg-art-dislocation{0%,27%,33%,68%,73%,100%{transform:translate(0,0)}28%,32%{transform:translate(1px,-1px)}69%,72%{transform:translate(-2px,1px)}}
.eg-disturbance[data-art-id="C004-A02"] img{width:100vw;height:100dvh;object-position:50% 50%}
.eg-disturbance-departing{opacity:0}
.eg-contact-episode-controls{display:flex;justify-content:space-between;gap:12px;margin:7px 0 9px;border-top:1px solid var(--helper-edge);padding-top:8px}
.eg-contact-episode-controls:first-of-type{border-top:0;padding-top:0;margin-top:0}
.eg-contact-episode-replay,.eg-contact-art{min-height:32px;padding:4px 0;border:0;background:none;color:var(--helper-accent);font:600 11px/1.4 Arial,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.eg-contact-episode-replay:hover,.eg-contact-art:hover{color:#fff}
.eg-contact-episode-replay:focus-visible,.eg-contact-art:focus-visible,.eg-drawing-close:focus-visible{outline:2px solid currentColor;outline-offset:3px}
[data-reveal-redactions][hidden]{display:none!important}
@media(max-width:600px){.eg-contact{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));width:min(356px,calc(100vw - 28px));max-height:min(420px,calc(100dvh - 28px))}.eg-help-launcher{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));padding:12px 15px}.eg-help-preview{right:max(14px,env(safe-area-inset-right));bottom:max(80px,calc(80px + env(safe-area-inset-bottom)));width:min(332px,calc(100vw - 28px))}.eg-contact-lines{padding:17px 14px}.eg-contact-line{font-size:15px!important}.eg-contact-controls{padding-left:14px}.eg-disturbance img{width:96vw;height:88dvh;object-position:50% 48%}}
@media(max-height:420px){.eg-contact-lines{min-height:60px}.eg-contact-head{min-height:52px}.eg-contact-controls{min-height:54px}}
@media(prefers-reduced-motion:reduce){.eg-disturbance,.eg-disturbance img,.eg-contact,.eg-redaction,.eg-redaction-revealed{animation:none!important;transition:none!important}.eg-disturbance-departing{opacity:1}}
@media(forced-colors:active){.eg-help-launcher,.eg-contact,.eg-help-preview,.eg-contact-line{border:1px solid ButtonText}.eg-help-unread{border:1px solid ButtonText}.eg-chat-icon:after{background:Canvas}.eg-contact-exact{position:static;width:auto;height:auto;margin:0;clip-path:none;white-space:normal}.eg-contact-corrupted{display:none}.eg-help-preview-open:focus-visible,.eg-contact-dismiss:focus-visible,.eg-help-launcher:focus-visible,.eg-help-preview-dismiss:focus-visible,.eg-contact-replay:focus-visible{outline-color:Highlight}}
@media print{.eg-helper,.eg-disturbance,[data-encounter-replay]{display:none!important}.eg-redaction{color:inherit!important;background:none}body.eg-has-helper{padding-bottom:0}}

/* Neutral links for already received exchanges; no private destination appears on a public surface. */
.eg-contact-suggestion{display:inline-block;margin:5px 0 5px 12px;color:var(--helper-accent);font:inherit;text-decoration:underline;text-underline-offset:3px}.eg-contact-suggestion:focus-visible{outline:2px solid currentColor;outline-offset:4px}.eg-contact-suggestion[hidden]{display:none}
