/* Kinnect highlights (pdf-highlights.js, 2026-11-04) — words highlighted on
   a document's pages, and the list of them (in the PDF view's side, or the
   Specifications page's drawer). The marks on the page are highlighter
   yellow, like the markup Highlighter's; everything else is red + gray. */

/* On a page: yellow boxes over the picture, under its words. */
.kxh-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;mix-blend-mode:multiply}
.kxh-svg rect{fill:#FFD400;fill-opacity:.5}
.kxh-svg rect.is-cur{fill-opacity:.85;stroke:#E0A800;stroke-width:1.5px;vector-effect:non-scaling-stroke}

/* The list. */
.kxh{position:relative;display:flex;flex-direction:column;min-height:0;height:100%;background:var(--k-surface);font-family:var(--k-font);color:var(--k-ink)}
.kxh [hidden]{display:none!important}
.kxh-head{display:flex;align-items:center;gap:8px;padding:12px 10px 4px 16px}
.kxh-title{display:flex;align-items:baseline;gap:8px;flex:1;min-width:0;font-size:14px}
.kxh-title i{align-self:center;color:var(--k-accent);font-size:13px}
.kxh-title b{font-weight:700}
.kxh-n{font:600 11.5px var(--k-mono);color:var(--k-text-3);font-variant-numeric:tabular-nums}
.kxh-sub{padding:0 16px 2px;font-size:11.5px;color:var(--k-text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kxh-bar{display:flex;align-items:center;gap:6px;padding:8px 16px 10px;border-bottom:1px solid var(--k-line)}
.kxh-dd{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 9px;border:1px solid var(--k-line-strong);border-radius:var(--k-r-md);background:var(--k-surface);font:500 12px var(--k-font);color:var(--k-ink);white-space:nowrap;cursor:pointer}
.kxh-dd small{font-size:10.5px;color:var(--k-text-3)}
.kxh-dd i{font-size:9px;color:var(--k-text-3)}
.kxh-dd:hover{border-color:var(--k-gray-400)}
.kxh-copy{display:inline-flex;align-items:center;gap:6px;height:28px;margin-left:auto;padding:0 9px;border:none;border-radius:var(--k-r-md);background:none;font:600 12px var(--k-font);color:var(--k-text-2);white-space:nowrap;cursor:pointer}
.kxh-copy i{font-size:11px;color:var(--k-text-3)}
.kxh-copy:hover:not(:disabled){background:var(--k-fill);color:var(--k-ink)}
.kxh-copy:disabled{opacity:.4;cursor:default}
.kxh-menu{position:absolute;z-index:3;min-width:170px;padding:4px;border-radius:var(--k-r-lg);background:var(--k-surface);box-shadow:var(--k-shadow-lg)}
.kxh-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:32px;padding:0 10px;border:none;border-radius:var(--k-r-md);background:none;font:12.5px var(--k-font);color:var(--k-text);text-align:left;cursor:pointer}
.kxh-menu button:hover,.kxh-menu button:focus-visible{background:var(--k-fill);outline:none}
.kxh-menu button i{font-size:11px;color:var(--k-accent)}
.kxh-list{flex:1;min-height:0;overflow:auto;padding:4px 0 16px}
.kxh-grp{position:sticky;top:0;z-index:1;display:flex;align-items:baseline;gap:8px;padding:10px 16px 5px;background:var(--k-surface);font-size:11.5px;font-weight:700;color:var(--k-ink)}
.kxh-grp span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kxh-grp small{font:600 10.5px var(--k-mono);color:var(--k-text-3)}
.kxh-row{position:relative;display:flex;align-items:flex-start;margin:0 8px}
.kxh-go{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;padding:8px 34px 8px 10px;border:none;border-left:3px solid var(--k-gray-300);border-radius:0 var(--k-r-md) var(--k-r-md) 0;background:none;text-align:left;cursor:pointer}
.kxh-go:hover{background:var(--k-fill);border-left-color:var(--k-accent)}
.kxh-quote{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:12.5px;line-height:1.45;color:var(--k-ink)}
.kxh-meta{font-size:11px;color:var(--k-text-3)}
.kxh-rm{position:absolute;top:6px;right:4px;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:var(--k-r-md);background:none;color:var(--k-text-3);font-size:11px;cursor:pointer;opacity:0}
.kxh-row:hover .kxh-rm,.kxh-rm:focus-visible{opacity:1}
.kxh-rm:hover{background:var(--k-surface);color:var(--k-accent)}
.kxh-none{display:flex;flex-direction:column;align-items:center;gap:6px;padding:40px 24px;text-align:center;font-size:12.5px;color:var(--k-text-2)}
.kxh-none i{margin-bottom:4px;font-size:20px;color:var(--k-gray-300)}
.kxh-none b{color:var(--k-ink)}
.kxh-note{position:absolute;left:16px;right:16px;bottom:12px;padding:7px 12px;border-radius:999px;background:var(--k-ink);color:#FFFFFF;font-size:12px;text-align:center;box-shadow:var(--k-shadow-md)}
@media (pointer:coarse){.kxh-rm{opacity:1}}

/* The Specifications page: the list in a drawer at the right. */
.kxh-drawer{position:fixed;inset:0;z-index:1200;display:flex;justify-content:flex-end}
.kxh-scrim{position:absolute;inset:0;background:rgba(15,15,18,.28)}
.kxh-drawer > .kxh{position:relative;width:min(420px,100%);height:100%;box-shadow:var(--k-shadow-lg);animation:kxh-in .18s ease-out}
@keyframes kxh-in{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.kxh-drawer > .kxh{animation:none}}
