#ed-bar { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 2147483000; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; max-width: calc(100vw - 32px); font-family: "Public Sans", "Helvetica Neue", Arial, sans-serif; }
#ed-bar button { font: inherit; font-weight: 800; font-size: 14px; padding: 11px 18px; border: 0; border-radius: 999px; background: #2E2159; color: #FFFFFF; cursor: pointer; box-shadow: 0 6px 18px rgba(46, 33, 89, .3); }
#ed-bar button[aria-pressed="true"] { background: #3C8A62; }
#ed-hint { background: #FFFFFF; color: #2E2159; font-size: 13.5px; padding: 9px 14px; border-radius: 12px; box-shadow: 0 6px 18px rgba(46, 33, 89, .18); max-width: 520px; }
body.ed-on [data-ekey] { outline: 1.5px dashed rgba(107, 63, 196, .45); outline-offset: 3px; border-radius: 4px; cursor: text; }
body.ed-on [data-ekey]:hover { outline-color: #6B3FC4; background: rgba(107, 63, 196, .06); }
body.ed-on [data-ekey]:focus { outline: 2px solid #6B3FC4; background: rgba(107, 63, 196, .08); }
body.ed-on [data-ekey].ed-done { outline-color: rgba(60, 138, 98, .7); }
#ed-toast { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 2147483000; background: #2E2159; color: #FFFFFF; font: 700 14px "Public Sans", Arial, sans-serif; padding: 10px 16px; border-radius: 12px; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; }
#ed-toast.show { opacity: 1; transform: none; }
#ed-toast.bad { background: #B8333F; }
@media (prefers-reduced-motion: reduce) { #ed-toast { transition: none; } }

*, *::before, *::after { font-style: normal !important; }
[data-ekey].ed-gone { display: none !important; }
body.ed-on [data-ekey].ed-gone { display: revert !important; min-width: 120px; min-height: 1.2em; outline-style: dotted !important; }
body.ed-on [data-ekey].ed-gone:empty::before { content: "Deleted · type here to bring it back"; color: #9A93B5; font: 500 13px "Public Sans", Arial, sans-serif; }
body:not(.ed-on) .qcard:has(> p.ed-gone), body:not(.ed-on) .voice:has(> blockquote.ed-gone), body:not(.ed-on) .card:has(> h3.ed-gone):has(> p.ed-gone) { display: none !important; }
