/* V3.0.105 - compact, searchable category navigation. No content/PDF changes. */
.sidebar .nav-tool-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  height: 43px;
  margin: 0 0 11px;
  border: 1px solid #dce6f4;
  border-radius: 11px;
  background: #f7f9fe;
  color: #7083a1;
}
.sidebar .nav-tool-search:focus-within { border-color: #7798dd; background: #fff; box-shadow: 0 0 0 3px rgba(33,88,232,.09); }
.sidebar .nav-tool-search > svg { position: absolute; left: 12px; width: 18px; height: 18px; pointer-events: none; }
.sidebar .nav-tool-search input[type="search"] {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  padding: 0 12px 0 38px;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: #263b59;
  font: 600 13px/1.5 var(--font-ui);
  appearance: none;
}
.sidebar .nav-tool-search input[type="search"]::placeholder { color: #7c8aa1; font-weight: 500; }
.sidebar .nav-tool-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.sidebar .tool-navigation { gap: 0; padding-top: 0; }
.sidebar .nav-home-link { min-height: 39px; margin-bottom: 7px; font-size: 13px; }
.sidebar .nav-section-heading {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0;
  padding: 10px 11px 7px;
  color: #8190a7;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.sidebar .nav-section-heading > span { margin-left: auto; letter-spacing: 0; font-size: 10px; }
.sidebar .nav-section-heading svg { width: 14px; height: 14px; flex: 0 0 14px; }
.sidebar .nav-category-section { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
/* Ana Sayfa / Denetimler ve Denetimler / Oluşturucular arasındaki aynı ayırıcı */
.sidebar .nav-category-section[data-section="denetim"],
.sidebar .nav-category-section + .nav-category-section { margin-top: 12px; padding-top: 9px; border-top: 1px solid #eef1f7; }
.sidebar .nav-category-group { min-width: 0; margin: 0; }
.sidebar .nav-category-group > .nav-tool-group-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 43px;
  padding: 9px 10px;
  border-radius: 10px;
  background: transparent;
  color: #445771;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  transition: background .16s, color .16s;
}
.sidebar .nav-category-group > .nav-tool-group-toggle::before { content: none; }
.sidebar .nav-category-group > .nav-tool-group-toggle:hover { background: #f3f7fe; color: #1d54c9; }
.sidebar .nav-category-group[open] > .nav-tool-group-toggle { background: #edf3ff; color: #2158e8; }
.sidebar .nav-category-group > .nav-tool-group-toggle > svg:first-child { width: 19px; height: 19px; flex: 0 0 19px; }
.sidebar .nav-category-group > .nav-tool-group-toggle > .nav-category-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: inherit;
  color: inherit;
  overflow-wrap: normal;
  word-break: normal;
}
.sidebar .nav-category-group > .nav-tool-group-toggle > .nav-group-count {
  flex: 0 0 auto;
  margin: 0;
  color: #637fa6;
  font-size: 10px;
  font-weight: 750;
}
.sidebar .nav-category-group > .nav-tool-group-toggle > .nav-category-chevron {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin: 0 0 0 1px;
  transition: transform .17s ease;
}
.sidebar .nav-category-group[open] > .nav-tool-group-toggle > .nav-category-chevron { transform: rotate(90deg); }
.sidebar .nav-category-group > .nav-tool-group-items { display: flex; flex-direction: column; gap: 2px; padding: 5px 0 8px 6px; }
.sidebar .nav-category-link {
  min-width: 0;
  min-height: 38px;
  margin-left: 5px;
  padding: 7px 9px;
  gap: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}
.sidebar .nav-category-link > svg { width: 18px; height: 18px; flex: 0 0 18px; }
.sidebar .nav-category-link > span { flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; }
.sidebar .nav-search-panel { min-width: 0; }
.sidebar .nav-search-link { min-height: 42px; gap: 10px; padding: 9px 10px; font-size: 12px; line-height: 1.4; }
.sidebar .nav-search-link svg { width: 18px; height: 18px; flex: 0 0 18px; }
.sidebar .nav-search-empty { margin: 8px 10px; color: #72819a; font-size: 12px; }
.sidebar .nav-search-count { font-weight: 700; }
@media (max-width: 767px) {
  .sidebar .nav-tool-search { height: 45px; margin-bottom: 9px; }
  .sidebar .nav-category-group > .nav-tool-group-toggle { min-height: 46px; }
  .sidebar .nav-category-link { min-height: 42px; padding-block: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar .nav-category-group > .nav-tool-group-toggle > .nav-category-chevron { transition: none; }
}

/* V3.0.113 — The scrollable navigation is identical in mobile and desktop.
   Brand, search, and footer stay in place; scrolling affects only tool links. */
.sidebar .tool-navigation {
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c4d2e6 transparent;
}
.sidebar .tool-navigation::-webkit-scrollbar { width: 6px; }
.sidebar .tool-navigation::-webkit-scrollbar-track { background: transparent; }
.sidebar .tool-navigation::-webkit-scrollbar-thumb {
  background: #c4d2e6;
  border-radius: 999px;
}
.sidebar .tool-navigation::-webkit-scrollbar-thumb:hover { background: #9fb3d0; }
