/* Quick navigation (Cmd+K / Ctrl+K). Fixed colours, so it reads the same over every chapter and page. */
.kp{width:min(560px,calc(100vw - 32px));max-height:min(520px,calc(100vh - 96px));margin:12vh auto auto;padding:0;border:1px solid rgba(11,11,13,.14);border-radius:20px;background:#f3f2ed;color:#0b0b0d;font:15px/1.4 Inter,system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;box-shadow:0 40px 90px -30px rgba(0,0,0,.55);overflow:hidden}
.kp[open]{display:flex;flex-direction:column}
.kp::backdrop{background:rgba(5,6,10,.5)}
.kp-input{appearance:none;width:100%;padding:18px 22px;border:0;border-bottom:1px solid rgba(11,11,13,.12);border-radius:0;background:transparent;color:inherit;font:inherit;font-size:17px;outline:none}
.kp-input::placeholder{color:rgba(11,11,13,.56)}
.kp-input:focus-visible{outline:none;box-shadow:inset 0 -2px 0 #1c3cff}
.kp-list{flex:1;min-height:0;margin:0;padding:8px;list-style:none;overflow-y:auto}
.kp-group{padding:10px 14px 6px;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:rgba(11,11,13,.62)}
.kp-item{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px;padding:8px 14px;border-radius:12px;cursor:pointer}
.kp-item small{font-size:12px;color:rgba(11,11,13,.62);white-space:nowrap}
.kp-item[aria-selected="true"]{background:#1c3cff;color:#fff}
.kp-item[aria-selected="true"] small{color:rgba(255,255,255,.86)}
.kp-empty{padding:18px 14px;color:rgba(11,11,13,.66)}
.kp-hint{margin:0;padding:10px 22px;border-top:1px solid rgba(11,11,13,.12);font-size:12px;color:rgba(11,11,13,.66)}
@media(forced-colors:active){.kp-item[aria-selected="true"]{outline:2px solid Highlight}}
