.bc-floating-tools{position:fixed;left:20px;right:auto;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:12px;z-index:9999;pointer-events:none}.bc-tool-launcher{width:52px;height:52px;border-radius:50%;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1E40AF,#3b82f6);box-shadow:0 4px 18px rgb(30 64 175 / .45);transition:transform 0.2s ease,box-shadow 0.2s ease;position:relative;outline:none;z-index:1;order:999;pointer-events:auto}.bc-tool-launcher:hover{transform:scale(1.08);box-shadow:0 6px 24px rgb(30 64 175 / .55)}.bc-tool-launcher:active{transform:scale(.95)}.bc-launcher-icon-open,.bc-launcher-icon-close{position:absolute;display:flex;align-items:center;justify-content:center;transition:opacity 0.22s ease,transform 0.22s ease}.bc-launcher-icon-close{opacity:0;transform:rotate(-90deg) scale(.7)}.bc-launcher-icon-open{opacity:1;transform:rotate(0deg) scale(1)}.bc-floating-tools.is-open .bc-launcher-icon-open{opacity:0;transform:rotate(90deg) scale(.7)}.bc-floating-tools.is-open .bc-launcher-icon-close{opacity:1;transform:rotate(0deg) scale(1)}.bc-floating-tools .bc-tool-btn{width:48px;height:48px;border-radius:50%;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;background:#fff0;box-shadow:none;color:var(--bc-icon,#334155);transition:transform 0.28s cubic-bezier(.34,1.4,.64,1),opacity 0.2s ease,background 0.22s ease,color 0.22s ease,box-shadow 0.22s ease,translate 0.25s cubic-bezier(.34,1.56,.64,1);position:relative;outline:none;opacity:0;pointer-events:none;translate:0 20px}.bc-floating-tools.is-open .bc-tool-btn{opacity:1;pointer-events:auto;translate:0 0}.bc-floating-tools.is-open .bc-tool-btn--highlight{transition-delay:0.05s}.bc-floating-tools.is-open .bc-tool-btn--notes{transition-delay:0.10s}.bc-floating-tools.is-open .bc-tool-btn--search{transition-delay:0.15s}.bc-floating-tools .bc-tool-btn:hover,.bc-floating-tools .bc-tool-btn:focus-visible{color:var(--bc-icon,#334155);background:var(--bc-tint,rgb(0 0 0 / .06));transform:scale(1.12)}.bc-floating-tools .bc-tool-btn:active{color:var(--bc-icon,#334155);transform:scale(.94)}.bc-floating-tools .bc-tool-btn:focus-visible{box-shadow:0 0 0 2px var(--bc-ring,rgb(0 0 0 / .18))}.bc-tool-btn--highlight{--bc-icon:#334155;--bc-hl-ink:#c98a00;--bc-tint:rgba(224, 168, 0, 0.16);--bc-tint-strong:rgba(224, 168, 0, 0.28);--bc-ring:rgba(224, 168, 0, 0.75)}.bc-tool-btn--notes{--bc-icon:#1a6cbf;--bc-tint:rgba(74, 144, 217, 0.16);--bc-tint-strong:rgba(26, 108, 191, 0.22);--bc-ring:rgba(26, 108, 191, 0.7);--bc-fill:#1a6cbf;--bc-glow:rgba(26, 108, 191, 0.35)}.bc-tool-btn--search{--bc-icon:#1a9e54;--bc-tint:rgba(46, 204, 113, 0.16);--bc-tint-strong:rgba(26, 171, 88, 0.22);--bc-ring:rgba(26, 171, 88, 0.7);--bc-fill:#1a9e54;--bc-glow:rgba(26, 171, 88, 0.35)}.bc-floating-tools .bc-tool-btn--notes.active,.bc-floating-tools .bc-tool-btn--search.active,.bc-floating-tools .bc-tool-btn--notes.active:hover,.bc-floating-tools .bc-tool-btn--search.active:hover,.bc-floating-tools .bc-tool-btn--notes.active:focus-visible,.bc-floating-tools .bc-tool-btn--search.active:focus-visible{background:var(--bc-fill);color:#fff;box-shadow:0 4px 14px var(--bc-glow)}.bc-floating-tools .bc-tool-btn--notes.active svg,.bc-floating-tools .bc-tool-btn--search.active svg{stroke:#fff}.bc-floating-tools .bc-tool-btn--highlight.active,.bc-floating-tools .bc-tool-btn--highlight.active:hover,.bc-floating-tools .bc-tool-btn--highlight.active:focus-visible{background:var(--bc-tint-strong);color:var(--bc-icon,#334155);box-shadow:0 0 0 2px var(--bc-ring)}.bc-tool-btn::before{content:attr(data-tooltip);position:absolute;left:calc(100% + 10px);right:auto;top:50%;transform:translateY(-50%);background:rgb(20 20 30 / .88);color:#fff;font-size:12px;white-space:nowrap;padding:5px 10px;border-radius:6px;pointer-events:none;opacity:0;transition:opacity 0.2s ease;font-family:inherit;z-index:1}.bc-tool-btn:hover::before{opacity:1}.bc-tool-btn svg{width:22px;height:22px;display:block;flex-shrink:0;pointer-events:none;overflow:visible}.bc-tool-btn--notes svg,.bc-tool-btn--search svg{fill:none;stroke:var(--bc-icon,#1a6cbf);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.bc-pen .bc-pen-body,.bc-pen .bc-pen-cap{stroke:var(--bc-icon,#334155);stroke-linecap:round;stroke-linejoin:round}.bc-pen .bc-pen-body{fill:var(--bc-icon,#334155);fill-opacity:.1;stroke-width:1.9}.bc-pen .bc-pen-cap{fill:var(--bc-icon,#334155);fill-opacity:.85;stroke:none}.bc-pen .bc-pen-tip{fill:var(--bc-hl-ink,#c98a00);stroke:var(--bc-icon,#334155);stroke-width:1.3}.bc-tool-btn--highlight svg{width:27px;height:27px}.bc-hl-mode{-webkit-touch-callout:none}.bc-hl-brush{position:fixed;left:0;top:0;width:30px;height:30px;transform:translate(-50%,-100%) rotate(-6deg);pointer-events:none;opacity:0;transition:opacity 0.12s ease;z-index:10005;--bc-icon:#334155;filter:drop-shadow(0 3px 6px rgb(0 0 0 / .35))}.bc-hl-brush.visible{opacity:1}.bc-hl-brush svg{display:block;width:100%;height:100%}mark.bc-highlight{background:var(--bc-hl-bg,#ffdf3d);color:inherit;border-radius:3px;padding:0 2px;cursor:pointer;position:relative;-webkit-box-decoration-break:clone;box-decoration-break:clone;-webkit-touch-callout:none;transition:background 0.2s ease,filter 0.15s ease}mark.bc-highlight:hover{filter:var(--bc-hl-hover,brightness(.92) saturate(1.2))}@keyframes bcHlNew{from{opacity:.35}to{opacity:1}}mark.bc-highlight.bc-hl-new{animation:bcHlNew 0.5s ease}.bc-highlight-popover{position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);background:#fff;border:1px solid #e0e0e0;border-radius:10px;box-shadow:0 4px 18px rgb(0 0 0 / .13);padding:7px 9px;display:flex;align-items:center;gap:8px;z-index:10000;white-space:nowrap;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.bc-popover-colors{display:flex;align-items:center;gap:5px}.bc-highlight-popover .bc-popover-color{position:relative;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:#fff0;box-shadow:none;cursor:pointer;-webkit-appearance:none;appearance:none;outline:none;display:block;transition:transform 0.15s ease}.bc-popover-swatch{position:absolute;inset:0;border-radius:50%;background:var(--bc-sw,#ffdf3d);border:2px solid var(--bc-sw-ink,#c98a00);box-shadow:inset 0 0 0 1px rgb(0 0 0 / .08);pointer-events:none}.bc-highlight-popover .bc-popover-color:hover,.bc-highlight-popover .bc-popover-color:focus,.bc-highlight-popover .bc-popover-color:focus-visible{background:#fff0;border:0;box-shadow:none;transform:scale(1.14)}.bc-highlight-popover .bc-popover-color:active{background:#fff0;border:0;box-shadow:none;transform:scale(1.04)}.bc-popover-color.is-current{transform:scale(1.2)}.bc-popover-color.is-current:hover,.bc-popover-color.is-current:focus,.bc-popover-color.is-current:focus-visible{transform:scale(1.26)}.bc-popover-color.is-current:active{transform:scale(1.16)}.bc-popover-sep{width:1px;height:18px;background:#e0e0e0}.bc-highlight-popover button.bc-popover-remove,.bc-highlight-popover button.bc-popover-remove:hover,.bc-highlight-popover button.bc-popover-remove:focus-visible{-webkit-appearance:none;appearance:none;background:#ffe4e4;color:#b32d1e;border:none;font-size:11px;font-weight:600;padding:5px 11px;border-radius:5px;cursor:pointer;transition:background 0.15s,color 0.15s}.bc-highlight-popover button.bc-popover-remove:hover{background:#f8cccc;color:#8f2317}.bc-notes-widget{position:fixed;top:120px;left:80px;width:320px;background:#fff;border-radius:14px;box-shadow:0 8px 32px rgb(0 0 0 / .18),0 2px 8px rgb(0 0 0 / .1);z-index:10001;display:none;flex-direction:column;overflow:hidden;border:1.5px solid #d0e4f7;animation:bcNotesAppear 0.22s cubic-bezier(.4,0,.2,1)}@keyframes bcNotesAppear{from{opacity:0;transform:scale(.92) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}.bc-notes-widget.visible{display:flex}.bc-notes-drag{background:linear-gradient(135deg,#4A90D9,#1a6cbf);padding:10px 14px;display:flex;align-items:center;justify-content:space-between;cursor:grab;user-select:none;border-radius:12px 12px 0 0}.bc-notes-drag:active{cursor:grabbing}.bc-notes-drag-title{display:flex;align-items:center;gap:7px;color:#fff;font-size:13px;font-weight:600}.bc-notes-drag-title svg{width:15px;height:15px;flex-shrink:0}.bc-notes-drag-handle{display:flex;flex-direction:column;gap:3px;opacity:.6;margin-right:4px}.bc-notes-drag-handle span{display:flex;gap:3px}.bc-notes-drag-handle span::before,.bc-notes-drag-handle span::after{content:'';width:4px;height:4px;background:#fff;border-radius:50%;display:block}.bc-notes-close{background:#fff0;border:none;color:#fff;width:22px;height:22px;padding:0;border-radius:0;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:15px;line-height:1;opacity:.8;transition:opacity 0.2s,transform 0.15s;flex-shrink:0}.bc-notes-close:hover{opacity:1;transform:scale(1.12)}.bc-notes-close:active{transform:scale(.94)}.bc-notes-body{padding:12px 14px 8px;flex:1;display:flex;flex-direction:column}.bc-notes-textarea{width:100%;min-height:160px;resize:both;border:1px solid #dde3ea;border-radius:8px;padding:10px 12px;font-size:13.5px;line-height:1.6;color:#333;font-family:inherit;outline:none;transition:border-color 0.2s;box-sizing:border-box}.bc-notes-textarea:focus{border-color:#4A90D9}.bc-notes-footer{display:flex;align-items:center;justify-content:space-between;padding:8px 14px 12px;gap:8px}.bc-notes-save{background:linear-gradient(135deg,#4A90D9,#1a6cbf);color:#fff;border:none;padding:8px 20px;border-radius:8px;cursor:pointer;font-size:13px;font-weight:600;transition:opacity 0.2s,transform 0.15s}.bc-notes-save:hover{opacity:.9;transform:translateY(-1px)}.bc-notes-save:active{transform:translateY(0)}.bc-notes-status{font-size:11px;color:#888;flex:1;text-align:right}.bc-notes-status.saved{color:#2ecc71}.bc-notes-status.saving{color:#f39c12}.bc-search-bar{position:fixed;top:-70px;left:50%;transform:translateX(-50%);width:min(600px, 90vw);background:#fff;border-radius:50px;box-shadow:0 8px 30px rgb(0 0 0 / .18);display:flex;align-items:center;padding:6px 6px 6px 20px;gap:8px;z-index:10002;transition:top 0.32s cubic-bezier(.4,0,.2,1);border:2px solid #2ecc71}.bc-search-bar.open{top:20px}.bc-search-bar input#bcSearchInput{flex:1 1 0!important;min-width:0!important;width:auto!important;height:36px!important;margin:0!important;padding:0 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;font-size:15px;color:#222;box-sizing:border-box!important;text-overflow:ellipsis}.bc-search-bar input::placeholder{color:#aaa}.bc-search-nav{display:flex;align-items:center;gap:4px;color:#888;font-size:13px;white-space:nowrap}.bc-search-nav button,.bc-search-nav button:hover,.bc-search-nav button:focus-visible{background:rgb(46 204 113 / .12);border:none;width:30px;height:30px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#1aab58;font-size:16px;-webkit-appearance:none;appearance:none;transition:background 0.2s}.bc-search-nav button:hover{background:rgb(46 204 113 / .25)}.bc-search-nav button,.bc-search-nav button:hover,.bc-search-nav button:focus-visible,.bc-search-close{padding:0!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;flex-shrink:0;line-height:1}cursor:pointer;display:flex;align-items:center;justify-content:center;color:#555;font-size:18px;transition:background 0.2s;flex-shrink:0}.bc-search-close:hover{background:#e0e0e0}mark.bc-search-match{background:rgb(46 204 113 / .35);color:inherit;border-radius:2px;padding:0 1px}mark.bc-search-match.current{background:#2ecc71;color:#fff}@media (max-width:768px){.bc-floating-tools{left:auto;right:16px;bottom:170px;top:auto;transform:none}.bc-tool-btn{width:44px;height:44px}.bc-tool-launcher{width:48px;height:48px}.bc-tool-btn::before{display:none}.bc-tool-btn svg{width:24px;height:24px}.bc-tool-btn--highlight svg{width:29px;height:29px}.bc-hl-brush{width:34px;height:34px}.bc-highlight-popover{max-width:calc(100vw - 24px);flex-wrap:wrap;justify-content:center;row-gap:6px}.bc-notes-widget{width:calc(100vw - 24px);left:12px!important;top:60px!important}.bc-search-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;column-gap:6px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);padding:6px 8px 6px 16px;box-sizing:border-box;border-radius:999px}.bc-search-bar>svg{display:none}.bc-search-bar input#bcSearchInput{grid-column:1;width:100%!important;font-size:16px}.bc-search-nav{grid-column:2;display:flex;align-items:center;gap:2px;flex-shrink:0}.bc-search-nav button{width:30px;height:30px;font-size:15px}#bcSearchCount{min-width:32px;text-align:center;font-size:12px}.bc-search-close{grid-column:3;width:32px;height:32px;font-size:16px}}html[data-theme="dark"] .bc-highlight-popover,html.wp-dark-mode-active .bc-highlight-popover{background:var(--dm-bg-card);border-color:var(--dm-border)}html[data-theme="dark"] .bc-notes-widget,html.wp-dark-mode-active .bc-notes-widget{background:var(--dm-bg-card);border-color:var(--dm-border)}html[data-theme="dark"] .bc-notes-textarea,html.wp-dark-mode-active .bc-notes-textarea{background:var(--dm-bg-input);border-color:var(--dm-border);color:var(--dm-txt-main)}html[data-theme="dark"] .bc-notes-textarea:focus,html.wp-dark-mode-active .bc-notes-textarea:focus{border-color:var(--dm-blue)}html[data-theme="dark"] .bc-notes-status,html.wp-dark-mode-active .bc-notes-status{color:var(--dm-txt-faint)}html[data-theme="dark"] .bc-search-bar,html.wp-dark-mode-active .bc-search-bar{background:var(--dm-bg-card)}html[data-theme="dark"] .bc-search-bar input,html.wp-dark-mode-active .bc-search-bar input{color:var(--dm-txt-main)}html[data-theme="dark"] .bc-search-bar input::placeholder,html.wp-dark-mode-active .bc-search-bar input::placeholder{color:var(--dm-txt-faint)}html[data-theme="dark"] .bc-search-nav,html.wp-dark-mode-active .bc-search-nav{color:var(--dm-txt-faint)}html[data-theme="dark"] .bc-search-close,html.wp-dark-mode-active .bc-search-close{background:var(--dm-bg-input);color:var(--dm-txt-muted)}html[data-theme="dark"] .bc-search-close:hover,html.wp-dark-mode-active .bc-search-close:hover{background:var(--dm-bg-accent);color:var(--dm-txt-main)}html[data-theme="dark"] mark.bc-highlight,html.wp-dark-mode-active mark.bc-highlight{background:var(--bc-hl-bg-d,#5f4a00);--bc-hl-hover:brightness(1.3) saturate(1.25)}html[data-theme="dark"] .bc-tool-btn--highlight,html[data-theme="dark"] .bc-tool-btn--notes,html[data-theme="dark"] .bc-tool-btn--search,html.wp-dark-mode-active .bc-tool-btn--highlight,html.wp-dark-mode-active .bc-tool-btn--notes,html.wp-dark-mode-active .bc-tool-btn--search{--bc-icon:var(--dm-txt-main)}html[data-theme="dark"] .bc-tool-btn--highlight,html.wp-dark-mode-active .bc-tool-btn--highlight{--bc-tint:rgba(250, 204, 21, 0.16);--bc-tint-strong:rgba(250, 204, 21, 0.26);--bc-ring:rgba(250, 204, 21, 0.8)}html[data-theme="dark"] .bc-tool-btn--notes,html.wp-dark-mode-active .bc-tool-btn--notes{--bc-tint:rgba(96, 165, 250, 0.18);--bc-tint-strong:rgba(96, 165, 250, 0.28);--bc-ring:rgba(96, 165, 250, 0.8);--bc-fill:#2563eb;--bc-glow:rgba(37, 99, 235, 0.45)}html[data-theme="dark"] .bc-tool-btn--search,html.wp-dark-mode-active .bc-tool-btn--search{--bc-tint:rgba(52, 211, 153, 0.18);--bc-tint-strong:rgba(52, 211, 153, 0.28);--bc-ring:rgba(52, 211, 153, 0.8);--bc-fill:#16a34a;--bc-glow:rgba(22, 163, 74, 0.45)}html[data-theme="dark"] .bc-pen .bc-pen-tip,html.wp-dark-mode-active .bc-pen .bc-pen-tip{fill:var(--bc-hl-ink-d,#fbbf24)}html[data-theme="dark"] .bc-hl-brush,html.wp-dark-mode-active .bc-hl-brush{--bc-icon:#e2e8f0}html[data-theme="dark"] .bc-popover-sep,html.wp-dark-mode-active .bc-popover-sep{background:var(--dm-border)}html[data-theme="dark"] .bc-popover-swatch,html.wp-dark-mode-active .bc-popover-swatch{background:var(--bc-sw-d);border-color:var(--bc-sw-ink-d)}html[data-theme="dark"] .bc-highlight-popover button.bc-popover-remove,html[data-theme="dark"] .bc-highlight-popover button.bc-popover-remove:hover,html[data-theme="dark"] .bc-highlight-popover button.bc-popover-remove:focus-visible,html.wp-dark-mode-active .bc-highlight-popover button.bc-popover-remove,html.wp-dark-mode-active .bc-highlight-popover button.bc-popover-remove:hover,html.wp-dark-mode-active .bc-highlight-popover button.bc-popover-remove:focus-visible{background:#fff0;box-shadow:none;color:#fca5a5}html[data-theme="dark"] .bc-highlight-popover button.bc-popover-remove:hover,html.wp-dark-mode-active .bc-highlight-popover button.bc-popover-remove:hover{color:#fecaca}