/* find.css — searching the book by its text, not only its headings */
.fd-btn{display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;flex:none;border:1px solid var(--line,#D8E0E6);
  border-radius:50%;background:var(--surface,#fff);color:var(--ink-2,#5A7180);
  cursor:pointer;padding:0}
.fd-btn:hover{border-color:var(--accent,#0E5C73);color:var(--accent,#0E5C73)}
.fd-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.1;
  stroke-linecap:round;stroke-linejoin:round}

.fd-ov{position:fixed;inset:0;z-index:90;display:none;flex-direction:column;
  background:var(--bg,#F3F6F8)}
.fd-ov.on{display:flex}
.fd-top{display:flex;align-items:center;gap:10px;padding:12px 14px;
  border-bottom:1px solid var(--line,#D8E0E6);background:var(--surface,#fff)}
.fd-top input{flex:1;min-width:0;border:1px solid var(--line,#D8E0E6);
  border-radius:10px;padding:10px 12px;font:inherit;font-size:1rem;
  background:var(--bg,#F3F6F8);color:var(--ink,#10212C)}
.fd-top input:focus{outline:2px solid var(--accent,#0E5C73);outline-offset:-1px}
.fd-top button{border:0;background:transparent;color:var(--ink-2,#5A7180);
  font:inherit;font-size:.9rem;font-weight:600;cursor:pointer;flex:none}
.fd-res{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:6px 14px 30px}
.fd-note{color:var(--ink-2,#5A7180);font-size:.86rem;padding:12px 2px}
.sr{display:block;padding:13px 0;border-bottom:1px solid var(--line,#D8E0E6);
  text-decoration:none;color:inherit}
.sr:last-child{border-bottom:0}
.sr b{display:block;font-size:.98rem;line-height:1.35;color:var(--accent-ink,#0C4256)}
.sr .sr-ch{display:block;font-size:.76rem;color:var(--ink-2,#5A7180);margin-top:3px}
.sr .sr-x{display:block;font-size:.88rem;line-height:1.55;margin-top:6px;
  color:var(--ink,#10212C)}
.sr mark{background:var(--hl-y,#FFE9A3);color:inherit;border-radius:2px}
:root[data-mode="dark"] .sr b{color:#7FD0E8}

/* the way from a section of the book to the questions on it */
.qlink{display:flex;align-items:center;gap:9px;margin:14px 0 22px;padding:11px 14px;
  border:1px solid var(--line,#D8E0E6);border-radius:12px;background:var(--surface,#fff);
  text-decoration:none;color:var(--ink,#10212C);
  font-family:var(--ui,"Archivo","Segoe UI",system-ui,sans-serif)}
.qlink:hover{border-color:var(--accent,#0E5C73)}
.qlink svg{width:19px;height:19px;flex:none;fill:none;stroke:var(--accent,#0E5C73);
  stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.qlink b{font-size:.9rem;font-weight:600;flex:1}
.qlink span{font-size:.8rem;color:var(--ink-2,#5A7180);flex:none;font-weight:600}
@media print{.qlink{display:none}}

/* the count of questions where the reader starts: the chapter's contents */
.toc .qn{display:inline-block;margin-left:8px;padding:1px 7px;border-radius:999px;
  font-size:.68rem;font-weight:700;letter-spacing:.01em;white-space:nowrap;
  background:var(--hl-y,#FFE9A3);color:var(--ink,#10212C);
  font-family:var(--ui,"Archivo","Segoe UI",system-ui,sans-serif)}
:root[data-mode="dark"] .toc .qn{background:#2A4A57;color:#CFE8F2}
.qtop{display:flex;align-items:center;gap:9px;margin:2px 0 22px;padding:10px 14px;
  border:1px solid var(--line,#D8E0E6);border-left:3px solid var(--accent,#0E5C73);
  border-radius:12px;background:var(--surface,#fff);
  text-decoration:none;color:var(--ink,#10212C);
  font-family:var(--ui,"Archivo","Segoe UI",system-ui,sans-serif)}
.qtop:hover{border-color:var(--accent,#0E5C73)}
.qtop svg{width:18px;height:18px;flex:none;fill:none;stroke:var(--accent,#0E5C73);
  stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.qtop b{font-size:.88rem;font-weight:600;flex:1}
.qtop span{font-size:.78rem;color:var(--ink-2,#5A7180);flex:none;font-weight:600}
@media print{.qtop{display:none}.toc .qn{display:none}}
