.bookmark-history-wrap{position:relative;display:flex;flex:1;min-height:0;min-width:0}.bookmark-history-wrap>.conversation-body{width:100%}
.bookmark-counter{position:absolute;z-index:5;right:0;top:38px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:48px;min-height:58px;padding:7px 5px;border:1px solid #a3a596;border-right:0;border-radius:7px 0 0 13px;background:#f2ecdf;color:#2c6251;box-shadow:-2px 3px 8px #18221d24;font-family:inherit;font-weight:700;font-size:12px;line-height:1.2;cursor:pointer}.bookmark-counter svg{width:27px;height:27px}.bookmark-counter:hover{background:#faf5e9}
.bookmark-panel{position:fixed;box-sizing:border-box;margin:0;inset:auto;max-width:calc(100vw - 20px);padding:8px;border:1px solid #a3a596;border-radius:10px 3px 3px 14px;background:#f2ecdf;color:#222922;box-shadow:-4px 7px 24px #18221d45;font-family:inherit;overflow:auto;overscroll-behavior:contain}.bookmark-panel::backdrop{background:#18221d0b}.bookmark-panel[open]{animation:bookmark-open 160ms ease-out}.bookmark-heading{display:flex;align-items:center;gap:6px;padding:0 0 5px 6px;color:#2c6251}.bookmark-heading>svg{width:27px;height:27px;flex-shrink:0}.bookmark-heading strong{font-size:14px;flex:1}.bookmark-panel button{font:inherit;cursor:pointer;color:inherit;background:transparent;border:0;border-radius:6px;box-shadow:none}.bookmark-panel .bookmark-close,.bookmark-panel .bookmark-remove{width:44px;min-width:44px;height:44px;padding:0;font-size:22px;line-height:1}.bookmark-previews{list-style:none;margin:0;padding:0}.bookmark-previews>li{display:flex;align-items:center;gap:1px;border-top:1px solid #2c62512e}.bookmark-panel .bookmark-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1;min-width:0;min-height:48px;padding:12px 8px;line-height:1.4;text-align:left;overflow-wrap:anywhere;font-size:14px}.bookmark-panel button:hover{background:#2c625110}.bookmark-panel button:focus-visible,.bookmark-counter:focus-visible{outline:2px solid #2c6251;outline-offset:1px}.bookmark-panel button:disabled{opacity:.5}.bookmark-note{font-size:13px;line-height:1.5;padding:8px}.bookmark-panel .bookmark-retry{min-height:44px;padding:8px 14px}.bookmark-action{display:flex;align-items:center;gap:9px;min-height:48px}.bookmark-action>svg{width:24px;height:24px;flex-shrink:0}.pencil-animating{position:relative}.pencil-underline{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;animation:bookmark-fade 1.2s linear forwards}.pencil-underline path{fill:none;stroke:#8a682f;stroke-width:1.4;stroke-linecap:round;stroke-dasharray:1;animation:bookmark-stroke .58s linear both}
@keyframes bookmark-open{from{opacity:0;transform:translateX(8px)}to{opacity:1;transform:none}}@keyframes bookmark-stroke{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes bookmark-fade{0%,76%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.bookmark-panel[open],.pencil-underline,.pencil-underline path{animation:none}}
