
  /* ===== Globalne wyszukiwanie narzędzi i funkcji ===== */
  .pdfowo-search {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(620px, calc(100% - 180px));
    max-width: 620px;
    min-width: 180px;
    z-index: 20;
  }
  .pdfowo-searchbox {
    position: relative;
    display: flex;
    align-items: center;
    height: 42px;
    box-sizing: border-box;
    border: 1px solid #3b3f47;
    border-radius: 12px;
    background: #1d2025;
    color: #e8eaed;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  }
  .pdfowo-searchbox:focus-within {
    border-color: #626771;
    background: #202328;
    box-shadow: 0 0 0 3px rgba(255,255,255,.045), 0 10px 24px rgba(0,0,0,.18);
  }
  .pdfowo-search-icon {
    width: 19px;
    height: 19px;
    margin-left: 13px;
    flex: 0 0 19px;
    color: #969ba4;
  }
  .pdfowo-searchbox input {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #eceef1 !important;
    box-shadow: none !important;
    padding: 0 10px;
    font: 500 .92rem/1 IBM Plex Sans, system-ui, sans-serif;
  }
  .pdfowo-searchbox input::placeholder { color: #777c85 !important; opacity: 1; }
  .pdfowo-searchbox input::-webkit-search-cancel-button { filter: grayscale(1); opacity: .65; }
  .pdfowo-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 9px);
    overflow: hidden;
    padding: 7px;
    border: 1px solid #3d4149;
    border-radius: 14px;
    background: rgba(29,32,37,.98);
    box-shadow: 0 22px 46px rgba(0,0,0,.36);
    backdrop-filter: blur(14px);
  }
  .pdfowo-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: transparent;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
  }
  .pdfowo-search-result:hover,
  .pdfowo-search-result:focus-visible {
    background: rgba(255,255,255,.055);
    transform: translateX(2px);
    outline: none;
  }
  .pdfowo-search-result-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border: 1px solid #3f434b;
    border-radius: 9px;
    background: #25282d;
    color: #d7d9dd;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: -.01em;
  }
  .pdfowo-search-result-main { min-width: 0; }
  .pdfowo-search-result-title {
    display: block;
    color: #eceef1;
    font: 650 .92rem/1.2 Manrope, system-ui, sans-serif;
  }
  .pdfowo-search-result-desc {
    display: block;
    margin-top: 4px;
    color: #9da2aa;
    font: 400 .8rem/1.35 IBM Plex Sans, system-ui, sans-serif;
  }
  .pdfowo-search-empty {
    padding: 14px 13px;
    color: #969ba4;
    font-size: .84rem;
    line-height: 1.45;
  }
  body.light-theme .pdfowo-searchbox {
    background: #fff;
    border-color: #d2d5db;
    color: #24262a;
  }
  body.light-theme .pdfowo-searchbox:focus-within {
    background: #fff;
    border-color: #aeb2b8;
    box-shadow: 0 0 0 3px rgba(0,0,0,.045), 0 10px 24px rgba(0,0,0,.08);
  }
  body.light-theme .pdfowo-searchbox input { color: #24262a !important; }
  body.light-theme .pdfowo-search-results {
    border-color: #d4d7dc; background: rgba(255,255,255,.98); box-shadow: 0 22px 46px rgba(0,0,0,.12);
  }
  body.light-theme .pdfowo-search-result:hover,
  body.light-theme .pdfowo-search-result:focus-visible { background: #f3f4f6; }
  body.light-theme .pdfowo-search-result-icon {
    border-color: #d9dbe0; background: #f5f6f7; color: #34363a;
  }
  body.light-theme .pdfowo-search-result-title { color: #292b2f; }
  body.light-theme .pdfowo-search-result-desc,
  body.light-theme .pdfowo-search-empty { color: #6f737b; }
  @media (max-width: 760px) {
    .pdfowo-search { width: min(620px, calc(100% - 150px)); }
  }
  @media (max-width: 560px) {
    .pdfowo-search { width: calc(100% - 96px); min-width: 0; }
    .pdfowo-searchbox { height: 40px; }
    .pdfowo-searchbox input { font-size: .86rem; padding-right: 7px; }
    .pdfowo-search-icon { margin-left: 11px; }
  }
