/* ── Categories settings ───────────────────────────────────── */
#view-categories .cat-settings-body {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.cat-settings-toolbar {
  flex-shrink: 0;
  padding: 12px 16px 10px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.cat-settings-toolbar .cat-create-type-pin {
  margin: 0;
}

.cat-settings-scroll {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 12px 16px 8px;
}

.cat-settings-footer {
  flex-shrink: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.cat-settings-footer .btn {
  width: 100%;
}

#view-categories .ws-list-activate > .cat-lock {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 10px;
  padding-right: 4px;
}

#view-categories .ws-list-activate > .cat-lock svg {
  width: 16px;
  height: 16px;
}

#view-categories .cat-list-item .tx-icon.colored-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 13px;
}

.ws-context-menu-item--toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ws-context-menu-item--toggle .switch {
  pointer-events: none;
}

.cat-sheet-locked-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 0;
}

.cat-sheet-locked-field[hidden] {
  display: none !important;
}

.cat-sheet-locked-field .lbl {
  font-size: 14px;
  color: var(--text-2);
}
